Skip to content

Commit

Permalink
Done!
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneWizard08 committed Nov 20, 2024
1 parent 8453f34 commit 27e89f2
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="index, follow" />
%unocss-svelte-scoped.global% %sveltekit.head%
</head>
<body
Expand Down
15 changes: 15 additions & 0 deletions src/components/MetaTags.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script lang="ts">
import logo from "../assets/logo.gif";
const { title, desc }: { title: string; desc: string } = $props();
</script>

<meta name="description" content={desc} />

<meta property="og:title" content={title} />
<meta property="og:type" content="website" />
<meta property="og:image" content={logo} />

<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={desc} />
<meta name="twitter:image" content={logo} />
7 changes: 6 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<script lang="ts">
import MetaTags from "../components/MetaTags.svelte";
</script>

<svelte:head>
<title>Create Technomancy</title>
<meta name="description" content="A Create addon blending the themes of magic and technology into one!" />

<MetaTags
title="Create Technomancy"
desc="A Create addon blending the themes of magic and technology into one!"
/>
</svelte:head>

<div class="w-full min-h-screen flex flex-col items-center justify-start bg-img-technomancy">
Expand Down
8 changes: 7 additions & 1 deletion src/routes/blogs/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<script lang="ts">
import MetaTags from "../../components/MetaTags.svelte";
</script>

<svelte:head>
<title>Blogs | Create Technomancy</title>
<title>Blog Posts | Create Technomancy</title>

<MetaTags
title="Blog Posts"
desc="Blog posts, sneak peeks, and status updates for Create Technomancy!"
/>
</svelte:head>

<div class="w-full min-h-screen flex flex-col items-center justify-start bg-img-technomancy">
Expand Down
6 changes: 6 additions & 0 deletions src/routes/blogs/2024-11-19/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import moment from "moment";
import BlogHead from "../../../components/blogs/BlogHead.svelte";
import BlogSection from "../../../components/blogs/BlogSection.svelte";
import MetaTags from "../../../components/MetaTags.svelte";
const blogInfo = {
title: "We are so back!",
Expand All @@ -12,6 +13,11 @@

<svelte:head>
<title>We are so back | Create Technomancy</title>

<MetaTags
title="We are so back"
desc="We're back! After what seems like forever with this mod being dead, we're finally back!"
/>
</svelte:head>

<div class="w-full min-h-screen flex flex-col items-center justify-center bg-img-technomancy mt-16">
Expand Down
3 changes: 3 additions & 0 deletions src/routes/team/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
emma,
happyg,
} from "$lib/team";
import MetaTags from "../../components/MetaTags.svelte";
import Person from "../../components/Person.svelte";
const team = [
Expand Down Expand Up @@ -44,6 +46,7 @@

<svelte:head>
<title>Our Team | Create Technomancy</title>
<MetaTags title="Our Team" desc="A list of the incredible members of our team!" />

{#each [...team, ...contributors] as people}
<link rel="preload" as="image" href={people.avatar} />
Expand Down

0 comments on commit 27e89f2

Please sign in to comment.