Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.21 KB

File metadata and controls

45 lines (32 loc) · 1.21 KB

ShellHacks 2023 - Static Site

This branch contains the static export of the ShellHacks 2023 landing page for deployment to GitHub Pages.

Deployment Information

  • Custom Domain: 2023.shellhacks.net
  • Branch: github-pages
  • Deployment Method: GitHub Actions (automatic on push)

Local Testing

To test the static site locally:

npx serve .

Then visit http://localhost:3000 in your browser.

File Structure

  • index.html - Main landing page (75KB)
  • 404.html - Custom 404 error page
  • _next/static/ - Next.js static assets (CSS, JS chunks)
  • assets/ - Images, decorations, and sponsor logos
  • fonts/ - Custom pixel fonts
  • images/ - Favicon and social media images
  • .nojekyll - Prevents GitHub Pages from using Jekyll
  • CNAME - Custom domain configuration (2023.shellhacks.net)
  • .github/workflows/deploy.yml - GitHub Actions deployment workflow
  • README.md - This file

Updating the Site

To update the static site:

  1. Switch back to main branch
  2. Make your changes
  3. Run npm run export to rebuild static files
  4. Switch to github-pages branch
  5. Copy new files from out/ directory
  6. Commit and push

The GitHub Actions workflow will automatically deploy the changes.