import{w as l,L as n}from"./chunk-EVOBXE3Y-Bmgys8-c.js";import{j as e}from"./jsx-runtime-hUI6LOBV.js";import{I as t}from"./misc-BNcbB3dR.js";import{c as i,a as c}from"./user-BrD2IM_u.js";import{u as a}from"./workshop-config-BNvMPSev.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"66e9b849450b819e11683314a547a341cb57f7d0"};var r=new s.Error().stack;r&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[r]="e815e196-735b-4009-b377-29f23fae643b",s._sentryDebugIdIdentifier="sentry-dbid-e815e196-735b-4009-b377-29f23fae643b")}catch{}})();const g={getSitemapEntries:()=>null};function d(){const{product:{host:s}}=a();return`https://${s}/discord`}function b(){const s=i(),r=c(),o=d();return s?r?"https://discord.com/channels/715220730605731931/1161045224907341972":o:"/login"}function u(){const s=i(),r=c(),o=d();return s?r?e.jsxs("div",{className:"flex items-center justify-center gap-2 text-xl underline",children:[e.jsx(n,{to:"discord://discord.com/channels/715220730605731931/1161045224907341972",children:e.jsx(t,{name:"Discord",size:"2xl"})}),e.jsx(n,{to:"https://discord.com/channels/715220730605731931/1161045224907341972",target:"_blank",rel:"noreferrer noopener",children:"Open Discord"})]}):e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2 text-xl",children:[e.jsxs(n,{to:o,className:"flex items-center gap-2 underline",children:[e.jsx(t,{name:"Discord",size:"2xl"}),"Connect Discord"]})," ",e.jsxs("span",{children:["to get access to the exclusive"," ",e.jsx(n,{to:"/discord",className:"underline",children:"discord channel"}),"."]})]}):e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2 text-xl",children:[e.jsxs(n,{to:"/login",className:"inline-flex items-center gap-2 underline",children:[e.jsx(t,{name:"Discord",size:"2xl"}),"Login"]})," ",e.jsxs("span",{children:["to get access to the exclusive"," ",e.jsx(n,{to:"/discord",className:"underline",children:"discord channel"}),"."]})]})}const j=l(function(){return e.jsxs("div",{className:"container flex h-full max-w-3xl flex-col items-center justify-center gap-4 p-12",children:[e.jsx(u,{}),e.jsxs("p",{children:["The"," ",e.jsx(n,{target:"_blank",rel:"noreferrer noopener",className:"underline",to:"https://kentcdodds.com/discord",children:"Epic Web Community on Discord"})," ","is a great place to hang out with other developers who are working through this workshop. You can ask questions, get help, and solidify what you're learning by helping others."]}),e.jsx("p",{children:e.jsxs("small",{className:"text-sm",children:["If you've not joined the Epic Web Community on Discord yet, you'll be required to go through a short onboarding process first. A friendly bot will explain the process when you"," ",e.jsx(n,{to:"https://kcd.im/discord",target:"_blank",rel:"noreferrer noopener",className:"underline",children:"join"}),"."]})})]})});export{u as D,j as d,g as h,b as u};
//# sourceMappingURL=discord-D1A57oEc.js.map
