diff --git a/apps/web/src/routes/(main)/+layout.svelte b/apps/web/src/routes/(main)/+layout.svelte index 523077e..d5911d8 100644 --- a/apps/web/src/routes/(main)/+layout.svelte +++ b/apps/web/src/routes/(main)/+layout.svelte @@ -3,6 +3,7 @@ import { page } from "$app/state"; import { limitWidth } from "$lib/constants"; import { cn } from "$lib/utils"; import LuCopyleft from "lucide-svelte/icons/copyleft"; +import LuChevronsRight from "lucide-svelte/icons/chevrons-right"; let { children } = $props(); @@ -16,6 +17,21 @@ let { children } = $props(); cannorin.net {/if} + {@render children()} diff --git a/apps/web/src/routes/(main)/blog/+page.server.ts b/apps/web/src/routes/(main)/blog/+page.server.ts index e72ec0c..fbbdd64 100644 --- a/apps/web/src/routes/(main)/blog/+page.server.ts +++ b/apps/web/src/routes/(main)/blog/+page.server.ts @@ -14,7 +14,7 @@ export async function load() { }); } return { - posts, + posts: posts.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime()), seo: { title: "blog - cannorin.net", description: "cannorin's blog",