EvanG13 / evang-portfolio

0 stars 0 forks source link

consider using static generated pages with `hugo` #1

Open amarjandu opened 4 months ago

amarjandu commented 4 months ago

https://gohugo.io/

https://gohugo.io/hosting-and-deployment/hosting-on-github/

Migrating to something like this enables:

  1. reduced maintenance cost
  2. increased uptime (in 2 years you wont have to log-into Vercel and update stuff)
  3. reduce overhead in order to publish content (markdown is a tad bit easier to work with)

You might also consider getting a domain with something like https://www.cloudflare.com/ or https://www.porkbun.com, then updating the DNS records from a domain to the static website.

I've built a similar project here with the repo of static content being hosted here, please note that there are multiple branches that are used in order to get the site setup.

There is a github action takes content that is merged into dev, creates a static document, and pushes that to a github-pages repo.

:suspect: Of course if you want to showcase dynamic content your current setup would be better.

EvanG13 commented 4 months ago

I originally went with React purely because I wanted to use React with some dynamic content. I am also a lot further into the portfolio than what I have committed. I have just been bad about pushing. 😰

I will definitely keep this in mind for future projects.