Skip to content

Elmona/webpage

Repository files navigation

Webpage

This is a static site generator. The frameworks are Gatsby, Contentful, Netlifly. The main concept is that the site will have outstanding performance according to WCAG and automatic analysis tools out of the box. You can set up the template in minutes and start coding or just use it as a template sort of like WordPress. The only difference is that this site outperforms all others.

Get Started

Prerequisites

  • Node
  • Git

Commands

npm start

Routing

Because Contentful has a flat information structure routing is kind of hard. If you google the problem you find a lot of blogs and that is like 10% of routing problems. And when you start thinking about adding more routes it is getting hard.

A lot of CMS has and tree structure of the site and it works kinda well. So I implemented this with contentful. That will make it easy to create advanced routings. And easily add and manage your web content.

Continuous delivery

A pretty fun way to work is continuous delivery. For every change you almost instantly have it delivered in production. Hotfixes are not a problem.

Cost

All the code I write is open source. My goal was to get hosting and build times almost for free, there is no hidden license cost but you will have to pay for services. Because you have a static site you will have to pay for some services like internal search engines and third-party applications. I'm using a free version of Contentful in this project.

You will be surprised about how many options there are out there. And today you can get a lot for cheap. I encourage you to modify the options to get it even better.

Performance

In Sweden, we have a law that ensures that web content is accessible. That made me think really hard about how to get there. One key is to test for user errors every time you build or change something.

If something is bad you fix it until the site will perform again, feel free to add more and better tests.

About

Gatsby, Contentful starter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published