mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-06-29 05:16:18 +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
2 changed files with 14 additions and 10 deletions
|
@ -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" />
|
||||||
|
@ -48,4 +49,4 @@ In the end, I went with the third option, I went back to `Nginx Proxy Manager` (
|
||||||
|
|
||||||
After all of that, switching proxies, dropping Docker, and a lot of suffering, I got this page working. Overall, would I go with Django again? Most likely! It was fast and easy to learn, and it has some really nice features. Though I wish Python was faster so I could use this for larger projects :c
|
After all of that, switching proxies, dropping Docker, and a lot of suffering, I got this page working. Overall, would I go with Django again? Most likely! It was fast and easy to learn, and it has some really nice features. Though I wish Python was faster so I could use this for larger projects :c
|
||||||
|
|
||||||
While I continue to work out bugs on this page and my terrible server management, enjoy reading the slop in the blog 😋
|
While I continue to work out bugs on this page and my terrible server management, enjoy reading the slop in the blog 😋
|
||||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue