Skip to content

Commit 7d02db3

Browse files
feat: add meta-tags (#374)
* feat: add meta-tags * feat: add meta-tags * add * feat: add meta-tags * add * add * move files * move filesad feat: fix build
1 parent d6fdace commit 7d02db3

20 files changed

Lines changed: 167 additions & 46 deletions

File tree

src/frontend/package-lock.json

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"superforms": "^0.0.1",
6969
"svelte": "^5.53.3",
7070
"svelte-check": "^4.4.3",
71+
"svelte-meta-tags": "^4.5.0",
7172
"svelte-sonner": "^1.0.7",
7273
"sveltekit-superforms": "^2.30.0",
7374
"tailwind-merge": "^3.5.0",
Lines changed: 18 additions & 19 deletions
Loading
17 KB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { definePageMetaTags } from 'svelte-meta-tags';
2+
import type { PageLoad } from './$types';
3+
4+
export const load: PageLoad = () => {
5+
const pageTags = definePageMetaTags({
6+
title: 'Download File',
7+
description: 'Download your encrypted file with a link that automatically expires.',
8+
openGraph: {
9+
title: 'Download File',
10+
description: 'Download your encrypted file with a link that automatically expires.'
11+
}
12+
});
13+
14+
return { ...pageTags };
15+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { definePageMetaTags } from 'svelte-meta-tags';
2+
import type { PageLoad } from './$types';
3+
4+
export const load: PageLoad = () => {
5+
const pageTags = definePageMetaTags({
6+
title: 'View File',
7+
description: 'View your encrypted file with a link that automatically expires.',
8+
openGraph: {
9+
title: 'View File',
10+
description: 'View your encrypted file with a link that automatically expires.'
11+
}
12+
});
13+
14+
return { ...pageTags };
15+
};

src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/+page.svelte renamed to src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/(upload)/+page.svelte

File renamed without changes.

src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/+page.ts renamed to src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/(upload)/+page.ts

File renamed without changes.

src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/recent_upload.svelte renamed to src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/(upload)/recent_upload.svelte

File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { definePageMetaTags } from 'svelte-meta-tags';
2+
import type { PageLoad } from './$types';
3+
4+
export const load: PageLoad = () => {
5+
const pageTags = definePageMetaTags({
6+
title: 'Speedtest',
7+
description: 'Test your internet connection speed with chithi server',
8+
openGraph: {
9+
title: 'Speedtest',
10+
description: 'Test your internet connection speed with chithi server'
11+
}
12+
});
13+
14+
return { ...pageTags };
15+
};

0 commit comments

Comments
 (0)