Skip to content

Commit 69ed1da

Browse files
committed
preload traductions
1 parent 839231a commit 69ed1da

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/pages/_app.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import Head from 'next/head'
22
import '@/styles/globals.css'
33
import React from 'react'
44
import type { AppProps } from 'next/app'
5-
import { useTranslations } from '@/hooks/useTranslations'
6-
import { useEffect, useState } from 'react'
75

86
function App({ Component, pageProps }: AppProps) {
97

@@ -14,7 +12,12 @@ function App({ Component, pageProps }: AppProps) {
1412
<meta
1513
key="ogtitle"
1614
property="og:title"
17-
content="HackDays - Hackathon Digital Workspace - 2, 3 et 4 Juin 2025"
15+
content="HackDays - Hackathon Digital Workspace"
16+
/>
17+
<meta
18+
key="ogdescription"
19+
property="og:description"
20+
content="Les 2, 3 et 4 Juin 2025 - Travaillons ensemble à développer des outils souverains & open source"
1821
/>
1922
<link
2023
href="favicon.png"
@@ -32,8 +35,8 @@ function App({ Component, pageProps }: AppProps) {
3235
content="/images/rs.png"
3336
/>
3437
<link rel="preload" href="/images/hero.webp" as="image" />
35-
<link rel="preload" href="/locales/fr.json" as="fetch" type="application/json" crossorigin="anonymous" />
36-
<link rel="preload" href="/locales/en.json" as="fetch" type="application/json" crossorigin="anonymous" />
38+
<link rel="preload" href="/locales/fr.json" as="fetch" type="application/json" />
39+
<link rel="preload" href="/locales/en.json" as="fetch" type="application/json" />
3740
<link rel="preload" href="/images/hero-mobile.png" as="image" />
3841
<link rel="preload" href="/images/hero-matrix.webp" as="image" />
3942
<link rel="preload" href="/fonts/DMMono-Medium.ttf" as="font" type="font/woff2" crossOrigin="anonymous" />

0 commit comments

Comments
 (0)