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

Commit

Permalink
Add basic meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniils Petrovs committed Jul 28, 2024
1 parent a933337 commit e6322e5
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"prettier-plugin-tailwindcss": "^0.6.5",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"svelte-meta-tags": "^3.1.2",
"tailwindcss": "^3.4.4",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
Expand Down
24 changes: 24 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<script>
import SeatForm from "$lib/components/SeatForm.svelte";
import SeatForm from '$lib/components/SeatForm.svelte';
import { MetaTags } from 'svelte-meta-tags';
</script>

<section class="p-4 max-w-xl mx-auto">
<title>BDPP | Home</title>
<meta name="description" content="Breaking Dimensions Penlight Project home." />

<MetaTags title="BDPP | Home" description="Breaking Dimensions Penlight Project" />

<section class="mx-auto max-w-xl p-4">
<SeatForm />
</section>
16 changes: 14 additions & 2 deletions src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
<section class="space-y-4 p-4 max-w-2xl mx-auto">
<script lang="ts">
import { MetaTags } from 'svelte-meta-tags';
</script>

<title>BDPP | About</title>
<meta name="description" content="Breaking Dimensions Penlight Project information page." />

<MetaTags
title="BDPP | About"
description="Breaking Dimensions Penlight Project information page."
/>

<section class="mx-auto max-w-2xl space-y-4 p-4">
<h1
class="mb-4 bg-gradient-to-br from-primary-600 to-secondary-600 bg-clip-text text-4xl xl:text-6xl font-bold tracking-tight text-transparent"
class="mb-4 bg-gradient-to-br from-primary-600 to-secondary-600 bg-clip-text text-4xl font-bold tracking-tight text-transparent xl:text-6xl"
>
HoloENLight Breaks Dimensions!
</h1>
Expand Down

0 comments on commit e6322e5

Please sign in to comment.