This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun 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 Geist, a new font family for Vercel.
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 configured to automatically deploy to GitHub Pages when you push to the main branch.
- Go to your repository settings on GitHub
- Navigate to Settings → Pages
- Under Build and deployment, select:
- Source: GitHub Actions
- Push your code to the
mainbranch
The deployment will happen automatically via GitHub Actions.
After deployment, your site will be available at:
https://polyplot-xyz.github.io/Polyplot-frontend/
To test the static export locally:
npm run build
npx serve@latest outIf you want to use a custom domain:
- Create a
CNAMEfile in thepublicdirectory with your domain - Configure your DNS settings to point to GitHub Pages
- Update
basePathinnext.config.tsto an empty string
Alternatively, you can deploy to Vercel by removing the output: 'export' line from next.config.ts.
Check out the Next.js deployment documentation for more details.