Document (5) (3)
Document (5) (3)
DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?
family=Baskerville+Old+Face" rel="stylesheet">
<style>
body {
margin: 0;
padding: 0;
background-color: #f5f5f5;
color: #333;
.auth-container {
display: flex;
height: 100vh;
.welcome-section {
flex: 1;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 5%;
.auth-section {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: white;
.auth-form {
width: 70%;
.form-title {
font-size: 2.5rem;
margin-bottom: 2rem;
color: #1e3c72;
.form-group {
margin-bottom: 1.5rem;
input {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
button {
width: 100%;
padding: 12px;
background-color: #1e3c72;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
button:hover {
background-color: #2a5298;
.auth-toggle {
margin-top: 1rem;
text-align: center;
.auth-toggle a {
color: #1e3c72;
text-decoration: none;
font-weight: bold;
</style>
</head>
<body>
<div class="auth-container">
<div class="welcome-section">
</p>
</div>
<div class="auth-section">
<h2 class="form-title">Connexion</h2>
<div class="form-group">
</div>
<div class="form-group">
</div>
</div>
</div>
<h2 class="form-title">Inscription</h2>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<button type="submit">S'inscrire</button>
<div class="auth-toggle">
</div>
</div>
</div>
</div>
<script>
function showRegister() {
document.getElementById('login-form').style.display = 'none';
document.getElementById('register-form').style.display = 'block';
function showLogin() {
document.getElementById('register-form').style.display = 'none';
document.getElementById('login-form').style.display = 'block';
</script>
</body>
</html>