TheAwiteb / x7md-blog

Home Page:https://git.x7md.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

X7md Blog

πŸš€ Project Structure

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

./
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ package.json
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ postcss.config.cjs
β”œβ”€β”€ public
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   └── logo.svg
β”‚   β”œβ”€β”€ CNAME
β”‚   β”œβ”€β”€ favicon.ico
β”‚   β”œβ”€β”€ fonts
β”‚   β”‚   β”œβ”€β”€ ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-Black.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-Bold.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-ExtraBold.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-ExtraLight.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-Light.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-Medium.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-Regular.ttf
β”‚   β”‚   β”‚   β”œβ”€β”€ Vazirmatn-RD-SemiBold.ttf
β”‚   β”‚   β”‚   └── Vazirmatn-RD-Thin.ttf
β”‚   β”‚   β”œβ”€β”€ variable
β”‚   β”‚   β”‚   └── Vazirmatn-RD[wght].ttf
β”‚   β”‚   └── webfonts
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-Black.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-Bold.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-ExtraBold.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-ExtraLight.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-Light.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-Medium.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-Regular.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-SemiBold.woff2
β”‚   β”‚       β”œβ”€β”€ Vazirmatn-RD-Thin.woff2
β”‚   β”‚       └── Vazirmatn-RD[wght].woff2
β”‚   β”œβ”€β”€ images
β”‚   β”‚   β”œβ”€β”€ cat.svg
β”‚   β”‚   β”œβ”€β”€ GitHub-Emblem.png
β”‚   β”‚   β”œβ”€β”€ satr.svg
β”‚   β”‚   β”œβ”€β”€ sleepyhead-cat-unsplash.jpg
β”‚   β”‚   β”œβ”€β”€ termux-thm.jpg
β”‚   β”‚   β”œβ”€β”€ test2.png
β”‚   β”‚   β”œβ”€β”€ test.png
β”‚   β”‚   └── what-is-deno.png
β”‚   β”œβ”€β”€ robots.txt
β”‚   β”œβ”€β”€ style
β”‚   β”‚   β”œβ”€β”€ global.css
β”‚   β”‚   └── home.css
β”‚   └── Vazirmatn-RD-font-face.css
β”œβ”€β”€ sandbox.config.json
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ components
β”‚   β”‚   β”œβ”€β”€ Banner.astro
β”‚   β”‚   β”œβ”€β”€ Button.astro
β”‚   β”‚   β”œβ”€β”€ Card.astro
β”‚   β”‚   β”œβ”€β”€ Footer.astro
β”‚   β”‚   └── Navbar.astro
β”‚   β”œβ”€β”€ layouts
β”‚   β”‚   β”œβ”€β”€ blog.astro
β”‚   β”‚   └── page.astro
β”‚   β”œβ”€β”€ pages
β”‚   β”‚   β”œβ”€β”€ 404.astro
β”‚   β”‚   β”œβ”€β”€ about-me.astro
β”‚   β”‚   β”œβ”€β”€ blog
β”‚   β”‚   β”œβ”€β”€ index.astro
β”‚   β”‚   └── posts
β”‚   β”‚       └── index.astro
β”‚   β”œβ”€β”€ styles
β”‚   β”‚   └── global.css
β”‚   └── utility
β”‚       └── JSONid.js
β”œβ”€β”€ tsconfig.json
└── windi.config.js

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
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying

πŸ‘€ Want to learn more?

Feel free to check our documentation or jump into our Discord server.

About

https://git.x7md.net/


Languages

Language:Astro 73.6%Language:CSS 18.7%Language:JavaScript 7.7%