style: format code with Prettier

This commit fixes the style issues introduced in c39c794 according to the output
from Prettier.

Details: None
This commit is contained in:
deepsource-autofix[bot] 2024-05-28 21:25:47 +00:00 committed by GitHub
parent c39c794892
commit a7a2eba79b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 10 deletions

View file

@ -8,6 +8,7 @@ tags:
- caddy - caddy
- networking - networking
--- ---
import Note from "../../components/Note.astro"; import Note from "../../components/Note.astro";
<Note text="This is an older blog post imported from my old Django website" /> <Note text="This is an older blog post imported from my old Django website" />

View file

@ -13,16 +13,18 @@ It's been written from scratch with Astro, Typescript and a lot of suffering, mo
So where do I start, maybe _why_ I have chosen Astro over other existing options. So where do I start, maybe _why_ I have chosen Astro over other existing options.
## Why Astro ## Why Astro
TLDR: I don't know :3 TLDR: I don't know :3
- I've been trying to learn typescript through trying astro - I've been trying to learn typescript through trying astro
- Astro is hard, due to all the issues I've encountered - Astro is hard, due to all the issues I've encountered
## The problems ## The problems
- Issue with Astros `getEntries()` not working, thus having to implement my own method
- Fighting with Astro to display banner images, it won - Issue with Astros `getEntries()` not working, thus having to implement my own method
- Using external plugins for images/slides - Fighting with Astro to display banner images, it won
- Specifically passing variables into scripts - Using external plugins for images/slides
- Specifically passing variables into scripts
```typescript ```typescript
export async function getTagsBySlug( export async function getTagsBySlug(
@ -46,6 +48,7 @@ export async function getTagsBySlug(
``` ```
## What I've learned ## What I've learned
- More experience writing in Typescript
- Learning about MDX accidentally - More experience writing in Typescript
- Reading Documentation, ironically - Learning about MDX accidentally
- Reading Documentation, ironically