GitHub Pages

GitHub Pages

Written by Thom Krupa

Last update: 4/17/2024

This way, you’ll have a fast performing site that is easy to manage (the file changes are instantly deployed). Best of all, GitHub Pages already have HTTPS and CDN built-in. You can use a service like Cloudflare to make it more DDoS protected. Think of it as an additional security and protection layer.

You can run the files through a build process with a static site generator like Jekyll, for example, and publish HTML, CSS, and JavaScript files straight from your repository on GitHub.

Themes

To start quickly, Github offers you a few themes. Let's be honest, they look a little bit outdated, but if you need to run something quick, it will be just fine.

[@portabletext/react] Unknown block type "lazyVideo", specify a component for it in the `components.types` prop

Conclusion

GitHub Pages is an easy way to go live with a static website if you already use GitHub to host the repository. GitHub gives you a URL. You can use your custom domain too. It's a perfect solution if you want to set up a landing page for your side project quickly.

[@portabletext/react] Unknown block type "prosCons", specify a component for it in the `components.types` prop