Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 5.08 KB

README.md

File metadata and controls

71 lines (50 loc) · 5.08 KB

astro-art-portfolio

Main Dependabot Status Netlify Status

Art portfolio built with Astro and using Notion API.

Screenshots 📸

Description Light Dark
Home Home - Light Home - Dark
Gallery Gallery - Light Gallery - Dark
About About - Light About - Dark

Features 🚀

Lighthouse report 💯

Mobile Desktop
Lighthouse mobile report Lighthouse desktop report

Setup 📦

  • Duplicate the following notion page
  • Replace the default values with your pictures and labels. The images are created based on: [label] [link].
  • Clone repository, and create an .env file at the root level and define the following variables:
NOTION_API_KEY=
DATABASE_ID=

Automate deploy of website 🚀 (Optional)

Given that this project is a static website, you are force to trigger a deploy in order to reflect the latest changes inside our Notion database. This process can be easily automatized using many of the existing providers out there.

In my case, I'm currently using Zapier due to it provides compability with many services, and in this case with the ones that I need: Notion and Netlify. I created a shared zap that anyone can start using now!

Zapier template

Commands 🧞

All commands are run from the root of the project, from a terminal:

Command Action
yarn Installs dependencies
yarn dev Starts local dev server at localhost:3000
yarn build Build your production site to ./dist/
yarn preview Preview your build locally, before deploying
yarn astro ... Run CLI commands like astro add, astro preview

License 🗒

MIT.