Batteries included website template.
Goal, provide a simple and practical starting template for blogs, portfolios and small business, that is easy to adopt and adapt. It is in spirit similar to beautyful-jekyll but using React instead of Jekyll.
You may choose to install Git on your machine, or use GitHub Desktop for a more convenient experience.
Node 20 or higher (available on path), using nvm is recommended but not required.
First, install the packages with yarn, then run the development server:
yarn 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.
The CI of this project already contains the needed setup to deploy it on GitHub Pages.
If while installing with yarn hangs and you get the following
info There appears to be trouble with your network connection. Retrying...you might need to repeat the command with the flag --network-timeout 100000.
See more: https://stackoverflow.com/a/51508426/2219492
However, for the first setup, you my need to follow these additional steps.
If your website is for a GitHub project, you may need to configure the base path in the next.config.js file.
For example, for this project it is basePath: '/swiftpost-next-static-template'.
Elysium is a thin wrapper around Material UI, which is a popular UI library for building user interfaces. Material UI provides a wide range of components that you can use to build user interfaces.
To learn more about MUI, take a look at the following resources
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.
GitHub provides a simple way to deploy your website on GitHub Pages and this repository is configured to do that.
To learn more about GitHub Pages, take a look at the following resources:
- What is GitHub Pages? - learn about what GitHub Pages is and how it works
- Interactive Tutorial - an interactive tutorial that will help you understand the basics of GitHub Pages and deploy your website
- Custom domain - learn how to configure a custom domain for your GitHub Pages site
- Create a minimal functioning blog template (header, footer, menu, main page, article pages, about, contact)
- Add markdown support in blog posts
- Create a setup script for easy adoption (e.g. set base path, set this repo as upstream)
- Sitemap generation, robots, SEO improvements
- Additional easy customization options (e.g. custom colors, fonts, etc.) without changing the theme
- Add documentation on how to use components and themes
- Add documentation on how to extend components and themes
- Add GA optional tracking, GDPR and cookie consent
- Add support for other languages
- Add gallery component
- Add carousel component
- Add FAP component
- Add payment option component with major 3rd party payment providers (e.g. PayPal, Stripe, Klarna)