Skip to content
Proyek

EmaSuriano/astro-art-portfolio

Lihat di GitHub

Tentang

Minimalistic Art showcase built with Astro and connected with Notion API

Pengembangan web dan aplikasi

Cara angka ini diukur

Yang dapat Anda lakukan

  • Tailwind CSS with dark/light theme enabled
  • Github workflow + Dependabot setup
  • Typescript out of the box
  • Gallery powered by photoswipe

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

astro-art-portfolio

Main Dependabot Status Netlify Status

Art portfolio built with Astro 7 and using Notion API. Astro 7 ready.

Theme by Ema Suriano. Demo content is fictional and generic.

Demo ✨

Screenshots 📸

Captured from the live demo with shot-scraper via shots.yml (workflow: .github/workflows/screenshots.yml). Light and dark for Home and About.

Light Dark
Home - Light Home - Dark
About - Light About - Dark

Features 🚀

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,
  • Install dependencies by running: yarn install
  • Rename the file called .env.example to .env file and fill all the values.
  • You can find how to get these values for your page inside the official documentation of Notion.
  • The gallery uses sample artwork when Notion credentials are not set, so the project still builds.

Force theme colors

I added a mechanism to force the theme of the website, in case you don't like the default behavior of Dark Mode in Tailwind. Simply modify your deployment script in order to use:

To force light theme
build:light
To force dark theme
build:dark

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:4321
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.

Jelajahi proyek terkait

Memuat…