2 changed files with 9 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
min-width: 60%;
|
||||
}
|
||||
|
||||
.hero-btns .btn {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue