Skip to content

Commit a2ce165

Browse files
Define meta tags for Reverse page
Added meta tags for SEO and social sharing.
1 parent b24bd4d commit a2ce165

File tree

1 file changed

+12
-0
lines changed
  • src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/reverse

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
import { prefetch } from '#queries/config';
22
import type { PageLoad } from './$types';
3+
import { definePageMetaTags } from 'svelte-meta-tags';
34

45
export const load: PageLoad = async ({ parent, fetch }) => {
56
const { queryClient } = await parent();
67

78
prefetch({ queryClient: queryClient, fetch });
9+
10+
const pageTags = definePageMetaTags({
11+
title: 'Reverse',
12+
description: 'Reverse share files with other using this page',
13+
openGraph: {
14+
title: 'Reverse',
15+
description: 'Reverse share files with other using this page'
16+
}
17+
});
18+
return { ...pageTags };
19+
820
};

0 commit comments

Comments
 (0)