Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
chore: add seo info to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxyw committed Nov 26, 2023
1 parent a505ed8 commit 79db661
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/routes/about/contacts/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import Icon from '@iconify/svelte';
import SeoHandler from '$lib/shared/seo/SeoHandler.svelte';
import ComingSoonOverlay from '$lib/shared/shared/components/ComingSoonOverlay.svelte';
import * as Form from '$lib/vgui/components/ui/form';
Expand All @@ -11,6 +12,12 @@
export let data: PageData;
</script>

<SeoHandler
metaTags={{
title: 'Contact Us'
}}
/>

<div class="h-hero relative isolate">
<div class="mx-auto grid max-w-7xl grid-cols-1 lg:grid-cols-2">
<div class="relative px-6 pb-20 pt-24 sm:pt-32 lg:static lg:px-8 lg:py-48">
Expand Down
7 changes: 7 additions & 0 deletions src/routes/dictionary/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { page } from '$app/stores';
import { createQuery } from '@tanstack/svelte-query';
import SeoHandler from '$lib/shared/seo/SeoHandler.svelte';
import DataUnavailableCallout from '$lib/shared/shared/components/DataUnavailableCallout.svelte';
import SimpleHeroSection from '$lib/shared/shared/components/SimpleHeroSection.svelte';
import { Card, CardHeader, CardTitle, CardDescription } from '$lib/vgui/components/ui/card';
Expand Down Expand Up @@ -29,6 +30,12 @@
};
</script>

<SeoHandler
metaTags={{
title: 'Dictionary'
}}
/>

<SimpleHeroSection title="Dictionary" tagline="Part of our memory palace">
They are the building blocks of our language. Behind every phrase there is a story, a history, a
culture. They have become the carriers of our history.
Expand Down
7 changes: 7 additions & 0 deletions src/routes/games/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import Icon from '@iconify/svelte';
import { createQuery, useQueryClient } from '@tanstack/svelte-query';
import SeoHandler from '$lib/shared/seo/SeoHandler.svelte';
import SectionHeading from '$lib/shared/shared/components/SectionHeading.svelte';
import SimpleHeroSection from '$lib/shared/shared/components/SimpleHeroSection.svelte';
import { Badge } from '$lib/vgui/components/ui/badge';
Expand Down Expand Up @@ -48,6 +49,12 @@
}
</script>

<SeoHandler
metaTags={{
title: 'Gaming Votes'
}}
/>

<SimpleHeroSection title="Gaming Votes" tagline="Vote your favours games to play">
<Button slot="cta" href="/games/proposals">Make Proposal</Button>
</SimpleHeroSection>
Expand Down
7 changes: 7 additions & 0 deletions src/routes/games/proposals/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script lang="ts">
import SeoHandler from '$lib/shared/seo/SeoHandler.svelte';
import DataUnavailableCallout from '$lib/shared/shared/components/DataUnavailableCallout.svelte';
import SimpleHeroSection from '$lib/shared/shared/components/SimpleHeroSection.svelte';
import Section from '$lib/vgui/section/Section.svelte';
Expand All @@ -10,6 +11,12 @@
export let data: PageData;
</script>

<SeoHandler
metaTags={{
title: 'Game Proposal'
}}
/>

<SimpleHeroSection title="Proposal a Game to Play" tagline="Let's play my game!!" />

<Section width="xl">
Expand Down

0 comments on commit 79db661

Please sign in to comment.