You've already forked Atomcms-edit
1 line
22 KiB
JavaScript
Executable File
1 line
22 KiB
JavaScript
Executable File
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95057,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={formatUrl:function(){return o},formatWithValidation:function(){return d},urlObjectKeys:function(){return i}};for(var l in a)Object.defineProperty(t,l,{enumerable:!0,get:a[l]});let n=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function o(e){let{auth:r,hostname:t}=e,a=e.protocol||"",l=e.pathname||"",o=e.hash||"",i=e.query||"",d=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?d=r+e.host:t&&(d=r+(~t.indexOf(":")?`[${t}]`:t),e.port&&(d+=":"+e.port)),i&&"object"==typeof i&&(i=String(n.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||s.test(a))&&!1!==d?(d="//"+(d||""),l&&"/"!==l[0]&&(l="/"+l)):d||(d=""),o&&"#"!==o[0]&&(o="#"+o),c&&"?"!==c[0]&&(c="?"+c),l=l.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${a}${d}${l}${c}${o}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return o(e)}},18581,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return l}});let a=e.r(71645);function l(e,r){let t=(0,a.useRef)(null),l=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=t.current;e&&(t.current=null,e());let r=l.current;r&&(l.current=null,r())}else e&&(t.current=n(e,a)),r&&(l.current=n(r,a))},[e,r])}function n(e,r){if("function"!=typeof e)return e.current=r,()=>{e.current=null};{let t=e(r);return"function"==typeof t?t:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},73668,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return n}});let a=e.r(18967),l=e.r(52817);function n(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let r=(0,a.getLocationOrigin)(),t=new URL(e,r);return t.origin===r&&(0,l.hasBasePath)(t.pathname)}catch(e){return!1}}},84508,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},22016,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={default:function(){return b},useLinkStatus:function(){return v}};for(var l in a)Object.defineProperty(t,l,{enumerable:!0,get:a[l]});let n=e.r(90809),s=e.r(43476),o=n._(e.r(71645)),i=e.r(95057),d=e.r(8372),c=e.r(18581),u=e.r(18967),m=e.r(5550);e.r(33525);let h=e.r(88540),f=e.r(91949),p=e.r(73668),x=e.r(9396);function b(r){var t,a;let l,n,b,[v,j]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),y=(0,o.useRef)(null),{href:N,as:w,children:k,prefetch:C=null,passHref:R,replace:L,shallow:M,scroll:_,onClick:S,onMouseEnter:P,onTouchStart:O,legacyBehavior:B=!1,onNavigate:E,transitionTypes:z,ref:T,unstable_dynamicOnHover:D,...A}=r;l=k,B&&("string"==typeof l||"number"==typeof l)&&(l=(0,s.jsx)("a",{children:l}));let $=o.default.useContext(d.AppRouterContext),U=!1!==C,J=!1!==C?null===(a=C)||"auto"===a?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,I="string"==typeof(t=w||N)?t:(0,i.formatUrl)(t);if(B){if(l?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=o.default.Children.only(l)}let F=B?n&&"object"==typeof n&&n.ref:T,K=o.default.useCallback(e=>(null!==$&&(y.current=(0,f.mountLinkInstance)(e,I,$,J,U,j)),()=>{y.current&&((0,f.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,f.unmountPrefetchableInstance)(e)}),[U,I,$,J,j]),W={ref:(0,c.useMergedRef)(K,F),onClick(r){B||"function"!=typeof S||S(r),B&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(r),!$||r.defaultPrevented||function(r,t,a,l,n,s,i){if("u">typeof window){let d,{nodeName:c}=r.currentTarget;if("A"===c.toUpperCase()&&((d=r.currentTarget.getAttribute("target"))&&"_self"!==d||r.metaKey||r.ctrlKey||r.shiftKey||r.altKey||r.nativeEvent&&2===r.nativeEvent.which)||r.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(t)){l&&(r.preventDefault(),location.replace(t));return}if(r.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);o.default.startTransition(()=>{u(t,l?"replace":"push",!1===n?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,a.current,i)})}}(r,I,y,L,_,E,z)},onMouseEnter(e){B||"function"!=typeof P||P(e),B&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),$&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===D)},onTouchStart:function(e){B||"function"!=typeof O||O(e),B&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),$&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===D)}};return(0,u.isAbsoluteUrl)(I)?W.href=I:B&&!R&&("a"!==n.type||"href"in n.props)||(W.href=(0,m.addBasePath)(I)),b=B?o.default.cloneElement(n,W):(0,s.jsx)("a",{...A,...W,children:l}),(0,s.jsx)(g.Provider,{value:v,children:b})}e.r(84508);let g=(0,o.createContext)(f.IDLE_LINK_STATUS),v=()=>(0,o.useContext)(g);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},88589,e=>{"use strict";var r=e.i(43476),t=e.i(71645),a=e.i(22016);let l=[{href:"/",label:"Home"},{href:"/discord",label:"Discord",external:!0}],n=[{href:"/help-center/rules",label:"Regels"}],s=[{href:"/community/radio",label:"Radio Home"},{href:"/community/radio/rooster",label:"DJ Rooster"},{href:"/community/radio/shouts",label:"Live Berichten"},{href:"/community/radio/dj-aanmelden",label:"DJ worden"},{href:"/community/radio/punten",label:"Radio Punten"}],o=[{code:"nl",flag:"🇳🇱"},{code:"en",flag:"🇬🇧"},{code:"da",flag:"🇩🇰"},{code:"fi",flag:"🇫🇮"},{code:"de",flag:"🇩🇪"},{code:"fr",flag:"🇫🇷"},{code:"tr",flag:"🇹🇷"},{code:"se",flag:"🇸🇪"},{code:"br",flag:"🇧🇷"},{code:"it",flag:"🇮🇹"},{code:"es",flag:"🇪🇸"},{code:"no",flag:"🇳🇴"}];e.s(["default",0,function(){let[e,i]=(0,t.useState)(!1),[d,c]=(0,t.useState)(null),[u,m]=(0,t.useState)(!1),h=e=>{c(d===e?null:e)};return(0,r.jsxs)("nav",{className:"relative shadow-md bg-navbar text-navbar-text",children:[(0,r.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,r.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,r.jsx)("div",{className:"hidden md:flex items-center space-x-1",children:(0,r.jsxs)("div",{className:"hidden md:flex h-16 items-center gap-6",children:[l.map(e=>(0,r.jsx)(a.default,{href:e.href,className:"nav-item border-b-2 border-primary px-3 py-2 text-sm font-semibold tracking-wide uppercase transition-all duration-200 hover:border-b-primary",style:{color:"var(--color-navbar-text)"},children:e.label},e.href)),(0,r.jsxs)("div",{className:"relative h-16 px-3 text-sm font-semibold tracking-wide uppercase transition-all duration-200 ease-in-out border-b-2 border-transparent hover:border-b-primary z-50",children:[(0,r.jsxs)("button",{onClick:()=>h("support"),className:"flex items-center gap-2 h-full",children:["Ondersteuning",(0,r.jsx)("svg",{className:`h-5 w-5 transition-transform duration-200 ${"support"===d?"rotate-180":""}`,style:{color:"#6b7280"},viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),"support"===d&&(0,r.jsx)("div",{className:"absolute left-0 mt-0 top-full overflow-hidden shadow-lg whitespace-nowrap z-50 min-w-[150px] rounded-lg border border-primary bg-white",children:n.map(e=>(0,r.jsx)(a.default,{href:e.href,className:"block px-4 py-2 hover:bg-gray-100 transition-colors",children:e.label},e.href))})]}),(0,r.jsxs)("div",{className:"relative h-16 px-3 text-sm font-semibold tracking-wide uppercase transition-all duration-200 ease-in-out border-b-2 border-transparent hover:border-b-primary z-50",children:[(0,r.jsxs)("button",{onClick:()=>h("radio"),className:"flex items-center gap-2 h-full",children:["Radio",(0,r.jsx)("svg",{className:`h-5 w-5 transition-transform duration-200 ${"radio"===d?"rotate-180":""}`,style:{color:"#6b7280"},viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),"radio"===d&&(0,r.jsx)("div",{className:"absolute left-0 mt-0 top-full overflow-hidden shadow-lg whitespace-nowrap z-50 min-w-[150px] rounded-lg border border-primary bg-white",children:s.map(e=>(0,r.jsx)(a.default,{href:e.href,className:"block px-4 py-2 hover:bg-gray-100 transition-colors",children:e.label},e.href))})]})]})}),(0,r.jsx)("div",{className:"hidden lg:flex items-center",children:(0,r.jsxs)("div",{className:"relative h-16 px-3 text-sm font-semibold tracking-wide uppercase transition-all duration-200 ease-in-out border-b-2 border-transparent hover:border-b-primary z-50",children:[(0,r.jsxs)("button",{onClick:()=>m(!u),className:"flex items-center gap-2 h-full",children:[(0,r.jsx)("span",{className:"w-5 h-4 object-cover rounded-sm",children:"🇩🇪"}),(0,r.jsx)("svg",{className:`h-5 w-5 transition-transform duration-200 ${u?"rotate-180":""}`,style:{color:"#6b7280"},viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),u&&(0,r.jsx)("div",{className:"absolute left-0 mt-0 top-full overflow-hidden shadow-lg whitespace-nowrap z-50 min-w-[50px] -ml-4 rounded-lg border border-primary bg-white",children:o.map(e=>(0,r.jsx)(a.default,{href:`/language/${e.code}`,className:"block px-4 py-2 hover:bg-gray-100 transition-colors text-lg",children:e.flag},e.code))})]})}),(0,r.jsxs)("button",{onClick:()=>i(!e),className:"absolute right-4 top-4 z-10 p-2 rounded-lg transition-all duration-200 hover:bg-gray-100 md:hidden","aria-controls":"mobile-menu","aria-expanded":e,children:[(0,r.jsx)("span",{className:"sr-only",children:"Menu openen"}),e?(0,r.jsx)("svg",{className:"h-7 w-7",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}):(0,r.jsx)("svg",{className:"h-7 w-7",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})]})]})}),e&&(0,r.jsx)("div",{className:"absolute top-full left-0 right-0 z-40 shadow-xl border-t-2 max-h-[80vh] overflow-y-auto md:hidden bg-white border-primary",children:(0,r.jsxs)("div",{className:"py-2",children:[l.map(e=>(0,r.jsx)(a.default,{href:e.href,className:"block px-4 py-3 border-b border-gray-200 hover:bg-gray-50",children:e.label},e.href)),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("button",{onClick:()=>h("mobile-support"),className:"flex items-center justify-between w-full px-4 py-3 text-sm font-semibold uppercase tracking-wide",children:[(0,r.jsx)("span",{children:"Unterstützung"}),(0,r.jsx)("svg",{className:`h-5 w-5 transition-transform duration-200 ${"mobile-support"===d?"rotate-180":""}`,style:{color:"#6b7280"},viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),"mobile-support"===d&&(0,r.jsx)("div",{className:"bg-white rounded-lg border border-primary shadow-dropdown",children:n.map(e=>(0,r.jsx)(a.default,{href:e.href,className:"block px-4 py-2 hover:bg-gray-100",children:e.label},e.href))})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("button",{onClick:()=>h("mobile-radio"),className:"flex items-center justify-between w-full px-4 py-3 text-sm font-semibold uppercase tracking-wide",children:[(0,r.jsx)("span",{children:"Radio"}),(0,r.jsx)("svg",{className:`h-5 w-5 transition-transform duration-200 ${"mobile-radio"===d?"rotate-180":""}`,style:{color:"#6b7280"},viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),"mobile-radio"===d&&(0,r.jsx)("div",{className:"bg-white rounded-lg border border-primary shadow-dropdown",children:s.map(e=>(0,r.jsx)(a.default,{href:e.href,className:"block px-4 py-2 hover:bg-gray-100",children:e.label},e.href))})]}),(0,r.jsx)("div",{className:"w-full flex justify-center mt-4 mb-2",children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("button",{onClick:()=>m(!u),className:"flex items-center gap-2 px-4 py-3 text-sm font-semibold uppercase",children:[(0,r.jsx)("span",{children:"🇳🇱"}),(0,r.jsx)("svg",{className:`h-5 w-5 transition-transform duration-200 ${u?"rotate-180":""}`,style:{color:"#6b7280"},viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),u&&(0,r.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 mt-0 top-full bg-white rounded-lg border border-primary shadow-dropdown z-50 min-w-[50px]",children:o.map(e=>(0,r.jsx)(a.default,{href:`/language/${e.code}`,className:"block px-4 py-2 hover:bg-gray-100 text-lg",children:e.flag},e.code))})]})})]})})]})}])},13642,e=>{"use strict";var r=e.i(43476),t=e.i(22016);let a=[{href:"/about",label:"Over ons"},{href:"/contact",label:"Contact"}],l=[{href:"/help-center/rules",label:"Regels"},{href:"/help-center/faq",label:"FAQ"},{href:"/help-center/contact",label:"Contact support"}],n=[{href:"/privacy",label:"Privacybeleid"},{href:"/terms",label:"Algemene voorwaarden"},{href:"/imprint",label:"Impressum"}];e.s(["default",0,function(){return(0,r.jsx)("footer",{className:"bg-secondary text-white py-8 mt-auto",children:(0,r.jsxs)("div",{className:"max-w-7xl mx-auto px-4",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[(0,r.jsxs)("div",{className:"col-span-1",children:[(0,r.jsx)("h3",{className:"text-xl font-bold text-primary mb-4",children:"Epicnabbo"}),(0,r.jsx)("p",{className:"text-gray-400 text-sm",children:"Een online virtuele wereld waarin je je eigen avatar kunt maken, vrienden kunt maken, kunt chatten, kamers kunt maken en nog veel meer!"})]}),(0,r.jsxs)("div",{className:"col-span-1",children:[(0,r.jsx)("h4",{className:"font-semibold mb-4",children:"Bedrijf"}),(0,r.jsx)("ul",{className:"space-y-2",children:a.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(t.default,{href:e.href,className:"text-gray-400 hover:text-primary transition-colors text-sm",children:e.label})},e.href))})]}),(0,r.jsxs)("div",{className:"col-span-1",children:[(0,r.jsx)("h4",{className:"font-semibold mb-4",children:"Ondersteuning"}),(0,r.jsx)("ul",{className:"space-y-2",children:l.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(t.default,{href:e.href,className:"text-gray-400 hover:text-primary transition-colors text-sm",children:e.label})},e.href))})]}),(0,r.jsxs)("div",{className:"col-span-1",children:[(0,r.jsx)("h4",{className:"font-semibold mb-4",children:"Juridisch"}),(0,r.jsx)("ul",{className:"space-y-2",children:n.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(t.default,{href:e.href,className:"text-gray-400 hover:text-primary transition-colors text-sm",children:e.label})},e.href))})]})]}),(0,r.jsx)("div",{className:"border-t border-gray-700 mt-8 pt-8 text-center text-gray-400 text-sm",children:(0,r.jsxs)("p",{children:["© ",new Date().getFullYear()," Epicnabbo. Alle rechten voorbehouden."]})})]})})}])},58689,e=>{"use strict";var r=e.i(43476),t=e.i(71645),a=e.i(22016),l=e.i(88589),n=e.i(13642),s=e.i(9165);e.s(["default",0,function(){let[e,o]=(0,t.useState)({username:"",email:"",experience:"",motivation:"",availability:"",music_genre:""}),[i,d]=(0,t.useState)(!1),[c,u]=(0,t.useState)(!1),[m,h]=(0,t.useState)(null),f=async r=>{r.preventDefault(),d(!0),h(null);try{let{error:r}=await s.api.post("/radio/dj-application",e);r?h(r):u(!0)}catch{h("Er is een fout opgetreden bij het versturen van je aanmelding")}d(!1)};return c?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{}),(0,r.jsx)("main",{className:"bg-background min-h-screen",children:(0,r.jsx)("div",{className:"max-w-2xl mx-auto p-4 lg:p-6",children:(0,r.jsxs)("div",{className:"bg-surface rounded-lg shadow-card p-8 text-center",children:[(0,r.jsx)("svg",{className:"w-16 h-16 text-accent mx-auto mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,r.jsx)("h1",{className:"text-2xl font-bold text-text-main mb-2",children:"Aanmelding verstuurd!"}),(0,r.jsx)("p",{className:"text-text-muted mb-6",children:"Bedankt voor je aanmelding als radio DJ. We nemen zo snel mogelijk contact met je op."}),(0,r.jsx)(a.default,{href:"/community/radio",className:"inline-block px-6 py-2 rounded-lg bg-primary text-text-main font-semibold hover:bg-primary-hover transition-colors",children:"Terug naar Radio"})]})})}),(0,r.jsx)(n.default,{})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{}),(0,r.jsx)("main",{className:"bg-background min-h-screen",children:(0,r.jsxs)("div",{className:"max-w-2xl mx-auto p-4 lg:p-6",children:[(0,r.jsx)("div",{className:"bg-surface rounded-lg shadow-card p-4 md:p-6 mb-6",children:(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)("div",{className:"w-12 h-12 rounded-full bg-primary flex items-center justify-center",children:(0,r.jsx)("svg",{className:"w-6 h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192L5.636 18.364M12 2.25a9.75 9.75 0 00-9.75 9.75c0 5.385 4.365 9.75 9.75 9.75s9.75-4.365 9.75-9.75S17.385 2.25 12 2.25z"})})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-2xl md:text-3xl font-bold text-text-main",children:"DJ Aanmelden"}),(0,r.jsx)("p",{className:"text-text-muted",children:"Meld je aan als radio DJ bij Epicnabbo"})]})]})}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-3 mb-6",children:[(0,r.jsx)(a.default,{href:"/community/radio",className:"px-4 py-2 rounded-lg bg-surface hover:bg-gray-100 transition-colors text-sm font-semibold text-text-muted",children:"Radio Home"}),(0,r.jsx)(a.default,{href:"/community/radio/rooster",className:"px-4 py-2 rounded-lg bg-surface hover:bg-gray-100 transition-colors text-sm font-semibold text-text-muted",children:"DJ Rooster"}),(0,r.jsx)(a.default,{href:"/community/radio/punten",className:"px-4 py-2 rounded-lg bg-surface hover:bg-gray-100 transition-colors text-sm font-semibold text-text-muted",children:"Radio Punten"})]}),(0,r.jsxs)("div",{className:"bg-surface rounded-lg shadow-card p-6",children:[m&&(0,r.jsx)("div",{className:"bg-danger/10 border border-danger rounded-lg p-4 mb-6",children:(0,r.jsx)("p",{className:"text-danger text-sm",children:m})}),(0,r.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-text-main mb-1",children:"Gebruikersnaam *"}),(0,r.jsx)("input",{type:"text",required:!0,value:e.username,onChange:r=>o({...e,username:r.target.value}),className:"w-full px-3 py-2 rounded-lg border border-input-border bg-background text-text-main text-sm focus:outline-none focus:ring-2 focus:ring-primary",placeholder:"Je gebruikersnaam"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-text-main mb-1",children:"E-mailadres *"}),(0,r.jsx)("input",{type:"email",required:!0,value:e.email,onChange:r=>o({...e,email:r.target.value}),className:"w-full px-3 py-2 rounded-lg border border-input-border bg-background text-text-main text-sm focus:outline-none focus:ring-2 focus:ring-primary",placeholder:"Je e-mailadres"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-text-main mb-1",children:"Ervaring als DJ"}),(0,r.jsx)("textarea",{value:e.experience,onChange:r=>o({...e,experience:r.target.value}),rows:3,className:"w-full px-3 py-2 rounded-lg border border-input-border bg-background text-text-main text-sm focus:outline-none focus:ring-2 focus:ring-primary",placeholder:"Vertel over je DJ ervaring..."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-text-main mb-1",children:"Motivatie *"}),(0,r.jsx)("textarea",{required:!0,value:e.motivation,onChange:r=>o({...e,motivation:r.target.value}),rows:4,className:"w-full px-3 py-2 rounded-lg border border-input-border bg-background text-text-main text-sm focus:outline-none focus:ring-2 focus:ring-primary",placeholder:"Waarom wil je DJ worden bij Epicnabbo?"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-text-main mb-1",children:"Beschikbaarheid *"}),(0,r.jsx)("textarea",{required:!0,value:e.availability,onChange:r=>o({...e,availability:r.target.value}),rows:3,className:"w-full px-3 py-2 rounded-lg border border-input-border bg-background text-text-main text-sm focus:outline-none focus:ring-2 focus:ring-primary",placeholder:"Wanneer ben je beschikbaar? (dagen en tijden)"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-text-main mb-1",children:"Favoriete muziekgenre"}),(0,r.jsx)("input",{type:"text",value:e.music_genre,onChange:r=>o({...e,music_genre:r.target.value}),className:"w-full px-3 py-2 rounded-lg border border-input-border bg-background text-text-main text-sm focus:outline-none focus:ring-2 focus:ring-primary",placeholder:"Bijv. Pop, Dance, R&B..."})]}),(0,r.jsx)("button",{type:"submit",disabled:i,className:"w-full py-3 rounded-lg bg-primary text-text-main font-semibold hover:bg-primary-hover transition-colors disabled:opacity-50",children:i?"Versturen...":"Aanmelding versturen"})]})]})]})}),(0,r.jsx)(n.default,{})]})}])}]); |