Skip to content

Commit

Permalink
feat: add hero image
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelblijleven committed Jun 21, 2023
1 parent 957a549 commit 7f71cd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file added public/beanstats_img_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/beanstats_img_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ import {Button} from "@/components/ui/button";
import {Github} from "lucide-react";
import Link from "next/link";
import CardGrid from "@/components/ui/card-grid";
import Image from "next/image";

export default async function Home() {
return (
<>
<HomeNavigation/>
<div>
<Image className={"block dark:hidden"} width={500} height={500} src={"/beanstats_img_light.png"} alt={"An illustration of coffee"} />
<Image className={"hidden dark:block"} width={500} height={500} src={"/beanstats_img_dark.png"} alt={"An illustration of coffee"} />

</div>
<CardGrid>
<BeanconquerorCard/>
<RatioCard/>
Expand Down

0 comments on commit 7f71cd0

Please sign in to comment.