Skip to content

Commit

Permalink
Add prereg button
Browse files Browse the repository at this point in the history
Fixes #97.
  • Loading branch information
psvenk committed Dec 10, 2024
1 parent e5c370e commit c3b6c91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { TermSwitcher } from "./TermSwitcher";

import "@fontsource-variable/inter/index.css";
import { MatrixLink } from "./MatrixLink";
import { PreregLink } from "./PreregLink";
import { useICSExport } from "../lib/gapi";
import { LuCalendar } from "react-icons/lu";

Expand Down Expand Up @@ -169,7 +170,7 @@ function HydrantApp() {
/>
<LeftFooter state={hydrant} />
</Flex>
<Flex direction="column" w={{ base: "100%", lg: "50%" }} gap={6}>
<Flex direction="column" w={{ base: "100%", lg: "50%" }} gap={8}>
<Center>
<Group wrap="wrap" justifyContent="center" gap={2}>
<TermSwitcher state={hydrant} />
Expand Down Expand Up @@ -213,6 +214,7 @@ function HydrantApp() {
</Button>
</Tooltip>
<MatrixLink selectedActivities={state.selectedActivities} />
<PreregLink selectedActivities={state.selectedActivities} />
</Group>
</Center>
<SelectedActivities
Expand Down
2 changes: 1 addition & 1 deletion src/components/MatrixLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function MatrixLink(props: { selectedActivities: Array<Activity> }) {
return (
<Tooltip content="You will be able to choose which chats to join, if any.">
<LinkButton
colorPalette="teal"
colorPalette="green"
size="sm"
href={matrixLink}
target="_blank"
Expand Down

0 comments on commit c3b6c91

Please sign in to comment.