Make a box that the study is finished
This commit is contained in:
parent
7026909c61
commit
4c01e68264
6 changed files with 29 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue