Personal site of Gavin McFarland
The site uses Marko for the frontend framework and Sanity for the content management system.
It's published using Now for convenience as a serverless function. The now configuration could probably be simplified a lot. It was made from the marko-webpack repo.
It's still a work in progress and likely has some remaining issues that need to be fixed or updated, most notably the style framework it's using is still a work in progress and currently pointing to my local machine for development purposes. You can just rip this out and use your own styles for now.
To develop
npm run dev
For now you'll need to restart the server to see any new content until I can figure out a way to detect the changes and refresh the browser.
To view the content via an api
npm run api
To publish to Now
now