Skip to content

Commit

Permalink
Add link to volunteer summaries
Browse files Browse the repository at this point in the history
Try not to add actual volunteer tools until there's demand for it
  • Loading branch information
limdingwen committed Aug 6, 2024
1 parent 1ce456b commit 316e6a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
3 changes: 2 additions & 1 deletion site/src/app/components/AiDisclaimer.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { IconRobot } from "@tabler/icons-react";
import { Group, Text, Tooltip } from "@mantine/core";
import React from "react";

export default function AiDisclaimer({
shortExplainer,
explainer,
}: {
shortExplainer: string;
shortExplainer: React.ReactNode;
explainer: string;
}) {
return (
Expand Down
15 changes: 14 additions & 1 deletion site/src/app/components/SummaryAiDisclaimer.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
import AiDisclaimer from "@/app/components/AiDisclaimer";
import Link from "next/link";
import { Anchor } from "@mantine/core";

export default function SummaryAiDisclaimer() {
return (
<AiDisclaimer
shortExplainer="Summary written by AI"
shortExplainer={
<>
Summary written by AI (
<Anchor
component={Link}
href="https://github.com/limdingwen/parliament-summary/issues/8"
>
edit
</Anchor>
)
</>
}
explainer="This summary was written by a cute little robot, but it may not be fully accurate. Please read the original source for the most accurate information. Hopefully, this summary helps you get the gist of it!"
></AiDisclaimer>
);
Expand Down

0 comments on commit 316e6a1

Please sign in to comment.