modification favicon et balise title + disable champ email sur la page profile

This commit is contained in:
Alexis SANOGO
2026-06-26 15:57:05 +02:00
parent 2d25c91c55
commit fba0a7133c
3 changed files with 39 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ttt-front</title> <title>Jeu concours - Thé Tip Top</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@@ -23,9 +23,12 @@ export default function Profile() {
<form onSubmit={handleSubmit} className="space-y-5"> <form onSubmit={handleSubmit} className="space-y-5">
<div> <div>
<label className="block text-sm font-medium text-gray-800 mb-1">Adresse email</label> <label className="block text-sm font-medium text-gray-800 mb-1">Adresse email</label>
<div className="w-full border border-gray-200 rounded-lg px-4 py-3 text-sm text-gray-700 bg-gray-50"> <input
{user.email || '—'} type="email"
</div> readOnly
value={user.email || ''}
className="w-full border border-gray-200 rounded-lg px-4 py-3 text-sm text-gray-700 bg-gray-50 cursor-not-allowed"
/>
</div> </div>
<div> <div>
<label className="block text-sm font-medium text-gray-800 mb-1">Nom</label> <label className="block text-sm font-medium text-gray-800 mb-1">Nom</label>