Skip to content

Commit

Permalink
Merge pull request #89 from AI4Bharat/v1.0
Browse files Browse the repository at this point in the history
UI Changes
  • Loading branch information
Shanks0465 authored Oct 9, 2024
2 parents e377ccf + f81b4fb commit 8556be9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Binary file modified frontend/public/assets/wordcloudtransparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 25 additions & 1 deletion frontend/src/app/tools/[tool]/policy/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Container, Heading, Text, Stack, Box } from "@chakra-ui/react";
import { Container, Heading, Text, Stack, Box, Link } from "@chakra-ui/react";
export const dynamicParams = true;

export async function generateStaticParams() {
Expand Down Expand Up @@ -111,6 +111,15 @@ The terms used in this privacy policy have the same meanings as in our terms and
description:
"If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us at [email protected].",
},
{
title: "Data Removal Request",
description:
"Users who wish to request the removal of their data from our system can do so by submitting a request through the below form.",
link: {
alt: "Data Removal Google Form",
link: "https://docs.google.com/forms/d/e/1FAIpQLScXhXg-UhXzr8_W5GI806Q_vhKYcRVZxs_wf1gKoqzFnEywmw/viewform?usp=sf_link",
},
},
],
},
};
Expand Down Expand Up @@ -148,6 +157,21 @@ export default function PolicyView({ params }: { params: { tool: string } }) {
<br />
<Text>{(val as any).description}</Text>
<br />
{(val as any).link ? (
<>
<Link
target="_blank"
textColor={"blue"}
href={(val as any).link.link}
>
{(val as any).link.alt}
</Link>
<br />
</>
) : (
<></>
)}

{(val as any).bullets ? (
<>
{(val as any).bullets.map((bullet: string) => (
Expand Down

0 comments on commit 8556be9

Please sign in to comment.