No description
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| astro.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| resume.md | ||
| tailwind.config.mjs | ||
| tsconfig.json | ||
Portfolio
This project is built using Astro, a modern static site generator that combines the best of traditional static site generators, modern build tools, and the developer experience of a full-blown dev server.
🚀 Getting Started
Install Dependencies:
npm install
Run Local Development Server:
npm run dev
Open your browser and visit http://localhost:4321 to see your project in action!
Build for Production:
npm run build
Your optimized production-ready site will be generated in the ./dist/ directory.
Preview Before Deploying:
npm run preview
Preview your built site locally to catch any issues before deploying.
👀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
├── src/
│ └── components/
│ └── [ComponentName].[astro|jsx|js...]
│ └── content/
│ └── [folder]/[item].md
│ └── layouts/
│ └── BaseLayout.astro
│ └── pages/
│ └── index.astro
└── package.json
- public/: This directory is where you can place static assets, such as images or other files that need to be served as-is.
- src/components/: This is where we like to put any Astro/React/Vue/Svelte/Preact components.
- src/content/: This is where we put Astro Content Collections
- src/layouts/BaseLayout.astro: This is the base layout for this project. This layout is used in all the pages in the
src/pagesand set html, metadata, and the header. - src/pages/: Astro looks for
.astroor.mdfiles in this directory. Each page is exposed as a route based on its file name.
🧞 Other Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |