mirror of
https://github.com/Fluffy-Bean/website.git
synced 2024-12-28 02:16:10 +00:00
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:
parent
c39c794892
commit
a7a2eba79b
|
@ -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" />
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue