refactor: Création de nouveaux composants / update formulaire de

création de classe (#2)
This commit is contained in:
N3WT DE COMPET
2024-12-14 15:28:07 +01:00
parent cf144310a1
commit 7acae479da
43 changed files with 2374 additions and 441 deletions

View File

@ -1,9 +1,9 @@
import React from 'react';
import { NextIntlClientProvider } from 'next-intl';
import {NextIntlClientProvider} from 'next-intl';
import {getMessages} from 'next-intl/server';
import "@/css/tailwind.css";
export const metadata = {
title: "N3WT-SCHOOL",
description: "Gestion de l'école",
@ -21,10 +21,7 @@ export const metadata = {
},
};
export default async function RootLayout({ children, params: {locale}}) {
// Providing all messages to the client
// side is the easiest way to get started
export default async function RootLayout({ children, params: { locale } }) {
const messages = await getMessages();
return (
@ -37,5 +34,3 @@ export default async function RootLayout({ children, params: {locale}}) {
</html>
);
}