From 116b8e45c55e38248d5001c315eebdaa48a72421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa-Fernanda=20V=2E=20L=2E?= <99364311+MariferVL@users.noreply.github.com> Date: Thu, 1 May 2025 01:51:05 -0400 Subject: [PATCH 1/5] Update README.md --- README.md | 132 +++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 77 deletions(-) diff --git a/README.md b/README.md index 3137ff3..f458bd1 100644 --- a/README.md +++ b/README.md @@ -2,32 +2,32 @@ ![PyDay Banner](public/images/banner-og.jpg) -**The official frontend for PyDay Chile** - A community-driven Python conference showcasing Chile's tech talent through talks, workshops, and networking events across multiple cities. +**The official frontend for PyDay Chile** – a community-driven Python conference showcasing Chile’s tech talent through talks, workshops, and networking events across multiple cities. ## ✨ Key Features ### 📍 Multi-City Experience -- Dynamic content routing for different conference locations -- Interactive map showing participating cities -- City-specific schedules and venue information +- Dynamic content routing for different conference locations +- Interactive map showing participating cities +- City-specific schedules and venue details ### 📸 Multimedia Hub -- Responsive image gallery with lazy loading -- Full-screen modal viewer with keyboard navigation -- Organized historical content by year/location -- Embedded video section with responsive players +- Responsive image gallery with lazy loading +- Full-screen modal viewer with keyboard navigation +- Organized historical content by year and location +- Embedded video section with responsive players ### 🚀 Modern Web Practices -- Next.js 13+ App Router implementation -- Optimized WebP image delivery -- Responsive UI with Tailwind CSS -- Accessibility-first components (ARIA labels, keyboard nav) +- Next.js 13+ App Router implementation +- Optimized WebP image delivery +- Responsive UI built with Tailwind CSS +- Accessibility-first components (ARIA labels, keyboard navigation) ### 🎤 Event Features -- Speaker profiles with social links -- Interactive schedule with filtering -- Sponsor showcase with tiered visibility -- Registration form with validation +- Speaker profiles with social links +- Interactive schedule with filtering +- Sponsor showcase with tiered visibility +- Registration form with client-side validation ## 🛠 Tech Stack @@ -64,89 +64,67 @@ pyday-frontend/ └── tailwind.config.js # Custom design system ``` - ## 🖼 Image Optimization -| Feature | Implementation | Benefit | -|------------------------|------------------------------|----------------------------------| -| **Modern Formats** | WebP conversion | 30% smaller than JPEG | -| **Responsive SrcSet** | Next.js Image component | Device-appropriate sizes | -| **Lazy Loading** | Intersection Observer API | Faster initial load | -| **Blur Placeholders** | Dynamic SVG generation | Smooth loading experience | +| Feature | Implementation | Benefit | +|-----------------------|-----------------------------|-------------------------------| +| **Modern Formats** | WebP conversion | 30% smaller than JPEG | +| **Responsive SrcSet** | Next.js Image component | Device-appropriate sizes | +| **Lazy Loading** | Intersection Observer API | Faster initial load | +| **Blur Placeholders** | Dynamic SVG generation | Smooth loading experience | ## ♿ Accessibility Commitment -- WCAG 2.1 AA compliant components -- Semantic HTML structure -- Keyboard-navigable interfaces -- Reduced motion preferences support -- ARIA labels for interactive elements +- WCAG 2.1 AA-compliant components +- Semantic HTML structure +- Keyboard-navigable interfaces +- Reduced-motion preference support +- ARIA labels for interactive elements ## 📌 Core Dependencies -- `next@15.3.1`: React framework for production -- `tailwindcss@4.1`: Utility-first CSS -- `framer-motion@10.16.0`: Smooth animations - +- `next@15.3.1`: React framework for production +- `tailwindcss@4.1`: Utility-first CSS +- `framer-motion@10.16.0`: Smooth animations ## 🚦 Feature Management -Controla la visibilidad de funcionalidades mediante variables de entorno: +Control feature visibility via environment variables: ```env # .env.local -NEXT_PUBLIC_FEATURE_REGISTRATION="false" # Formulario de registro general -NEXT_PUBLIC_FEATURE_SPONSORS="true" # Sección completa de patrocinios -NEXT_PUBLIC_FEATURE_SPONSOR_FORM="false" # Formulario de patrocinio específico -``` - -### Variables Disponibles -| Variable | Descripción | Valores Válidos | -|-----------------------------------|----------------------------------------------|-----------------| -| `NEXT_PUBLIC_FEATURE_REGISTRATION` | Habilita formulario de registro principal | `true`/`false` | -| `NEXT_PUBLIC_FEATURE_SPONSORS` | Muestra sección completa de patrocinios | `true`/`false` | -| `NEXT_PUBLIC_FEATURE_SPONSOR_FORM` | Activa formulario de contacto para patrocinios | `true`/`false` | - -### Flujo de Trabajo Recomendado -1. **Configurar variables** en `.env.local` (usar `true`/`false`) -2. **Reiniciar servidor** después de cambios -3. **Los CTAs alternativos** se mostrarán automáticamente cuando: - - Una funcionalidad está deshabilitada (`false`) - - Existe un link externo configurado en `cityData.js` - -### Para Links Externos -```javascript -// Ejemplo en src/data/cities.js -valparaiso: { - talkProposalLink: "https://..." // URL válida habilita CTA automático -} +NEXT_PUBLIC_FEATURE_REGISTRATION="false" # Main registration form +NEXT_PUBLIC_FEATURE_SPONSORS="true" # Full sponsors section +NEXT_PUBLIC_FEATURE_SPONSOR_FORM="false" # Individual sponsor inquiry form ``` -**Nota:** Los botones alternativos (CTAs) se muestran solo cuando: -- La variable correspondiente está en `false` -- Existe un link configurado en los datos de la ciudad +### Available Variables -**Cambios realizados:** -1. Sección dedicada a gestión de features -2. Tabla clara de variables -3. Explicación del comportamiento automático -4. Ejemplo práctico de configuración -5. Guía visual para no técnicos +| Variable | Description | Valid Values | +|-----------------------------------|--------------------------------------------|---------------| +| `NEXT_PUBLIC_FEATURE_REGISTRATION` | Enables main registration form | `true`/`false` | +| `NEXT_PUBLIC_FEATURE_SPONSORS` | Shows full sponsors section | `true`/`false` | +| `NEXT_PUBLIC_FEATURE_SPONSOR_FORM` | Activates sponsor inquiry form | `true`/`false` | +### Recommended Workflow -**Version final del archivo .env.local:** -```env -# CONFIGURACIÓN DE FUNCIONALIDADES -# Valores permitidos: "true" (activado) | "false" (desactivado) +1. **Set variables** in `.env.local` using `true`/`false`. +2. **Restart the server** after any changes. +3. **Alternate CTAs** automatically display when: + - A feature is disabled (`false`) + - An external link is provided in `cityData.js` -NEXT_PUBLIC_FEATURE_REGISTRATION="false" -NEXT_PUBLIC_FEATURE_SPONSORS="true" -NEXT_PUBLIC_FEATURE_SPONSOR_FORM="false" +### External Link Configuration -# URL BASE DEL SITIO (no modificar en desarrollo) -NEXT_PUBLIC_SITE_URL="http://localhost:3000" +```javascript +// Example in src/data/cities.js +valparaiso: { + talkProposalLink: "https://..." // Valid URL enables automatic CTA +} ``` +> **Note:** Alternate CTAs appear only when the related feature flag is `false` and a link is configured for that city. + ## 🌍 Contributing We welcome community contributions! Please see our [Contribution Guidelines](docs/CONTRIBUTING.md) and review our [Photography Style Guide](docs/guia-fotografia.md) for asset submissions. @@ -155,4 +133,4 @@ We welcome community contributions! Please see our [Contribution Guidelines](doc **License**: Apache 2.0 (See [LICENSE](LICENSE)) **Maintainer**: PyDay Chile Tech Committee -📧 *pyday@pythonchile.cl* \ No newline at end of file +📧 pyday@pythonchile.cl From f577e9e8b1e0d97c09295d16088168d61aa220c6 Mon Sep 17 00:00:00 2001 From: Aldo Caneo Date: Thu, 1 May 2025 13:32:43 -0400 Subject: [PATCH 2/5] remove fake sponsors and update out --- .github/workflows/main.yml | 2 +- next.config.mjs | 3 +- out/404.html | 2 +- out/404/index.html | 2 +- .../UOcYKoFy-EyLydCBl8CuT/_buildManifest.js | 1 - .../UOcYKoFy-EyLydCBl8CuT/_ssgManifest.js | 1 - .../app/[city]/page-18aa020173d21830.js | 1 - .../app/_not-found/page-2bbeefd619e1c8fe.js | 1 - .../chunks/app/layout-ad4e02c864631bb1.js | 1 - .../chunks/app/page-0e13663e685fbac8.js | 1 - .../page-dbd646bc75200e7f.js | 1 - .../app/sitemap.xml/route-0fc6f768afd2532e.js | 1 - .../app/sponsors/page-84d6d9cfc2285691.js | 1 - .../chunks/app/talks/page-c4035a8dc2ba733f.js | 1 - .../static/chunks/main-2afc8c72eb580268.js | 1 - out/_next/static/css/f38bc115aaf126b4.css | 3 -- out/codigo-conducta/index.html | 2 +- out/codigo-conducta/index.txt | 40 +++++++------- out/copiapo/index.html | 2 +- out/copiapo/index.txt | 50 ++++++++--------- out/images/sponsors/psf.webp | Bin 13544 -> 5816 bytes out/index.html | 5 +- out/index.txt | 44 +++++++-------- out/multimedia/index.html | 2 +- out/multimedia/index.txt | 42 ++++++++------- out/previous-editions/index.html | 2 +- out/previous-editions/index.txt | 43 +++++++-------- out/robots.txt | 2 +- out/santiago/index.html | 2 +- out/santiago/index.txt | 50 ++++++++--------- out/sitemap.xml | 22 ++++---- out/sponsors/index.html | 2 +- out/sponsors/index.txt | 44 +++++++-------- out/talks/index.html | 2 +- out/talks/index.txt | 48 +++++++++-------- out/valparaiso/index.html | 2 +- out/valparaiso/index.txt | 51 +++++++++--------- public/images/sponsors/psf.webp | Bin 13544 -> 5816 bytes src/app/_register/page.js | 11 ---- src/app/page.js | 47 ---------------- src/app/sponsors/components/SponsorList.js | 1 + src/app/sponsors/components/SponsorLogo.js | 34 ++++++------ src/data/sponsors.js | 16 +----- 43 files changed, 259 insertions(+), 330 deletions(-) delete mode 100644 out/_next/static/UOcYKoFy-EyLydCBl8CuT/_buildManifest.js delete mode 100644 out/_next/static/UOcYKoFy-EyLydCBl8CuT/_ssgManifest.js delete mode 100644 out/_next/static/chunks/app/[city]/page-18aa020173d21830.js delete mode 100644 out/_next/static/chunks/app/_not-found/page-2bbeefd619e1c8fe.js delete mode 100644 out/_next/static/chunks/app/layout-ad4e02c864631bb1.js delete mode 100644 out/_next/static/chunks/app/page-0e13663e685fbac8.js delete mode 100644 out/_next/static/chunks/app/previous-editions/page-dbd646bc75200e7f.js delete mode 100644 out/_next/static/chunks/app/sitemap.xml/route-0fc6f768afd2532e.js delete mode 100644 out/_next/static/chunks/app/sponsors/page-84d6d9cfc2285691.js delete mode 100644 out/_next/static/chunks/app/talks/page-c4035a8dc2ba733f.js delete mode 100644 out/_next/static/chunks/main-2afc8c72eb580268.js delete mode 100644 out/_next/static/css/f38bc115aaf126b4.css delete mode 100644 src/app/_register/page.js diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab82e52..d3aba39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,6 @@ jobs: password: ${{ secrets.PYDAY_PASS }} port: ${{ secrets.PYDAY_PORT }} script: | - pwd + cd /home/pyday ls -l sh deploy.sh diff --git a/next.config.mjs b/next.config.mjs index 43d866c..fc11db2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: 'export', transpilePackages: ["framer-motion"], trailingSlash: true, images: { @@ -17,7 +18,7 @@ const nextConfig = { formats: ["image/webp"], deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840], minimumCacheTTL: 86400, - unoptimized: false, + unoptimized: true, }, }; diff --git a/out/404.html b/out/404.html index 6431633..cb00f0a 100644 --- a/out/404.html +++ b/out/404.html @@ -1 +1 @@ -404: This page could not be found.PyDay Chile 2025

