mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-06-29 16:13:21 +05:30
16 lines
352 B
TypeScript
16 lines
352 B
TypeScript
import type { PageServerLoad } from "./$types";
|
|
import { announcements } from "../stores";
|
|
import { get } from "svelte/store";
|
|
|
|
export const load = (async () => {
|
|
const meta = {
|
|
title: "Home",
|
|
description: "Open source development and hosted services."
|
|
};
|
|
|
|
return {
|
|
announcements: get(announcements),
|
|
...meta
|
|
}
|
|
}) satisfies PageServerLoad;
|