Skip to content

Commit

Permalink
ajoute un logo
Browse files Browse the repository at this point in the history
fixes #236
  • Loading branch information
mquandalle committed Oct 27, 2023
1 parent 1adb9f4 commit f995145
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/routes/(front)/(search)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
import Search from '$lib/components/Search.svelte';
</script>

<p class="text-gray-800 mt-1 w-full max-w-screen-md m-auto">
Trouvez les aides à l’achat d’un vélo
</p>
<Search />
{#if $page !== '/'}
<PaneNavigation
Expand Down
25 changes: 20 additions & 5 deletions src/routes/(front)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,29 @@
<div class="app px-3 sm:px-8 {!isEmbeded ? 'h-screen' : ''} flex flex-col" bind:this={pageElement}>
<header
class="{!isEmbeded
? 'mt-8'
: ''} w-full max-w-screen-md m-auto flex flex-row justify-between items-end"
class="{!isEmbeded ? 'mt-8' : ''} w-full max-w-screen-md m-auto flex flex-row items-center"
>
{#if !isEmbeded}
<a href="/" class="hover:opacity-85 transform transition-transform hover:translate-y-0.5"
><img
src="/images/logo.svg"
alt="logo MesAidesVélo"
heigt="55"
width="88"
class="mr-4 float-left"
/></a
>
<div class="flex flex-col">
<a href="/" class="text-3xl font-bold cursor-pointer">
Mes<span class="text-green-800">Aides</span>Vélo
</a>
<p class="text-gray-800 mt-0 pt-0 w-full max-w-screen-md m-auto">
Trouvez les aides à l’achat d’un vélo
</p>
</div>
{:else}
<a href="/" class="text-3xl font-bold cursor-pointer">
Mes<span class="text-green-800">Aides</span>Vélo
<Emoji emoji="🚲" className="-mt-2" />
Mes<span class="text-green-800">Aides</span>Vélo.fr
</a>
{/if}
</header>
Expand Down
1 change: 1 addition & 0 deletions static/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f995145

Please sign in to comment.