This is the source code for my personal website. It is built using Astro.
This project uses the following technologies:
Inside of your Astro project, you'll see the following folders and files:
.
āāā astro.config.mjs
āāā cv.json
āāā LICENSE
āāā package.json
āāā pnpm-lock.yaml
āāā public
āĀ Ā āāā assets
āĀ Ā āĀ Ā āāā photo.png
āĀ Ā āāā CNAME
āĀ Ā āāā favicon.svg
āĀ Ā āāā fonts
āĀ Ā āĀ Ā āāā Inter-Bold.woff2
āĀ Ā āĀ Ā āāā Inter-Regular.woff2
āĀ Ā āāā robots.txt
āāā README.md
āāā src
āĀ Ā āāā components
āĀ Ā āĀ Ā āāā Awards.astro
āĀ Ā āĀ Ā āāā Boxes.tsx
āĀ Ā āĀ Ā āāā Button.astro
āĀ Ā āĀ Ā āāā Card.astro
āĀ Ā āĀ Ā āāā Education.astro
āĀ Ā āĀ Ā āāā ExpandButton.tsx
āĀ Ā āĀ Ā āāā Experience.astro
āĀ Ā āĀ Ā āāā Footer.astro
āĀ Ā āĀ Ā āāā Header.astro
āĀ Ā āĀ Ā āāā Heading.astro
āĀ Ā āĀ Ā āāā Navbar.astro
āĀ Ā āĀ Ā āāā Photo.tsx
āĀ Ā āĀ Ā āāā Section.astro
āĀ Ā āĀ Ā āāā Skills.astro
āĀ Ā āĀ Ā āāā Starry.tsx
āĀ Ā āĀ Ā āāā ThemeToggle.astro
āĀ Ā āāā consts.ts
āĀ Ā āāā env.d.ts
āĀ Ā āāā icons
āĀ Ā āĀ Ā āāā close.svg
āĀ Ā āĀ Ā āāā email.svg
āĀ Ā āĀ Ā āāā github.svg
āĀ Ā āĀ Ā āāā linkedin.svg
āĀ Ā āĀ Ā āāā menu.svg
āĀ Ā āĀ Ā āāā moon.svg
āĀ Ā āĀ Ā āāā sun.svg
āĀ Ā āĀ Ā āāā telegram.svg
āĀ Ā āāā layouts
āĀ Ā āĀ Ā āāā BaseHead.astro
āĀ Ā āĀ Ā āāā BaseLayout.astro
āĀ Ā āāā lib
āĀ Ā āĀ Ā āāā utils.ts
āĀ Ā āāā pages
āĀ Ā āĀ Ā āāā about.astro
āĀ Ā āĀ Ā āāā index.astro
āĀ Ā āĀ Ā āāā projects.astro
āĀ Ā āāā styles
āĀ Ā āĀ Ā āāā global.css
āĀ Ā āāā types.ts
āāā tailwind.config.mjs
āāā tsconfig.json
11 directories, 49 files
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 we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the public/
directory.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm dev |
Starts local dev server at localhost:4321 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
pnpm astro ... |
Run CLI commands like astro add , astro check |
pnpm astro -- --help |
Get help using the Astro CLI |