mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
refactor: Création de nouveaux composants / update formulaire de
création de classe (#2)
This commit is contained in:
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user