From 532a92fca21933961949fd00b308aadb261a33e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Tue, 21 Apr 2026 19:31:26 +0400 Subject: [PATCH] Adapt components with new css & NextJs rules --- app/awtis/page.js | 2 +- app/error.js | 3 +- app/not-found.js | 3 +- app/sipote/page.js | 4 +- components/akey/aso.js | 2 +- components/akey/index.js | 9 +-- components/akey/kat-akey.js | 2 +- components/akey/statistik.js | 2 +- components/awtis/awtis-detay.js | 16 ++--- components/awtis/awtis-kat.js | 2 +- components/awtis/cheche-awtis.js | 4 +- components/awtis/pajinasyon.js | 4 +- components/cgu/index.js | 98 +++++++++++++-------------- components/rezo/kat-rezo-nou.js | 2 +- components/sesyon/koneksyon.js | 10 +-- components/soumet/ekri-teks.js | 2 +- components/soutyen/payment-method.js | 2 +- components/soutyen/presantasyon.js | 12 ++-- components/stats/kat-stats.js | 2 +- components/stats/traductions-stats.js | 2 +- components/teks/denye-teks.js | 4 +- components/teks/lekte.js | 4 +- components/teks/pataje.js | 4 +- components/teks/teks-kat.js | 2 +- components/teks/teks.js | 14 ++-- components/teks/vwe-koute-achte.js | 4 +- 26 files changed, 110 insertions(+), 105 deletions(-) diff --git a/app/awtis/page.js b/app/awtis/page.js index bcc7636..4137b44 100644 --- a/app/awtis/page.js +++ b/app/awtis/page.js @@ -1,7 +1,7 @@ import {notFound} from 'next/navigation' import Box from '@mui/material/Box' import Container from '@mui/material/Container' -import Grid from '@mui/material/Grid2' +import Grid from '@mui/material/Grid' import ChecheAwtis from '../../components/awtis/cheche-awtis' import AwtisKat from '../../components/awtis/awtis-kat' diff --git a/app/error.js b/app/error.js index c0f4fe8..7d282f5 100644 --- a/app/error.js +++ b/app/error.js @@ -11,7 +11,8 @@ export default function Error() { width={192} height={192} src='/logo-192x192.png' - quality={20} + quality={[20, 75]} + loading='eager' /> 500 - Erreur du serveur 😭 Nous mettons tout en Ɠuvre pour rĂ©tablir le site dans les plus brefs dĂ©lais đŸ’ȘđŸŸ diff --git a/app/not-found.js b/app/not-found.js index b45ff7b..407ef73 100644 --- a/app/not-found.js +++ b/app/not-found.js @@ -11,7 +11,8 @@ export default function NotFound() { width={192} height={192} src='/logo-192x192.png' - quality={20} + quality={[20, 75]} + loading='eager' /> 404 - La page n’existe pas 😔 diff --git a/app/sipote/page.js b/app/sipote/page.js index b2bdcf6..427436f 100644 --- a/app/sipote/page.js +++ b/app/sipote/page.js @@ -11,10 +11,10 @@ export default function Sipote() { const [paymentMethod, setPaymentMethod] = useState(0) return ( - + - + Soutenir ORGANISATION KA INTERNATIONALE ! diff --git a/components/akey/aso.js b/components/akey/aso.js index f331a21..f0a6dbc 100644 --- a/components/akey/aso.js +++ b/components/akey/aso.js @@ -3,7 +3,7 @@ import {Container, Link, Typography} from '@mui/material' export default function Aso() { return ( - + Qui sommes-nous ? diff --git a/components/akey/index.js b/components/akey/index.js index 286c65c..cd5a50b 100644 --- a/components/akey/index.js +++ b/components/akey/index.js @@ -2,14 +2,14 @@ import PropTypes from 'prop-types' import Container from '@mui/material/Container' import Typography from '@mui/material/Typography' import Box from '@mui/material/Box' -import Grid from '@mui/material/Grid2' +import Grid from '@mui/material/Grid' import Button from '@mui/material/Button' import Image from 'next/image' import Link from 'next/link' export default function Akey({logo}) { return ( - + @@ -22,6 +22,7 @@ export default function Akey({logo}) { height={32} alt='OKI logo' src={logo} + loading='eager' /> @@ -32,8 +33,8 @@ export default function Akey({logo}) { - - + +