Skip to content

Commit f9de580

Browse files
author
Aleksander Grygier
committed
feat: SEO improvements
1 parent 0b7c43b commit f9de580

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

apps/web/src/routes/[account=account]/+page.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
import RecordingTile from '$lib/components/RecordingTile.svelte';
44
</script>
55

6+
<svelte:head>
7+
<title>My account | Memvo — Share or publish recordings with transcriptions</title>
8+
</svelte:head>
9+
610
<main>
711
<h1>Hello, {$page.data?.session?.user?.user_metadata.name}</h1>
812

apps/web/src/routes/[record=record]/+page.svelte

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
}
3030
</script>
3131

32+
<svelte:head>
33+
<title>Record | Memvo — Share or publish recordings with transcriptions</title>
34+
35+
<meta
36+
name="description"
37+
content="Instant recordings 🔴 with transcriptions 📝 that you can publish 📤 to Google Docs."
38+
/>
39+
</svelte:head>
40+
3241
<main>
3342
<Recorder />
3443

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import type { RequestHandler } from '@sveltejs/kit';
2+
3+
export const GET: RequestHandler = async () => {
4+
const sitemap = `<?xml version="1.0" encoding="UTF-8"?>
5+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
6+
<url>
7+
<loc>https://memvo.io/</loc>
8+
<lastmod>2024-10-10</lastmod>
9+
<changefreq>monthly</changefreq>
10+
<priority>1.0</priority>
11+
</url>
12+
13+
<url>
14+
<loc>https://memvo.io/record</loc>
15+
<lastmod>2024-10-10</lastmod>
16+
<changefreq>monthly</changefreq>
17+
<priority>1.0</priority>
18+
</url>
19+
</urlset>`;
20+
21+
return new Response(sitemap, {
22+
headers: {
23+
'Content-Type': 'application/xml'
24+
}
25+
});
26+
};

0 commit comments

Comments
 (0)