dreyfus92 / astro-portfolio

My portfolio built with Astro.

Home Page:https://www.paulvall.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ§‘πŸ»β€πŸ’» My personal website

An attempt to create a miniminal js personal blog using Astro.

screenshot

πŸ“š Stack

πŸš€ Project Structure

Inside of my Astro project, you'll see the following folders and files:

β”œβ”€β”€ .vscode/
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€favicon/
β”‚   β”œβ”€β”€ banner.png
β”‚   β”œβ”€β”€ robots.txt
β”‚   └── sc1.png
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ content/
β”‚   β”œβ”€β”€ layouts/
β”‚   β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ styles/
β”‚   └── utils/
β”œβ”€β”€ .env.example
β”œβ”€β”€ .eslintrc.cjs
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ astro.config.ts
β”œβ”€β”€ package-json
β”œβ”€β”€ pnpm-lock.yaml
β”œβ”€β”€ tailwind.config.js
└── tsconfig.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where you should place any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

This project uses Tailwind CSS for styling. The tailwind.config.js file is where you can customize your Tailwind theme.

I'm using the assets folder to store my images and the content folder to store my markdown files so I can take advantage of Astro's built-in image optimization.

🧞 Running Locally

This app requires Node.js v18.4.1 or later.

git clone git@github.com:dreyfus92/astro-portfolio.git
cd astro-portfolio
npm install -g pnpm
pnpm i
pnpm dev

πŸ“ License

This project is licensed under the MIT license.

About

My portfolio built with Astro.

https://www.paulvall.dev

License:MIT License


Languages

Language:MDX 56.2%Language:Astro 28.9%Language:TypeScript 12.9%Language:CSS 1.1%Language:JavaScript 0.9%