frontend/RemoveUnneccessaryButtons (fix #122 and fix #123) #125

Merged
cami merged 2 commits from frontend/RemoveUnneccessaryButtons into main 2021-07-10 22:09:20 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit 00aa826971 - Show all commits

View file

@ -30,6 +30,7 @@
display: flex;
flex-direction: column;
flex-wrap: wrap;
min-width: 60%;
}
.hero-btns .btn {

View file

@ -13,7 +13,14 @@ function HeroSection() {
<h1>Herzlich Willkommen</h1>
<div className="hero-btns">
{isLoggedIn ? (
console.log("Logged in")
<Button
className="btns"
buttonStyle="btn--primary"
buttonSize="btn--large"
newTo="behavior"
>
Zur Studie
</Button>
) : (
<>
<Button