add shop link to event info overlay

This commit is contained in:
Grant 2024-07-19 11:59:04 -06:00
parent cef63dee14
commit 465b63e440
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import React, { useEffect, useRef } from "react"; import React, { useEffect, useRef } from "react";
import { useAppContext } from "../contexts/AppContext"; import { useAppContext } from "../contexts/AppContext";
import { Button } from "@nextui-org/react"; import { Button, Link } from "@nextui-org/react";
/** /**
* *oh god the terrible code* * *oh god the terrible code*
@ -29,6 +29,9 @@ export const EventInfoOverlay = ({ children }: React.PropsWithChildren) => {
<div className="flex-grow" /> <div className="flex-grow" />
<div> <div>
<Button as={Link} href="https://sc07.shop" color="primary">
Shop (poster prints!)
</Button>
<Button onPress={() => setInfoSidebar(true)}>Info</Button> <Button onPress={() => setInfoSidebar(true)}>Info</Button>
<Button onPress={() => setSettingsSidebar(true)}>Settings</Button> <Button onPress={() => setSettingsSidebar(true)}>Settings</Button>
</div> </div>