Go to file
2024-07-13 04:04:26 -04:00
.vscode First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00
public Added brand stores, updated about, and added First Aid Only first aid kit. 2024-07-13 00:13:32 -04:00
src Updated bottom footer style making it 100% explicitly. 2024-07-13 04:04:26 -04:00
.gitattributes First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00
.gitignore First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00
astro.config.mjs Added Astro sitemap feature. 2024-07-13 02:46:11 -04:00
bun.lockb First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00
COPYRIGHT.md Improved about section. Added licensing and released app as open source software. 2024-07-11 20:36:25 -04:00
LICENSE.md Improved about section. Added licensing and released app as open source software. 2024-07-11 20:36:25 -04:00
package-lock.json Added Astro sitemap feature. 2024-07-13 02:46:11 -04:00
package.json Added Astro sitemap feature. 2024-07-13 02:46:11 -04:00
README.md Updated README.md 2024-07-13 02:23:11 -04:00
tsconfig.json First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00

Dasher Supply

A pretty cool website by David A. Ball.

🚀 Project Structure

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

/
├── public/
│   └── assets/
│   │   └── *
│   │   └── brands/
│   │   │   └── *
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── *Card.astro
│   ├── data/
│   │   └── **/*.ts
│   ├── layouts/
│   │   └── *Layout.astro
│   └── pages/
│       └── **/*.astro
│   └── scraper/
│       └── **/*.ts
└── package.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 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:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check the Astro documentation.