[Archived] Archived WIP of vielle.dev

Reorder imports to be more logical

vielle.dev 6d9b4bd6 99a60361

verified
+6 -6
+6 -6
src/pages/blog/[id].astro
··· 2 2 import Base from "@/Base.astro"; 3 3 import Nav from "@/components/generic/Nav.astro"; 4 4 import LightDarkToggle from "@/components/generic/LightDarkToggle.astro"; 5 - 6 - import { blog } from "@/config"; 7 - const { 8 - post: { light, dark, rainbow }, 9 - } = blog.palette; 5 + import CodeHeading from "@/components/blog/CodeHeading.astro"; 10 6 11 7 import { render } from "astro:content"; 12 8 import { getEntry } from "astro:content"; 13 9 import { parse } from "node:path"; 14 10 11 + import { blog } from "@/config"; 15 12 import "@/components/blog/post.css"; 16 - import CodeHeading from "@/components/blog/CodeHeading.astro"; 13 + 14 + const { 15 + post: { light, dark, rainbow }, 16 + } = blog.palette; 17 17 18 18 const { id } = Astro.params; 19 19 if (!id) return Astro.redirect("/404");