Skip to content
Snippets Groups Projects
Commit e0968e98 authored by Chloé JACOB's avatar Chloé JACOB :alien:
Browse files

quelques modifications

parent f8aed03e
No related merge requests found
......@@ -40,9 +40,9 @@ const AddComment = ({ idPost }: commentProps) => {
onClick={() => {
dispatch(postNewCommentAsync(comment, idPost));
setComment('');
setTimeout(() => {
window.location.reload();
}, 700);
// setTimeout(() => {
// window.location.reload();
// }, 700);
}}
>
<div className="bg-gray-500 text-white font-bold h-10 rounded-md flex items-center px-4">{t('actions.publish')}</div>
......
......@@ -33,7 +33,7 @@ const LoginView = () => {
<input id="password" className="px-4 bg-gray-200 h-12 rounded-md" type="password" name="password" placeholder="Mot de passe" required onChange={(e) => {
setPassword(e.target.value);
}}></input>
<button type="submit" className="bg-blue-400 text-white font-bold h-10 rounded-md mt-2">Login</button>
<button type="submit" className="bg-blue-500 hover:bg-blue-700 text-white font-bold h-10 rounded-md mt-2">Login</button>
</form>
</div>
</>;
......
......@@ -75,7 +75,7 @@ return <>
</div>
{/* CHANGEMENT DE LANGUE */}
<div className="flex flew-wrap gap-10 mt-10">
<button className="bg-blue-500 text-white font-bold h-10 rounded-md py-2 px-4"
<button className="bg-blue-500 hover:bg-blue-700 text-white font-bold h-10 rounded-md py-2 px-4"
type="button"
onClick={() => {
i18n.changeLanguage(Language.EN);
......@@ -83,7 +83,7 @@ return <>
>
{t('languages.english')}
</button>
<button className="bg-blue-500 text-white font-bold h-10 rounded-md py-2 px-4"
<button className="bg-blue-500 hover:bg-blue-700 text-white font-bold h-10 rounded-md py-2 px-4"
type="button"
onClick={() => {
i18n.changeLanguage(Language.FR);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment