jarocki.me
1.0.0

This is my personal website built using
To run application locally few environment variables have to be defined (in .env.local):
NEXT_PUBLIC_URL - used to create absolute urls, for example canonical links and open graph imagesNOTION_TOKEN - used by Notion API client, nore info hereNOTION_DATABASE_ID - used to fetch notes/blog post listThere's a certain data format of Notion database that's needed by application. When fetching the database content, application expects the following properties to be configured in the database:
idcreated_timelast_edited_timecoverhashtagstitledescriptionslug - used as a notes slug for example in /notes/hello-world the slug would be hello-worldpublished - used to filter unpublished notes from available notes listpublishedAtinProgress - used to display Work in progress badge on in the notes listHere's how the database in Notion should look like:

After defining environment variables and your Notion database, run the application
git clone https://github.com/BartoszJarocki/web-jarocki-me
cd web-jarocki-me
yarn
yarn devApplication generates Open Graph images automatically using lambda functions and Puppetter
Main page example
Blog post example
Design heavily inspired by Tailwind UI Spotlight template
MIT