Skip to content

Commit

Permalink
Merge pull request #167 from seanmorley15/development
Browse files Browse the repository at this point in the history
SEO Optimization
  • Loading branch information
seanmorley15 authored Aug 6, 2024
2 parents fd09694 + 143f84e commit 5386ffa
Show file tree
Hide file tree
Showing 14 changed files with 80 additions and 8 deletions.
5 changes: 4 additions & 1 deletion frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,8 @@

<svelte:head>
<title>Home | AdventureLog</title>
<meta name="description" content="AdventureLog is a platform to log your adventures." />
<meta
name="description"
content="AdventureLog is a platform to log your adventures and plan your travel."
/>
</svelte:head>
6 changes: 5 additions & 1 deletion frontend/src/routes/activities/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@
{/each}
</tbody>
</table>
<!-- </ul> -->

<svelte:head>
<title>My Activities</title>
<meta name="description" content="View my activity types." />
</svelte:head>
5 changes: 5 additions & 0 deletions frontend/src/routes/adventures/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,8 @@
</ul>
</div>
</div>

<svelte:head>
<title>Adventures</title>
<meta name="description" content="View your completed and planned adventures." />
</svelte:head>
9 changes: 9 additions & 0 deletions frontend/src/routes/adventures/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,12 @@
</main>
</div>
{/if}

<svelte:head>
<title
>{data.props.adventure && data.props.adventure.name
? `${data.props.adventure.name}`
: 'Adventure'}</title
>
<meta name="description" content="Explore the world and add countries to your visited list!" />
</svelte:head>
5 changes: 5 additions & 0 deletions frontend/src/routes/collections/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,8 @@
</ul>
</div>
</div>

<svelte:head>
<title>Collections</title>
<meta name="description" content="View your adventure collections." />
</svelte:head>
14 changes: 14 additions & 0 deletions frontend/src/routes/collections/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -616,3 +616,17 @@
</MapLibre>
{/if}
{/if}

<svelte:head>
<title
>{data.props.adventure && data.props.adventure.name
? `${data.props.adventure.name}`
: 'Collection'}</title
>
<meta
name="description"
content="Learn more about {data.props.adventure && data.props.adventure.name
? `${data.props.adventure.name}.`
: 'your adventures.'}"
/>
</svelte:head>
5 changes: 5 additions & 0 deletions frontend/src/routes/map/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@
{/each}
</MapLibre>

<svelte:head>
<title>Travel Map</title>
<meta name="description" content="View your travels on a map." />
</svelte:head>

<style>
:global(.map) {
height: 500px;
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/routes/profile/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@
</div>
</div>
{/if}

<svelte:head>
<title>Profile | AdventureLog</title>
<meta name="description" content="{data.user.first_name}'s profile on AdventureLog." />
</svelte:head>
5 changes: 5 additions & 0 deletions frontend/src/routes/search/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,8 @@
{/each}
</div>
{/if}

<svelte:head>
<title>Search{query ? `: ${query}` : ''}</title>
<meta name="description" content="Search your adventures." />
</svelte:head>
5 changes: 5 additions & 0 deletions frontend/src/routes/settings/forgot-password/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
{/if}
</form>
</div>

<svelte:head>
<title>Forgot Password</title>
<meta name="description" content="Reset your password for AdventureLog." />
</svelte:head>
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,8 @@
</div>
</div>
{/if}

<svelte:head>
<title>Password Reset Confirm</title>
<meta name="description" content="Confirm your password reset and make a new password." />
</svelte:head>
7 changes: 2 additions & 5 deletions frontend/src/routes/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@
</div>

<svelte:head>
<title>Login | AdventureLog</title>
<meta
name="description"
content="Login to your AdventureLog account to start logging your adventures!"
/>
<title>Signup</title>
<meta name="description" content="Signup for AdventureLog to explore the world!" />
</svelte:head>
2 changes: 1 addition & 1 deletion frontend/src/routes/worldtravel/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
</div>

<svelte:head>
<title>WorldTravel | AdventureLog</title>
<title>Countries | World Travel</title>
<meta name="description" content="Explore the world and add countries to your visited list!" />
</svelte:head>
10 changes: 10 additions & 0 deletions frontend/src/routes/worldtravel/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@
/>
{/each}
</div>

<svelte:head>
<title
>{data.props && data.props.country ? `Regions in ${data.props.country.name}` : 'Regions'}</title
>
<meta
name="description"
content="View the regions in countries and mark them visited to track your world travel."
/>
</svelte:head>

0 comments on commit 5386ffa

Please sign in to comment.