mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-26 16:52:08 +05:30
16 lines
353 B
TypeScript
Executable File
16 lines
353 B
TypeScript
Executable File
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;
|