CoolFace
Apppublic

Mery3391/YAMNET

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
signup.html143 linesDownload Raw Back to frontend
1<!DOCTYPE html>2<html lang="fr" dir="ltr">3<head>4  <meta charset="UTF-8"/>5  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>6  <title>DarijaEmotions — Inscription</title>7  <link rel="stylesheet" href="css/base.css"/>8  <link rel="stylesheet" href="css/auth.css"/>9</head>10<body>11 12<div class="auth-page">13  <div class="auth-box">14 15    <!-- Titre Créer un compte avec Great Vibes -->16    <h1 class="auth-title">Créer un compte</h1>17    <p class="auth-sub">Rejoignez DarijaEmotions et commencez l'analyse.</p>18 19    <!-- Error -->20    <div class="auth-error" id="auth-error">21      <svg viewBox="0 0 24 24">22        <circle cx="12" cy="12" r="10"/>23        <line x1="12" y1="8" x2="12" y2="12"/>24        <line x1="12" y1="16" x2="12.01" y2="16"/>25      </svg>26      <span></span>27    </div>28 29    <form id="signup-form" method="POST">30      <div class="form-group">31        <label class="form-label" for="signup-name">Nom complet</label>32        <input33          class="form-input"34          type="text"35          id="signup-name"36          name="name"37          placeholder="Votre nom"38          autocomplete="name"39          required40        />41      </div>42 43      <div class="form-group">44        <label class="form-label" for="signup-email">Email</label>45        <input46          class="form-input"47          type="email"48          id="signup-email"49          name="email"50          placeholder="vous@exemple.com"51          autocomplete="email"52          required53        />54      </div>55 56      <div class="form-group">57        <label class="form-label" for="signup-password">Mot de passe</label>58        <div class="input-wrap">59          <input60            class="form-input"61            type="password"62            id="signup-password"63            name="password"64            placeholder="Au moins 6 caractères"65            autocomplete="new-password"66            required67          />68          <button type="button" class="pw-toggle" aria-label="Afficher/masquer le mot de passe">69            <svg class="icon-eye" viewBox="0 0 24 24">70              <path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>71              <circle cx="12" cy="12" r="3"/>72            </svg>73            <svg class="icon-eye-off" viewBox="0 0 24 24" style="display:none">74              <path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94"/>75              <path d="M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19"/>76              <line x1="1" y1="1" x2="23" y2="23"/>77            </svg>78          </button>79        </div>80      </div>81 82      <div class="form-group">83        <label class="form-label" for="signup-confirm">Confirmer le mot de passe</label>84        <div class="input-wrap">85          <input86            class="form-input"87            type="password"88            id="signup-confirm"89            name="confirm"90            placeholder="Répétez le mot de passe"91            autocomplete="new-password"92            required93          />94          <button type="button" class="pw-toggle" aria-label="Afficher/masquer le mot de passe">95            <svg class="icon-eye" viewBox="0 0 24 24">96              <path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>97              <circle cx="12" cy="12" r="3"/>98            </svg>99            <svg class="icon-eye-off" viewBox="0 0 24 24" style="display:none">100              <path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94"/>101              <path d="M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19"/>102              <line x1="1" y1="1" x2="23" y2="23"/>103            </svg>104          </button>105        </div>106      </div>107 108      <button type="submit" class="btn-auth">109        <span class="spinner"></span>110        <span class="btn-label">Créer mon compte</span>111      </button>112    </form>113 114    <div class="auth-divider">ou</div>115 116    <button class="btn-google" type="button">117      <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">118        <path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4"/>119        <path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/>120        <path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/>121        <path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/>122      </svg>123      Continuer avec Google124    </button>125 126    <p class="auth-switch">127      Déjà un compte ?128      <a class="auth-link" href="login.html">Se connecter</a>129    </p>130 131  </div>132</div>133 134<script src="js/auth.js"></script>135<script>136  // Si déjà connecté, rediriger vers dashboard137  if (sessionStorage.getItem("ve_user")) {138    window.location.href = "/index.html";139  }140</script>141 142</body>143</html>