Skip to content

Commit 839231a

Browse files
committed
add block
1 parent 207274f commit 839231a

File tree

6 files changed

+31
-14
lines changed

6 files changed

+31
-14
lines changed

public/locales/en.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
"tag": "End to end encryption",
5858
"title": "Decipher me, if you can",
5959
"description": "Fully encripted communication and collaboration for full-blown sovereignty. E2EE, quantum proof encryption, Matrix protocol, PGP, Zero Knowledge Proof ..."
60+
},
61+
"8": {
62+
"tag": "Carte blanche",
63+
"title": "Bring your own track.",
64+
"description": "If none of the topics suit you, you can, of course, propose your own."
6065
}
6166
}
6267
},
@@ -75,7 +80,7 @@
7580
"tag": "Program",
7681
"title": "GO!",
7782
"description": "3 days to sprint towards digital sovereignty! During the three days, meal trays will be provided.",
78-
"button": "Reserve my ticket",
83+
"button": "Book my ticket",
7984
"days": {
8085
"1": {
8186
"date": "2 June",
@@ -99,7 +104,7 @@
99104
},
100105
"histoire": {
101106
"tag": "News",
102-
"title": "The story is already being written!",
107+
"title": "We are already making history!",
103108
"news": {
104109
"hn": {
105110
"title": "Docs #1 on Hacker News",

public/locales/fr.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
"tag": "Chiffrement de bout en bout.",
5858
"title": "Decipher me, if you can",
5959
"description": "Communication et collaboration entièrement chiffrées pour une souveraineté totale. E2EE, chiffrement résistant aux quantiques, protocole Matrix, PGP, preuve à connaissance nulle ..."
60+
},
61+
"8": {
62+
"tag": "Carte blanche.",
63+
"title": "Bring your own track",
64+
"description": "Si aucun sujet ne vous convient, vous pourrez évidemment proposer le votre."
6065
}
6166
}
6267
},

src/locales/useTranslations.tsx

Whitespace-only changes.

src/pages/_app.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import Head from 'next/head'
22
import '@/styles/globals.css'
3-
import { useEffect } from 'react'
43
import React from 'react'
54
import type { AppProps } from 'next/app'
5+
import { useTranslations } from '@/hooks/useTranslations'
6+
import { useEffect, useState } from 'react'
67

78
function App({ Component, pageProps }: AppProps) {
8-
useEffect(() => {
9-
}, [])
109

1110
return (
1211
<>
@@ -32,14 +31,16 @@ function App({ Component, pageProps }: AppProps) {
3231
property="og:image"
3332
content="/images/rs.png"
3433
/>
34+
<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" />
37+
<link rel="preload" href="/images/hero-mobile.png" as="image" />
38+
<link rel="preload" href="/images/hero-matrix.webp" as="image" />
3539
<link rel="preload" href="/fonts/DMMono-Medium.ttf" as="font" type="font/woff2" crossOrigin="anonymous" />
3640
<link rel="preload" href="/fonts/Mullingar.ttf" as="font" type="font/woff2" crossOrigin="anonymous" />
3741
<link rel="preload" href="/fonts/DMMono-Regular.ttf" as="font" type="font/woff2" crossOrigin="anonymous" />
3842
<link rel="preload" href="/fonts/DMSans.ttf" as="font" type="font/woff2" crossOrigin="anonymous" />
3943
<link rel="preload" href="/fonts/Domine.ttf" as="font" type="font/woff2" crossOrigin="anonymous" />
40-
<link rel="preload" href="/images/hero.webp" as="image" />
41-
<link rel="preload" href="/images/hero-mobile.png" as="image" />
42-
<link rel="preload" href="/images/hero-matrix.webp" as="image" />
4344

4445
</Head>
4546
<Component {...pageProps} />

src/sections/AVosMarques.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ export function AVosMarques() {
130130
tag: t('avosmarques.cards.7.tag'),
131131
title: t('avosmarques.cards.7.title'),
132132
description: t('avosmarques.cards.7.description'),
133+
},
134+
{
135+
icon: "🃏",
136+
tag: t('avosmarques.cards.8.tag'),
137+
title: t('avosmarques.cards.8.title'),
138+
description: t('avosmarques.cards.8.description'),
133139
}
134140
]
135141

src/sections/Prets.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ export function Prets() {
3232
</AnimatedSection>
3333
<div className="grid md:grid-cols-2 md:gap-10 mt-8 md:mt-[40px]">
3434
<AnimatedSection delay={0.2}>
35-
<div className="rounded-[16px] overflow-hidden card-box-shadow">
36-
<img src={`${locale === 'en' ? ScreenShotDocsEn.src : ScreenShotDocs.src}`} className="hidden md:block" />
35+
<div className="">
36+
<img src={`${locale === 'en' ? ScreenShotDocsEn.src : ScreenShotDocs.src}`} className="hidden rounded-[16px] md:block w-full card-box-shadow" />
3737
<img src={`${locale === 'en' ? ScreenShotDocsMobileEn.src : ScreenShotDocsMobile.src}`}
38-
className="md:hidden" />
38+
className="md:hidden rounded-[6.9%] w-full card-box-shadow" />
3939
</div>
4040
<div className="flex items-center justify-between mt-6 ml-1">
4141
<img src={LogoDocs.src} className="w-[100px] md:w-[148px]" />
@@ -49,9 +49,9 @@ export function Prets() {
4949

5050
<div className="mt-8 md:mt-0">
5151
<AnimatedSection delay={0.2}>
52-
<div className="rounded-[16px] overflow-hidden card-box-shadow">
53-
<img src={ScreenShotVisio.src} className="hidden md:block" />
54-
<img src={ScreenShotVisioMobile.src} className="md:hidden" />
52+
<div className="">
53+
<img src={ScreenShotVisio.src} className="hidden md:block w-full rounded-[16px] card-box-shadow" />
54+
<img src={ScreenShotVisioMobile.src} className="md:hidden w-full rounded-[6.9%] card-box-shadow" />
5555
</div>
5656
<div className="flex items-center justify-between mt-6 ml-1">
5757
<img src={LogoVisio.src} className="w-[100px] md:w-[148px]" />

0 commit comments

Comments
 (0)