This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
This project is automatically deployed to GitHub Pages when changes are pushed to the main branch.
The project includes three GitHub Actions workflows:
- Deploy to GitHub Pages (
deploy.yml) - Automatically deploys the site to GitHub Pages when changes are pushed tomain - Pull Request Validation (
pr-validation.yml) - Validates PRs by running linting, building, and checking bundle size - Run Tests (
test.yml) - Runs linting and build tests on feature branches
To build the static site locally:
npm run buildThis will create an optimized production build in the out directory.
To enable GitHub Pages deployment:
- Go to your repository settings
- Navigate to "Pages" under "Code and automation"
- Under "Source", select "GitHub Actions"
- The site will be automatically deployed on the next push to
main
Car_hub