raexera's Personal Website

This is the source code for my personal website. It is built using Astro.

Stack

This project uses the following technologies:

šŸš€ Project Structure

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.

šŸ§ž Commands

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

Top categories

tailwind logo

Need a Tailwind website built?

Hire a professional TailwindCSS developer today.
Loading Svelte Themes