Skip to content

Commit

Permalink
feat(frontend): Add titles to public pages
Browse files Browse the repository at this point in the history
  • Loading branch information
aripot007 committed Sep 15, 2024
1 parent a374c6c commit 3e82de8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/routes/auth/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
}
</style>

<svelte:head>
<title>OpenBar - Connexion</title>
</svelte:head>

<!-- Connect with Google at the middle of the screen -->
<div class="flex flex-col items-center justify-center h-screen">
<h1 class="font-semibold text-3xl m-3">OpenBar</h1>
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/routes/client/commande/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@
}
</style>

<svelte:head>
<title>OpenBar - Commander</title>
</svelte:head>


{#if confirm}
<Confirm custom_text="Envoyer la commande ?" callback={confirmOrder}/>
{/if}
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/routes/client/index/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
}
</script>

<svelte:head>
<title>OpenBar - Mon compte</title>
</svelte:head>


{#if account !== undefined}
<div class="grid lg:grid-cols-3 grid-cols-1 gap-16 p-16 w-full">
<!-- Previous orders column -->
Expand Down

0 comments on commit 3e82de8

Please sign in to comment.