404

This page could not be found.

\ No newline at end of file +
Cargando...
\ No newline at end of file diff --git a/out/404/index.html b/out/404/index.html index 6431633..cb00f0a 100644 --- a/out/404/index.html +++ b/out/404/index.html @@ -1 +1 @@ -404: This page could not be found.PyDay Chile 2025

404

This page could not be found.

\ No newline at end of file +
Cargando...
\ No newline at end of file diff --git a/out/_next/static/UOcYKoFy-EyLydCBl8CuT/_buildManifest.js b/out/_next/static/UOcYKoFy-EyLydCBl8CuT/_buildManifest.js deleted file mode 100644 index aa213b4..0000000 --- a/out/_next/static/UOcYKoFy-EyLydCBl8CuT/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:10,errorRate:1e-4,numBits:192,numHashes:14,bitArray:[1,1,0,0,e,e,r,r,e,e,e,e,r,e,e,r,e,e,e,e,r,r,r,e,r,r,e,r,e,r,r,r,e,e,r,r,r,e,e,r,e,e,e,e,e,e,e,e,e,e,e,r,r,e,e,e,r,r,e,r,r,e,r,e,e,e,r,r,r,r,r,e,e,e,e,e,r,r,e,r,e,e,r,e,e,r,r,e,e,e,r,r,e,e,r,r,r,e,r,e,e,e,r,r,r,r,e,r,e,r,r,r,r,e,r,e,e,e,e,r,e,r,e,r,e,r,e,r,e,r,r,r,e,e,e,e,e,e,e,e,r,e,r,r,r,r,e,r,r,r,r,e,e,r,e,e,e,e,r,e,e,e,e,r,e,e,r,r,e,r,e,e,r,r,r,e,r,r,e,e,r,r,e,e,r,r,e,r,e,e,e,r]},__routerFilterDynamic:{numItems:r,errorRate:1e-4,numBits:r,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-0b1c084a4d0fd2b1.js"],sortedPages:["/_app","/_error"]}}(1,0,1e-4),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/out/_next/static/UOcYKoFy-EyLydCBl8CuT/_ssgManifest.js b/out/_next/static/UOcYKoFy-EyLydCBl8CuT/_ssgManifest.js deleted file mode 100644 index abca43a..0000000 --- a/out/_next/static/UOcYKoFy-EyLydCBl8CuT/_ssgManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__SSG_MANIFEST=new Set(["\u002F[city]"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/out/_next/static/chunks/app/[city]/page-18aa020173d21830.js b/out/_next/static/chunks/app/[city]/page-18aa020173d21830.js deleted file mode 100644 index eb55e7e..0000000 --- a/out/_next/static/chunks/app/[city]/page-18aa020173d21830.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[982],{3059:(e,s,t)=>{"use strict";t.d(s,{default:()=>a});var r=t(5155),l=t(2115);let a=e=>{let{city:s}=e,[t,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{a(!1)},[s.embedMap]),(0,r.jsxs)("div",{className:"bg-black/20 backdrop-blur rounded-lg overflow-hidden",children:[(0,r.jsxs)("div",{className:"relative aspect-video",children:[(0,r.jsx)("iframe",{className:"absolute inset-0",src:s.embedMap,width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",onLoad:()=>a(!0)},s.embedMap),!t&&(0,r.jsx)("div",{className:"absolute inset-0 bg-gray-800/70 backdrop-blur-sm flex items-center justify-center",children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ml-8 h-12 w-12 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]}),(0,r.jsx)("p",{className:"mt-2 text-sm text-gray-300",children:"Cargando mapa..."})]})})]}),(0,r.jsx)("div",{className:"p-4",children:(0,r.jsxs)("a",{href:s.mapUrl,target:"_blank",rel:"noopener noreferrer",className:"text-green-400 hover:underline flex items-center justify-center space-x-2",children:[(0,r.jsx)("span",{children:"Ver en Google Maps"}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})})]})}},3974:(e,s,t)=>{"use strict";t.d(s,{default:()=>i});var r=t(5155),l=t(6874),a=t.n(l),n=t(1504);function i(e){let{title:s,subtitle:t,buttonText:l,href:i="#contacto",className:o="bg-gradient-to-b from-green-900/40 to-black/60",email:c}=e;return(0,r.jsx)(n.P.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"container-py ".concat(o," backdrop-blur text-center"),children:(0,r.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,r.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:s}),t&&(0,r.jsx)("p",{className:"text-xl mb-8",children:t}),(0,r.jsxs)(a(),{href:c?"mailto:".concat(c,"?subject=Inter\xe9s en patrocinar PyDay Chile 2025"):i,target:c?"_blank":void 0,rel:c?"noopener noreferrer":void 0,className:"btn-primary inline-flex items-center",children:[l,(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 ml-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]})})}},7722:(e,s,t)=>{Promise.resolve().then(t.t.bind(t,6874,23)),Promise.resolve().then(t.t.bind(t,3063,23)),Promise.resolve().then(t.bind(t,3974)),Promise.resolve().then(t.bind(t,8739)),Promise.resolve().then(t.bind(t,9731)),Promise.resolve().then(t.bind(t,3059))},8739:(e,s,t)=>{"use strict";t.d(s,{default:()=>a});var r=t(5155),l=t(1504);function a(e){let{title:s="Preguntas frecuentes",faqs:t,className:a="bg-black/20 backdrop-blur"}=e;return(0,r.jsxs)(l.P.section,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},className:"container-py",children:[(0,r.jsx)("h2",{className:"section-title",children:s}),(0,r.jsx)("div",{className:"max-w-3xl mx-auto mt-8 space-y-6",children:t.map((e,s)=>(0,r.jsxs)(l.P.div,{initial:{scale:.98},whileInView:{scale:1},className:"".concat(a," rounded-lg p-4 md:p-6"),children:[(0,r.jsx)("h3",{className:"text-lg md:text-xl font-bold mb-2",children:e.question}),(0,r.jsx)("p",{className:"opacity-90",children:e.answer})]},s))})]})}},9731:(e,s,t)=>{"use strict";t.d(s,{default:()=>o});var r=t(5155),l=t(1504),a=t(6766),n=t(6874),i=t.n(n);function o(e){let{title:s,subtitle:t,background:n="bg-gradient-to-b from-green-900/40 to-black/60",backButton:o=!1,image:c,motionConfig:d={initial:{opacity:1},animate:{opacity:1}},children:x}=e,m=o||c?l.P.div:l.P.section;return(0,r.jsxs)(m,{...d,className:"relative min-h-[40vh] flex flex-col justify-center items-center text-center mt-8 px-4 backdrop-blur",children:[o&&(0,r.jsx)("div",{className:"absolute top-4 left-4 z-10",children:(0,r.jsxs)(i(),{href:"/",className:"flex items-center space-x-2 bg-black/50 backdrop-blur px-4 py-2 rounded-full text-white hover:bg-black/70 transition",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 19l-7-7m0 0l7-7m-7 7h18"})}),(0,r.jsx)("span",{children:"Volver"})]})}),c&&(0,r.jsxs)("div",{className:"relative h-[50vh] w-full overflow-hidden",children:[(0,r.jsx)(a.default,{src:c.src,alt:c.alt,fill:!0,className:"object-cover",priority:!0}),(0,r.jsxs)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent flex flex-col justify-end p-6 md:p-8",children:[(0,r.jsx)("h1",{className:"text-3xl md:text-5xl font-bold mb-2",children:s}),x]})]}),!c&&(0,r.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,r.jsx)("h1",{className:"text-4xl md:text-6xl font-bold mb-4",children:s}),(0,r.jsx)("p",{className:"text-xl md:text-2xl mb-8 opacity-90",children:t}),x]})]})}}},e=>{var s=s=>e(e.s=s);e.O(0,[63,874,837,441,684,358],()=>s(7722)),_N_E=e.O()}]); \ No newline at end of file diff --git a/out/_next/static/chunks/app/_not-found/page-2bbeefd619e1c8fe.js b/out/_next/static/chunks/app/_not-found/page-2bbeefd619e1c8fe.js deleted file mode 100644 index 8bf5f40..0000000 --- a/out/_next/static/chunks/app/_not-found/page-2bbeefd619e1c8fe.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{3632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let l=r(5155),n=r(6395);function o(){return(0,l.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})}("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),e.exports=t.default)},3868:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return r(3632)}])},6395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}}),r(8229);let l=r(5155);r(2115);let n={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};function o(e){let{status:t,message:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:t+": "+r}),(0,l.jsx)("div",{style:n.error,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,l.jsx)("h1",{className:"next-error-h1",style:n.h1,children:t}),(0,l.jsx)("div",{style:n.desc,children:(0,l.jsx)("h2",{style:n.h2,children:r})})]})})]})}("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),e.exports=t.default)}},e=>{var t=t=>e(e.s=t);e.O(0,[441,684,358],()=>t(3868)),_N_E=e.O()}]); \ No newline at end of file diff --git a/out/_next/static/chunks/app/layout-ad4e02c864631bb1.js b/out/_next/static/chunks/app/layout-ad4e02c864631bb1.js deleted file mode 100644 index 50e0676..0000000 --- a/out/_next/static/chunks/app/layout-ad4e02c864631bb1.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{266:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_d65c78"}},347:()=>{},1469:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var s in t)Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}(t,{default:function(){return a},getImageProps:function(){return i}});let r=s(8229),n=s(8883),l=s(3063),o=r._(s(1193));function i(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let a=l.Image},1944:e=>{e.exports={style:{fontFamily:"'Open Sans', 'Open Sans Fallback'",fontStyle:"normal"},className:"__className_79e997",variable:"__variable_79e997"}},6766:(e,t,s)=>{"use strict";s.d(t,{default:()=>n.a});var r=s(1469),n=s.n(r)},7562:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,6874,23)),Promise.resolve().then(s.t.bind(s,266,23)),Promise.resolve().then(s.t.bind(s,1944,23)),Promise.resolve().then(s.t.bind(s,347,23)),Promise.resolve().then(s.bind(s,8949))},8949:(e,t,s)=>{"use strict";s.d(t,{default:()=>a});var r=s(5155),n=s(6874),l=s.n(n),o=s(2115),i=s(6766);function a(){let[e,t]=(0,o.useState)(!1),s=(0,o.useRef)(null);(0,o.useEffect)(()=>{function r(r){s.current&&!s.current.contains(r.target)&&e&&t(!1)}return e&&(document.addEventListener("mousedown",r),document.addEventListener("touchstart",r)),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e]);let n=()=>{t(!1)};return(0,r.jsx)("header",{className:"sticky top-0 z-50 backdrop-blur-md bg-gradient-to-b from-py-dark/90 to-py-dark/80 border-b border-py-green/30",children:(0,r.jsxs)("div",{className:"container mx-auto px-4 sm:px-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between py-4",children:[(0,r.jsxs)(l(),{href:"/",className:"flex items-center space-x-2",children:[(0,r.jsx)("div",{className:"relative w-10 h-10",children:(0,r.jsx)(i.default,{src:"/images/logo.webp",alt:"PyDay Logo",width:32,height:32,className:"object-contain"})}),(0,r.jsx)("span",{className:"text-py-text font-bold text-xl tracking-tight",children:"PyDay Chile 2025"})]}),(0,r.jsx)("div",{className:"block md:hidden",children:(0,r.jsx)("button",{onClick:()=>t(!e),className:"text-py-text p-2 rounded-md transition-colors","aria-label":e?"Cerrar men\xfa":"Abrir men\xfa",children:e?(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-6 h-6",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}):(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-6 h-6",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})}),(0,r.jsxs)("nav",{className:"hidden md:flex space-x-6 items-center",children:[(0,r.jsx)(l(),{href:"/",className:"text-py-text hover:text-py-yellow transition-colors",children:"Inicio"}),(0,r.jsx)(l(),{href:"/talks",className:"text-py-text hover:text-py-yellow transition-colors",children:"Charlas"}),(0,r.jsx)(l(),{href:"/multimedia",className:"text-py-text hover:text-py-yellow transition-colors",children:"Multimedia"}),(0,r.jsx)(l(),{href:"/previous-editions",className:"text-py-text hover:text-py-yellow transition-colors",children:"Ediciones Anteriores"}),(0,r.jsx)(l(),{href:"/register",className:"px-4 py-2 text-py-text transition-colors rounded-full font-medium hide",children:"Registrarse"})]})]}),e&&(0,r.jsx)("div",{ref:s,className:"md:hidden absolute left-0 right-0 top-full backdrop-blur-lg border-t border-py-green/30 shadow-lg animate-fadeIn",children:(0,r.jsxs)("nav",{className:"flex flex-col py-3",children:[(0,r.jsx)(l(),{href:"/",onClick:n,className:"px-6 py-3 text-py-text transition-colors",children:"Inicio"}),(0,r.jsx)(l(),{href:"/talks",onClick:n,className:"px-6 py-3 text-py-text transition-colors",children:"Charlas"}),(0,r.jsx)(l(),{href:"/multimedia",onClick:n,className:"px-6 py-3 text-py-text transition-colors",children:"Multimedia"}),(0,r.jsx)(l(),{href:"/previous-editions",onClick:n,className:"px-6 py-3 text-py-text transition-colors",children:"Ediciones Anteriores"}),(0,r.jsx)(l(),{href:"/register",onClick:n,className:"mx-6 my-3 px-4 py-2 text-py-text transition-colors rounded-full font-medium text-center",children:"Registrarse"})]})})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[372,63,874,441,684,358],()=>t(7562)),_N_E=e.O()}]); \ No newline at end of file diff --git a/out/_next/static/chunks/app/page-0e13663e685fbac8.js b/out/_next/static/chunks/app/page-0e13663e685fbac8.js deleted file mode 100644 index fedd4a1..0000000 --- a/out/_next/static/chunks/app/page-0e13663e685fbac8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{2597:(e,s,a)=>{"use strict";a.d(s,{default:()=>n});var t=a(5155),r=a(2115),l=a(6874),i=a.n(l);function n(e){let{cities:s}=e,[a,l]=(0,r.useState)(null);return(0,t.jsx)("div",{className:"mx-auto max-w-4xl px-4 py-8",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[(0,t.jsx)("div",{className:"w-full md:w-1/2 lg:w-1/2",children:(0,t.jsx)("div",{className:"aspect-[3/6] sm:aspect-[3/5] lg:aspect-auto lg:h-[450px] w-full bg-white/5 backdrop-blur-sm rounded-lg p-4 relative shadow-lg border border-white/10",children:(0,t.jsx)("svg",{viewBox:"0 0 100 300",className:"w-full h-full","aria-label":"Mapa de Chile con ciudades",children:(0,t.jsxs)("g",{transform:"translate(-10,0) scale(1.2,1)",children:[(0,t.jsx)("path",{d:"M50,20 Q60,50 55,100 Q50,150 60,200 Q70,250 50,280",fill:"none",stroke:"white",strokeWidth:"2",className:"opacity-60"}),s.map(e=>(0,t.jsxs)("g",{onClick:()=>l(e.slug),className:"cursor-pointer",role:"button","aria-pressed":a===e.slug,tabIndex:"0",onKeyDown:s=>{("Enter"===s.key||" "===s.key)&&l(e.slug)},children:[(0,t.jsx)("circle",{cx:e.mapCoords.x,cy:e.mapCoords.y,r:a===e.slug?6:4,fill:a===e.slug?"#FFE141":"#3D8B37",strokeWidth:a===e.slug?2:1,stroke:"#FFFFFF",className:"transition-all duration-300"}),(0,t.jsx)("text",{x:e.mapCoords.x+8,y:e.mapCoords.y+4,fontSize:"8",fill:"white",className:"pointer-events-none font-medium",children:e.name})]},e.slug))]})})})}),(0,t.jsx)("div",{className:"w-full md:w-1/2 lg:w-1/2 flex flex-col justify-center space-y-3",children:s.map(e=>(0,t.jsx)(i(),{href:"/".concat(e.slug),className:"block p-4 rounded-lg transition-all duration-300\n ".concat(a===e.slug?"bg-green-800/80 transform scale-102 border border-green-500/50":"bg-black/30 hover:bg-black/40 border border-white/10"),onMouseEnter:()=>l(e.slug),"aria-current":a===e.slug?"true":"false",children:(0,t.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,t.jsx)("div",{className:"w-3 h-3 rounded-full ".concat(a===e.slug?"bg-yellow-400":"bg-green-500"),"aria-hidden":"true"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-bold text-lg",children:e.name}),(0,t.jsx)("p",{className:"text-sm opacity-90",children:e.date})]})]})},e.slug))})]})})}},5412:(e,s,a)=>{"use strict";a.d(s,{default:()=>l});var t=a(5155),r=a(2115);function l(e){let{targetDate:s}=e,[a,l]=(0,r.useState)({days:0,hours:0,minutes:0,seconds:0});(0,r.useEffect)(()=>{let e=setInterval(()=>{let a=new Date,t=new Date(s)-a;if(t>0){let e=Math.floor(t/864e5),s=Math.floor(t/36e5%24);l({days:e,hours:s,minutes:Math.floor(t/1e3/60%60),seconds:Math.floor(t/1e3%60)})}else clearInterval(e),l({days:0,hours:0,minutes:0,seconds:0})},1e3);return()=>clearInterval(e)},[s]);let i=[{label:"D\xedas",value:a.days},{label:"Horas",value:a.hours},{label:"Minutos",value:a.minutes},{label:"Segundos",value:a.seconds}];return(0,t.jsx)("div",{className:"w-full max-w-3xl mx-auto",children:(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4",children:i.map((e,s)=>(0,t.jsxs)("div",{className:"bg-gradient-to-b from-py-green/30 to-py-dark/60 backdrop-blur-sm p-3 sm:p-4 rounded-lg border border-py-green/30 flex flex-col items-center justify-center",children:[(0,t.jsx)("div",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-py-yellow mb-1",children:String(e.value).padStart(2,"0")}),(0,t.jsx)("div",{className:"text-xs sm:text-sm text-py-text/80",children:e.label})]},s))})})}},5733:(e,s,a)=>{"use strict";a.d(s,{default:()=>c});var t=a(5155),r=a(2115),l=a(1504),i=a(6766);function n(e){let{src:s,alt:a,className:r}=e;return(0,t.jsxs)(l.P.div,{className:r,whileHover:{scale:1.05},transition:{type:"spring",stiffness:300,damping:20},children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[var(--primary-green)]/10 via-[var(--accent-yellow)]/15 to-[var(--primary-green)]/10 rounded-2xl opacity-0 group-hover:opacity-40 transition-opacity duration-300 z-0"}),(0,t.jsx)("div",{className:"relative z-10 p-2",children:(0,t.jsx)(i.default,{src:s,alt:a,width:160,height:80,className:"mx-auto transform-gpu transition-all duration-500 filter drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)] group-hover:scale-105 group-hover:drop-shadow-[0_4px_8px_rgba(0,0,0,0.25)] group-hover:brightness-110",style:{filter:"brightness(115%) contrast(105%)",maxWidth:"100%",height:"auto"}})}),(0,t.jsx)("div",{className:"absolute inset-0 -z-10 opacity-0 group-hover:opacity-20 transition-all duration-300 bg-[radial-gradient(circle_at_center,var(--accent-yellow),transparent_70%)]"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-10 group-hover:opacity-20 transition-opacity duration-500 pointer-events-none rounded-2xl z-0",children:(0,t.jsx)("div",{className:"absolute w-full h-full bg-[url('/noise.png')] mix-blend-overlay opacity-40 rounded-2xl"})})]})}let o=[{_id:1,logo:{asset:{url:"/images/sponsors/psf.webp"}},name:"Python Software Foundation"},{_id:2,logo:{asset:{url:"/images/sponsors/aws.webp"}},name:"Amazon Web Services"},{_id:3,logo:{asset:{url:"/images/sponsors/microsoft.webp"}},name:"Microsoft"},{_id:4,logo:{asset:{url:"/images/sponsors/github.webp"}},name:"Github"}];function c(){let[e,s]=(0,r.useState)([]);return(0,r.useEffect)(()=>{s(o)},[]),(0,t.jsxs)(l.P.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"container-py relative hide",children:[(0,t.jsx)("h2",{className:"section-title",children:"Patrocinadores 2025"}),(0,t.jsxs)("div",{className:"max-w-6xl mx-auto bg-gradient-to-br from-[var(--primary-green)]/15 via-[var(--accent-yellow)]/10 to-[var(--outline-red)]/15 backdrop-blur-md rounded-3xl border border-[var(--primary-green)]/30 shadow-[0_0_80px_-15px_rgba(61,139,55,0.35)] transform-gpu hover:shadow-[0_0_100px_-20px_rgba(61,139,55,0.45)] transition-shadow duration-500",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_30%,rgba(255,225,65,0.15),transparent_70%)] pointer-events-none rounded-3xl z-0"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_70%_70%,rgba(61,139,55,0.15),transparent_70%)] pointer-events-none rounded-3xl z-0"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_20%_80%,rgba(242,57,57,0.08),transparent_60%)] pointer-events-none rounded-3xl z-0"}),(0,t.jsx)("div",{className:"relative z-10 p-8 md:p-10 grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8 lg:gap-10",children:e.map(e=>(0,t.jsx)(n,{src:e.logo.asset.url,alt:e.name,className:"group relative p-4 md:p-6 bg-gradient-to-br from-[var(--primary-green)]/5 to-[var(--accent-yellow)]/5 backdrop-blur-lg rounded-2xl transition-all duration-500 hover:duration-300 hover:bg-white/10 hover:shadow-[0_0_30px_rgba(255,225,65,0.2)] border border-white/15 hover:border-[var(--accent-yellow)]/30 transform-gpu hover:-translate-y-2 cursor-pointer"},e._id))})]})]})}},7623:(e,s,a)=>{"use strict";a.d(s,{default:()=>l});var t=a(5155),r=a(2115);function l(){let[e,s]=(0,r.useState)({name:"",email:"",role:"",sendCFP:!1,city:"",idType:"run",idNumber:""}),[a,l]=(0,r.useState)({}),[i,n]=(0,r.useState)(!1),[o,c]=(0,r.useState)({success:null,message:""}),d=e=>{let s=e.trim().toLowerCase().replace(/[^0-9k]/g,"");if(!/^(\d{7,8})(\d|k)$/.test(s))return!1;let[a,t]=s.match(/(\d{7,8})(\d|k)$/).slice(1);return m(parseInt(a,10))===t},m=e=>{let s=0,a=1,t=e;for(;t>0;)a=(a+t%10*(9-s++%6))%11,t=Math.floor(t/10);let r=a>0?a-1:10;return 10===r?"k":r.toString()},u=e=>/^[A-Za-z0-9]{6,12}$/.test(e),p=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),x=()=>{let s={};return e.name.trim()?e.name.trim().length<3&&(s.name="El nombre debe tener al menos 3 caracteres"):s.name="El nombre es obligatorio",e.email.trim()?p(e.email)||(s.email="Formato de email inv\xe1lido"):s.email="El email es obligatorio",e.idNumber.trim()?"run"!==e.idType||d(e.idNumber)?"passport"!==e.idType||u(e.idNumber)||(s.idNumber="Pasaporte inv\xe1lido. M\xednimo 6 caracteres alfanum\xe9ricos"):s.idNumber="RUN inv\xe1lido. Formato: 12.345.678-9":s.idNumber="Este campo es obligatorio",e.role||(s.role="Selecciona un rol"),e.city||(s.city="Selecciona una ciudad"),l(s),0===Object.keys(s).length},h=e=>{let{name:a,value:t,type:r,checked:l}=e.target;s(e=>({...e,[a]:"checkbox"===r?l:t}))},b=async s=>{if(s.preventDefault(),x()){n(!0);try{console.log("Datos enviados:",e),setTimeout(()=>{c({success:!0,message:"\xa1Registro exitoso! Verifica tu correo para la confirmaci\xf3n."}),n(!1),e.sendCFP&&window.open("https://sessionize.com/pyday-valparaiso-2025/","_blank")},1500)}catch(e){c({success:!1,message:"Error en el registro. Intenta nuevamente."}),n(!1)}}};return(0,t.jsxs)("div",{className:"max-w-md mx-auto bg-white/5 p-6 rounded-lg shadow-md hide",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center",children:"Reg\xedstrate para PyDay 2025"}),null===o.success?(0,t.jsxs)("form",{onSubmit:b,className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-2 relative pb-6",children:[(0,t.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium",children:"Nombre completo"}),(0,t.jsx)("input",{type:"text",id:"name",name:"name",value:e.name,onChange:h,placeholder:"Ada Lovelace",required:!0,className:"w-full px-3 py-2 bg-white/10 rounded-lg focus:outline-none focus:ring-2 focus:ring-py-green-500"}),a.name&&(0,t.jsx)("p",{className:"absolute text-xs text-red-500 mt-1",children:a.name})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{htmlFor:"idType",className:"block text-sm font-medium",children:"Identificaci\xf3n Oficial"}),(0,t.jsx)("div",{className:"h-10",children:(0,t.jsxs)("select",{id:"idType",name:"idType",value:e.idType,onChange:h,className:"select-theme",children:[(0,t.jsx)("option",{value:"run",children:"RUN"}),(0,t.jsx)("option",{value:"passport",children:"Pasaporte"})]})}),(0,t.jsxs)("div",{className:"relative pb-6",children:[(0,t.jsx)("input",{type:"text",id:"idNumber",name:"idNumber",value:e.idNumber,onChange:h,placeholder:"run"===e.idType?"12.345.678-9":"AA123456",required:!0,className:"w-full px-3 py-2 bg-white/10 rounded-lg focus:outline-none focus:ring-2 focus:ring-py-green-500"}),a.idNumber&&(0,t.jsx)("p",{className:"absolute text-xs text-red-500 mt-1",children:a.idNumber})]})]}),(0,t.jsxs)("div",{className:"space-y-2 relative pb-6",children:[(0,t.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium",children:"Correo electr\xf3nico"}),(0,t.jsx)("input",{type:"email",id:"email",name:"email",value:e.email,onChange:h,placeholder:"ada.lovelace@pythonchile.cl",required:!0,className:"w-full px-3 py-2 bg-white/10 rounded-lg focus:outline-none focus:ring-2 focus:ring-py-green-500"}),a.email&&(0,t.jsx)("p",{className:"absolute text-xs text-red-500 mt-1",children:a.email})]}),(0,t.jsxs)("div",{className:"space-y-2 relative pb-6",children:[(0,t.jsx)("label",{htmlFor:"role",className:"block text-sm font-medium",children:"Rol / Ocupaci\xf3n"}),(0,t.jsxs)("select",{id:"role",name:"role",value:e.role,onChange:h,required:!0,className:"select-theme",children:[(0,t.jsx)("option",{value:"",children:"Selecciona una opci\xf3n"}),(0,t.jsx)("option",{value:"student",children:"Estudiante"}),(0,t.jsx)("option",{value:"professional",children:"Profesional"}),(0,t.jsx)("option",{value:"academic",children:"Acad\xe9mico"}),(0,t.jsx)("option",{value:"other",children:"Otro"})]}),a.role&&(0,t.jsx)("p",{className:"absolute text-xs text-red-500 mt-1",children:a.role})]}),(0,t.jsxs)("div",{className:"space-y-2 relative pb-6",children:[(0,t.jsx)("label",{htmlFor:"city",className:"block text-sm font-medium",children:"\xbfA qu\xe9 sede asistir\xe1s?"}),(0,t.jsxs)("select",{id:"city",name:"city",value:e.city,onChange:h,required:!0,className:"select-theme",children:[(0,t.jsx)("option",{value:"",children:"Selecciona una Ciudad"}),(0,t.jsx)("option",{value:"copiapo",children:"Copiap\xf3"}),(0,t.jsx)("option",{value:"valparaiso",children:"Valpara\xedso"}),(0,t.jsx)("option",{value:"santiago",children:"Santiago"})]}),a.city&&(0,t.jsx)("p",{className:"absolute text-xs text-red-500 mt-1",children:a.city})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)("input",{type:"checkbox",id:"sendCFP",name:"sendCFP",checked:e.sendCFP,onChange:h,className:"h-4 w-4 rounded border-white/20 accent-green-600 focus:ring-green-500"}),(0,t.jsx)("label",{htmlFor:"sendCFP",className:"text-sm font-medium",children:"Quiero proponer una charla"})]}),(0,t.jsx)("button",{type:"submit",disabled:i,className:"w-full btn-primary flex justify-center items-center disabled:opacity-50 disabled:cursor-not-allowed",children:i?(0,t.jsx)("div",{className:"animate-spin h-5 w-5 border-2 border-white border-t-transparent rounded-full"}):"Registrarme"})]}):(0,t.jsxs)("div",{className:"text-center py-6",children:[(0,t.jsx)("p",{className:"text-xl font-medium mb-2",children:o.message}),o.success&&(0,t.jsx)("p",{className:"text-sm text-gray-300",children:"Recibir\xe1s un correo con tu confirmaci\xf3n e informaci\xf3n adicional."}),!o.success&&(0,t.jsx)("button",{onClick:()=>c({success:null,message:""}),className:"mt-4 px-4 py-2 bg-white/10 hover:bg-white/20 rounded-lg transition",children:"Intentar nuevamente"})]})]})}},7850:(e,s,a)=>{Promise.resolve().then(a.t.bind(a,6874,23)),Promise.resolve().then(a.t.bind(a,3063,23)),Promise.resolve().then(a.bind(a,5733)),Promise.resolve().then(a.bind(a,2597)),Promise.resolve().then(a.bind(a,5412)),Promise.resolve().then(a.bind(a,9731)),Promise.resolve().then(a.bind(a,7623))},9731:(e,s,a)=>{"use strict";a.d(s,{default:()=>o});var t=a(5155),r=a(1504),l=a(6766),i=a(6874),n=a.n(i);function o(e){let{title:s,subtitle:a,background:i="bg-gradient-to-b from-green-900/40 to-black/60",backButton:o=!1,image:c,motionConfig:d={initial:{opacity:1},animate:{opacity:1}},children:m}=e,u=o||c?r.P.div:r.P.section;return(0,t.jsxs)(u,{...d,className:"relative min-h-[40vh] flex flex-col justify-center items-center text-center mt-8 px-4 backdrop-blur",children:[o&&(0,t.jsx)("div",{className:"absolute top-4 left-4 z-10",children:(0,t.jsxs)(n(),{href:"/",className:"flex items-center space-x-2 bg-black/50 backdrop-blur px-4 py-2 rounded-full text-white hover:bg-black/70 transition",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 19l-7-7m0 0l7-7m-7 7h18"})}),(0,t.jsx)("span",{children:"Volver"})]})}),c&&(0,t.jsxs)("div",{className:"relative h-[50vh] w-full overflow-hidden",children:[(0,t.jsx)(l.default,{src:c.src,alt:c.alt,fill:!0,className:"object-cover",priority:!0}),(0,t.jsxs)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent flex flex-col justify-end p-6 md:p-8",children:[(0,t.jsx)("h1",{className:"text-3xl md:text-5xl font-bold mb-2",children:s}),m]})]}),!c&&(0,t.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,t.jsx)("h1",{className:"text-4xl md:text-6xl font-bold mb-4",children:s}),(0,t.jsx)("p",{className:"text-xl md:text-2xl mb-8 opacity-90",children:a}),m]})]})}}},e=>{var s=s=>e(e.s=s);e.O(0,[63,874,837,441,684,358],()=>s(7850)),_N_E=e.O()}]); \ No newline at end of file diff --git a/out/_next/static/chunks/app/previous-editions/page-dbd646bc75200e7f.js b/out/_next/static/chunks/app/previous-editions/page-dbd646bc75200e7f.js deleted file mode 100644 index 020bf18..0000000 --- a/out/_next/static/chunks/app/previous-editions/page-dbd646bc75200e7f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[738],{3030:(e,r,t)=>{"use strict";t.d(r,{SmartButton:()=>o});var n=t(5155),s=t(6874),a=t.n(s);let o=e=>{let{href:r,children:t,isAvailable:s,className:o}=e;return s?(0,n.jsx)(a(),{href:r,className:"btn-primary",children:t}):(0,n.jsxs)("div",{className:"relative group inline-block",children:[(0,n.jsx)("button",{disabled:!0,className:function(){for(var e=arguments.length,r=Array(e),t=0;t