-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(qrcode): add qr code + add matomo event on iframe
- Loading branch information
1 parent
42edf08
commit 7f2af23
Showing
7 changed files
with
145 additions
and
16 deletions.
There are no files selected for viewing
17 changes: 16 additions & 1 deletion
17
frontend-next/src/app/landing/[city]/[indicator]/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
export { Layout as default } from '@/components/Layout'; | ||
import { Footer } from '@/components/Footer'; | ||
import { Header } from '@/components/landing/Header'; | ||
import { Banner } from '@/components/banner'; | ||
import { Toaster } from '@/components/toast'; | ||
|
||
export default function Layout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<> | ||
<Banner /> | ||
<Header /> | ||
<main className='flex-auto'>{children}</main> | ||
<Toaster position='top-right' expand={false} /> | ||
<Footer /> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
'use client'; | ||
|
||
import { Container } from '@/components/Container'; | ||
import { Logo } from '@/components/Logo'; | ||
import { GouvLogo } from '@/images/logos/gouv'; | ||
|
||
export function Header() { | ||
return ( | ||
<header> | ||
<nav> | ||
<Container className='relative z-50 flex justify-between py-8'> | ||
<div className='relative z-10 flex items-center gap-16 w-full justify-between'> | ||
<div | ||
aria-label='Home' | ||
className='flex items-center w-full justify-between' | ||
> | ||
<Logo className='h-20 w-auto' /> | ||
<GouvLogo className='h-32 w-auto ' /> | ||
</div> | ||
</div> | ||
</Container> | ||
</nav> | ||
</header> | ||
); | ||
} |
Oops, something went wrong.