Make a box that the study is finished

This commit is contained in:
cami 2021-07-30 11:00:02 +02:00
parent 7026909c61
commit 4c01e68264
6 changed files with 29 additions and 1 deletions

View file

@ -3,6 +3,7 @@ import "../App.css";
import { Button } from "./Button";
import "./HeroSection.css";
import { useAuth } from "../auth/AuthProvider";
import StudyFinished from "./StudyFinished";
export default function HeroSection() {
const [isLoggedIn] = useAuth();
@ -10,6 +11,7 @@ export default function HeroSection() {
return (
<div className="hero-container">
<h1>Herzlich Willkommen</h1>
<StudyFinished />
<div className="hero-btns">
{isLoggedIn ? (
<Button