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 <best@classroomio.com>
This commit is contained in:
co-authored by
Rotimi Best
parent
8eb9236bc0
commit
29fa038760
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user