suppression du bouton de connexion page meetup

This commit is contained in:
Valentin 2024-04-15 14:43:29 +02:00
parent e9c29cb090
commit 9efd055028
4 changed files with 1 additions and 42 deletions

View File

@ -2073,20 +2073,6 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
cursor: pointer; cursor: pointer;
border: none; border: none;
} }
.fullpage.meetup .connectToSeeButton {
display: inline-block;
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
padding: 0.5rem 1rem;
margin-top: 3rem;
margin-left: 3vw;
font-weight: 800;
color: white;
background-color: #038788;
transform: translateY(0);
transition: transform 0.2s ease-out;
}
.fullpage.meetup .ornements_top_over { .fullpage.meetup .ornements_top_over {
top: -15vh; top: -15vh;
} }

File diff suppressed because one or more lines are too long

View File

@ -162,21 +162,6 @@
} }
} }
//
// Check if user is connected on meetup page
//
const connectLink = document.querySelector('a[href="/user/login"]');
const meetup = document.querySelector('.meetup_list');
if (connectLink && meetup) {
const connectToSeeButton = document.createElement('a');
connectToSeeButton.classList.add('connectToSeeButton');
connectToSeeButton.setAttribute('href', '/user/login');
connectToSeeButton.append('Se connecter pour consulter les offres');
meetup.parentElement.insertBefore(connectToSeeButton, meetup);
}
// //
// Effets parallax // Effets parallax
// //

View File

@ -199,18 +199,6 @@
} }
} }
} }
.connectToSeeButton {
display: inline-block;
@include main_text_content();
padding: 0.5rem 1rem;
margin-top: 3rem;
margin-left: $x_margin;
font-weight: 800;
color: white;
background-color: $teal;
transform: translateY(0);
transition: transform 0.2s ease-out;
}
.ornements_top_over { .ornements_top_over {