Skip to content

d1sc0/hellostu.xyz

Repository files navigation

Hello Stu: Astro

Site build To-do list

  • Blog collection
  • Pagination for blog collections
  • adding drafts
  • SEO - done basic config
  • imageTools (test Mdx again)
  • Add in MDX support - done (needs further testing errors on build)
  • Content migration (for MD)
  • Added Tag counts
  • Layout and Global Styling
  • Content Styling & improve hamburger
  • image resizing
  • add dates to cards
  • tag list component
  • about page content
  • check RSS feed
  • check SEO and social links
  • markdown and image style checks
  • footer links and styling
  • Podcast micro copy page
  • Sitemap
  • 404
  • Backup old site
  • Check Github Action, deploy, test
  • Sort out cover images and component
  • jcc page migration
  • Simple analytics
  • Properly revisit 404
  • consolidate styles and tidy into global
  • bugger around with MDX posts and react components I'll be missing.
  • Maybe look at setting up a headless CMS - have tried - Decap CMS, Tina, VSCode Front Matter and they all suck.
  • post some content
  • and then maybe some more
  • add next and previous post buttons?
  • Commenting?
  • update about page
  • maybe add some sharing buttons or at least a prompt (https://astro-social-share.mckerlie.com/start-here/advanced-usage/)
  • consider a NOW page.
  • maybe temp remove audionotes from Nav]
  • improve pagination component?
  • potential new content type and setup for photo/art gallery
  • leaflet map with legend on the outside of map

Bulit on top of the Minimal starter below

Astro Starter Kit: Minimal

npm create astro@latest -- --template minimal

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project Structure

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

/
├── public/
├── src/
│   └── pages/
│       └── index.astro
└── 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 our documentation or jump into our Discord server.

About

my personal website and blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published