README.md 1.5 K raw
1
# stevedylan.dev
2
3
![cover](./preview.jpg)
4
5
</br>
6
7
My personal website and digital garden for all my writing and interests. Built with [Astro](https://astro.build), originally based on the [Astro Cactus theme](https://astro.build/themes/details/astro-cactus/) but significantly diverged over the years. Most content is `prerendered`, while some pages are server-rendered per request via `export const prerender = false` to pull live data from external services.
8
9
### Structure
10
11
```
12
stevedylan.dev/
13
├── public/             # static assets, icons, fonts
14
├── scripts/            # build/utility scripts
15
├── src/
16
│   ├── assets/         # images used in posts/pages
17
│   ├── components/     # Astro components
18
│   ├── content/        # MDX posts and pages (collections)
19
│   │   ├── pages/
20
│   │   └── post/
21
│   ├── data/           # static data sources
22
│   ├── layouts/        # page layouts
23
│   ├── pages/          # routes (static + SSR)
24
│   ├── styles/         # global CSS
25
│   ├── utils/          # helpers
26
│   └── site.config.ts  # site-wide config
27
├── astro.config.mjs
28
└── wrangler.toml       # Cloudflare config
29
```
30
31
### Dynamic Pages
32
33
![diagram](./public/blog-images/personal-site-structure.svg)
34
35
Dynamic pages fetch from small atomic services I run separately (see [andromeda.build](https://andromeda.build)) rather than bundling everything into one massive app.
36
37
## License
38
39
[MIT](LICENSE)