File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
frontend/src/app/[locale]/_partials Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11'use client' ;
22
3+ import { ArrowIcon } from '@/components' ;
4+ import { usePathLocale } from '@/hooks/usePathLocale' ;
35import clsx from 'clsx' ;
46import { useTranslations } from 'next-intl' ;
57import Image from 'next/image' ;
68import Link from 'next/link' ;
79import { usePathname } from 'next/navigation' ;
810import { useEffect , useRef , useState } from 'react' ;
9- import { usePathLocale } from '@/hooks/usePathLocale' ;
10- import { ArrowIcon } from '@/components' ;
1111
1212const Header = ( ) => {
1313 const pathname = usePathname ( ) ;
@@ -18,7 +18,7 @@ const Header = () => {
1818 const [ isScrolled , setIsScrolled ] = useState ( false ) ;
1919
2020 const topNav : Record < string , string > = {
21- volunteer : 'https://ffb35838.sibforms.com/serve/MUIEAOPtEpVbDgcqr78ZqBZ4e29fMDkyLfy8STH6MkmxU5ePAP5_NQQeWEI0nR8fdBds27Va8cMSjjzNni1iqd_mpJsZS8uQUA95o0Tg3njStpz8nDV59tRiQJ_ZWBat1uyRjTYtyVHMpV3I--z4g14Ggsji0895jBcQr70arsW82eFJGwC8fgxYOvnPL-rFQcNwmjkA5JTbjcvd ' ,
21+ volunteer : 'https://authentik.services.dataforgood.fr/if/flow/default-authentication-flow/?next=%2F ' ,
2222 project : 'https://noco.services.dataforgood.fr/dashboard/#/nc/form/88489f59-98e8-4e80-8d7b-a8711fd8fb49' ,
2323 financier : usePathLocale ( '/donations' ) ,
2424 } ;
@@ -74,7 +74,7 @@ const Header = () => {
7474 && navRef ?. current
7575 ?. querySelector ( `[data-ref="toggleClose"]` )
7676 ?. checkVisibility ( )
77- && e . code === 'Escape'
77+ && e . code === 'Escape'
7878 ) {
7979 return toggleNav ( false ) ;
8080 }
You can’t perform that action at this time.
0 commit comments