Add login page and social login integration
- Implement `LoginPage`, `LoginForm`, and `SocialForm` components. - Add language toggle and dynamic title support. - Update `tsconfig.electron.json` for stricter settings. - Add `electron-store` and associated types for token storage. - Update `package.json` scripts and dependencies for Electron compatibility.
This commit is contained in:
22
app/login/layout.tsx
Executable file
22
app/login/layout.tsx
Executable file
@@ -0,0 +1,22 @@
|
||||
import "../globals.css";
|
||||
import {ReactNode} from "react";
|
||||
import LoginWrapper from "@/app/login/LoginWrapper";
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<title>ERitors - Connexion</title>
|
||||
<meta name="description" content="Connectez-vous à votre compte ERitors" />
|
||||
<link rel="icon" href="/eritors-favicon-white.png" />
|
||||
</head>
|
||||
<body>
|
||||
<LoginWrapper children={children}/>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user