Fully functional website template using Next.js for use by the CHTC.
Provides a basic structure for building static websites with Next.js with a couple nice to haves:
- Solves rehydration errors when using Material UI with Next.js.
- Theming integration with Material UI and CHTC Web Components.
- Setting up CI/CD with GitHub Actions to deploy to GitHub Pages or other static hosting.
- Starting points for sitemap, robots.txt, SEO Metadata, and Analytics.
Please raise any issues with this template in an issue on the repository!
React framework used for building the static website.
Used for components, icons, and theming.
You can find the CHTC, OSG, and Pelican MUI themes in @chtc/web-components/themes.
https://mui.com/system/getting-started/usage/
Material UI uses the sx prop for styling components. This allows you to apply styles directly to components using a JavaScript object syntax.
Since we integrate with MUI themes, you can use the sx prop to access theme values like colors, spacing, and typography.
Reusable components and themes for CHTC websites.
https://path-cc.io/web-components/ for now, but moving to https://chtc.github.io/web-components/
This is the easiest, if you have something quick I would do this.
Run the command below and navigate to http://localhost:3000.
docker compose upInstall pnpm and run pnpm install (only need to do it once).
Run pnpm run dev.
This will be the fastest if you aren't on linux.