feat: add github stars to landing page (#543)

* added github stars

* Update Navigation.svelte

* debug data

* remove prerender

* feat: githubstar change

* pass data from server to client

* remove console.log

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Pranav Murali
2025-01-22 15:39:22 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 8eb9236bc0
commit 29fa038760
5 changed files with 79 additions and 53 deletions
+3 -2
View File
@@ -2,10 +2,11 @@ import type { MetaTagsProps } from 'svelte-meta-tags';
export const prerender = true;
export function load({ url }) {
export function load({ url, data }) {
return {
baseMetaTags: getBaseMetaTags(url),
url: url.pathname
url: url.pathname,
...data,
};
}