Conversation
Template Inicial [NextJS] SSG
fix: add basePath for GitHub Pages
rmunate
left a comment
There was a problem hiding this comment.
Cargue Inicial Proyecto
There was a problem hiding this comment.
Pull request overview
Este PR inicializa la base del nuevo portal web de Python Colombia con Next.js (App Router), Tailwind CSS y despliegue automático a GitHub Pages, dejando una landing “Próximamente” como punto de partida.
Changes:
- Configuración base del proyecto (Next.js + TypeScript + ESLint + Tailwind/PostCSS).
- Landing page inicial en
app/con estilos globales. - Workflow de GitHub Actions para build + deploy a GitHub Pages y documentación de especificación (
SPEC.md).
Reviewed changes
Copilot reviewed 12 out of 17 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Configuración TypeScript base para Next.js. |
| SPEC.md | Documento de especificación/arquitectura del sitio. |
| README.md | README actualizado (actualmente aún es el template genérico de Next.js). |
| postcss.config.mjs | Configuración PostCSS para Tailwind. |
| package.json | Scripts y dependencias del proyecto Next.js. |
| next.config.ts | Configuración de build/export estático, basePath e imágenes. |
| eslint.config.mjs | Configuración ESLint para Next.js (core-web-vitals + TS). |
| CLAUDE.md | Referencia a AGENTS.md. |
| AGENTS.md | Reglas/notas para agentes. |
| app/page.tsx | Landing page “Próximamente”. |
| app/layout.tsx | Layout raíz, fuentes y metadata. |
| app/globals.css | Estilos globales y utilidades visuales (blobs/gradientes). |
| .gitignore | Ignorados de Next.js/build y tooling. |
| .github/workflows/deploy.yml | Build y deploy a GitHub Pages. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
@copilot Fix the code for all comments in this review thread. When a review comment includes a suggested change, apply the suggestion exactly. Do not make changes beyond what is described in the linked review thread. |
I can proceed, but I need the exact text (and any suggested patch blocks) from review |
| "use client"; | ||
|
|
||
| import { useSyncExternalStore } from "react"; | ||
|
|
||
| const emptySubscribe = () => () => {}; | ||
|
|
||
| export default function CurrentYear() { | ||
| const year = useSyncExternalStore( | ||
| emptySubscribe, | ||
| () => new Date().getFullYear(), | ||
| () => null, | ||
| ); | ||
|
|
||
| return year; | ||
| } |
| "scripts": { | ||
| "dev": "next dev", | ||
| "build": "next build", | ||
| "start": "npx serve out", | ||
| "lint": "eslint ." | ||
| }, | ||
| "dependencies": { | ||
| "next": "16.2.10", | ||
| "react": "19.2.4", | ||
| "react-dom": "19.2.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@tailwindcss/postcss": "^4", | ||
| "@types/node": "^20", | ||
| "@types/react": "^19", | ||
| "@types/react-dom": "^19", | ||
| "eslint": "^9", | ||
| "eslint-config-next": "16.2.10", | ||
| "tailwindcss": "^4", | ||
| "typescript": "^5" | ||
| } |
Descripción
Este PR incorpora la estructura inicial del nuevo portal web de Python Colombia. Incluye la configuración base del proyecto con Next.js y deja preparada la arquitectura sobre la cual se desarrollarán las futuras funcionalidades del sitio.
Tipo de cambio
¿Cómo se probó?
Para ejecutar el proyecto localmente:
Verificar que la aplicación inicie correctamente y sea accesible desde
http://localhost:3000.Checklist
Issue relacionado
Closes #14
Referencia: #14 (comment)