Skip to content

Commit

Permalink
fix: seo
Browse files Browse the repository at this point in the history
  • Loading branch information
jouwdan committed May 4, 2024
1 parent 641cdfd commit 342d54d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
export let data;
</script>

<svelte:head>
<title>Jordan Harrison | Frontend Developer & GDG Portlaoise Organizer</title>
<meta
name="description"
content="Jordan Harrison is a frontend developer, creative, and founder & organizer of GDG Portlaoise."
/>
</svelte:head>

<div class="container min-h-[70vh] content-center 2xl:min-h-[50vh]">
<div class="flex flex-col-reverse lg:flex-row">
<div class="w-full content-center lg:max-w-[60%]">
Expand Down
4 changes: 4 additions & 0 deletions src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
];
</script>

<svelte:head>
<title>Jordan Harrison | About</title>
</svelte:head>

<div class="container">
<h1 class="py-8 text-3xl font-bold">About Me</h1>
<div class="mx-auto max-w-[65ch]">
Expand Down
4 changes: 4 additions & 0 deletions src/routes/blog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
export let data;
</script>

<svelte:head>
<title>Jordan Harrison | Blog</title>
</svelte:head>

<div class="container">
<h1 class="py-8 text-3xl font-bold">Blog</h1>
<div class="grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4">
Expand Down
4 changes: 4 additions & 0 deletions src/routes/blog/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
export let data;
</script>

<svelte:head>
<title>Jordan Harrison | {data.title}</title>
</svelte:head>

<div class="bg-cover bg-center text-center" style="background-image: url({data.cover});">
<div class="h-full w-full bg-slate-900 bg-opacity-80 px-12">
<h1 class="pb-4 pt-20 text-2xl font-bold text-white">{data.title}</h1>
Expand Down

0 comments on commit 342d54d

Please sign in to comment.