Skip to content

Commit a1f1ef5

Browse files
committed
Merge branch 'main' of github.com:tiarasjec/frontend
2 parents 71fa812 + 7daca42 commit a1f1ef5

7 files changed

Lines changed: 411 additions & 0 deletions

File tree

‎package-lock.json‎

Lines changed: 41 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"devDependencies": {
7272
"@faker-js/faker": "^8.4.1",
7373
"@tailwindcss/forms": "^0.5.7",
74+
"@tailwindcss/typography": "^0.5.12",
7475
"@types/node": "^20",
7576
"@types/nodemailer": "^6.4.14",
7677
"@types/react": "^18.2.76",

‎src/app/(content)/privacy/page.tsx‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"use client";
2+
3+
import * as React from "react";
4+
import Container from "@/components/shared/container";
5+
import { tiaraFont } from "@/lib/fonts";
6+
import { cn } from "@/lib/utils";
7+
import { legalInfo } from "../../../data/legal_Info";
8+
import { Text } from "@/components/shared/text";
9+
10+
export default function Privacy() {
11+
return (
12+
<Container className="mx-auto ">
13+
<div className="py-4 mx-6 sm:mx-12 space-y-4 pt-32 text-white">
14+
<Text variant="h1" className={cn("text-5xl", tiaraFont)}>Privacy Policy</Text>
15+
<p>
16+
At Tiara, we take your privacy seriously and are committed to protecting your personal information. This
17+
privacy policy explains how we collect, use, and safeguard your data. By registering for our festival
18+
competition, you agree to the terms of this privacy policy.
19+
</p>
20+
{legalInfo.policy.map((policy, index) => (
21+
<div key={index}>
22+
<Text variant="h2" className={cn("text-2xl", tiaraFont)}>{policy.title}</Text>
23+
<p dangerouslySetInnerHTML={{ __html: policy.description }}></p>
24+
</div>
25+
))}
26+
</div>
27+
</Container>
28+
);
29+
}

‎src/app/(content)/refund/page.tsx‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"use client";
2+
3+
import * as React from "react";
4+
import Container from "@/components/shared/container";
5+
import { tiaraFont } from "@/lib/fonts";
6+
import { cn } from "@/lib/utils";
7+
import { legalInfo } from "../../../data/legal_Info"
8+
import { Text } from "@/components/shared/text";
9+
export default function Refund() {
10+
11+
return (
12+
<Container className="mx-auto">
13+
<div className="py-4 mx-6 sm:mx-12 space-y-4 pt-32 text-white">
14+
<Text variant="h1" className={cn("text-5xl", tiaraFont)}>Refund Policy</Text>
15+
{legalInfo.Refund.map((refund, index) => (
16+
<div key={index}>
17+
<Text variant="h2" className={cn("text-2xl", tiaraFont)}>{refund.title}</Text>
18+
<p dangerouslySetInnerHTML={{ __html: refund.description }}></p>
19+
</div>
20+
))}
21+
</div>
22+
</Container>
23+
);
24+
}

‎src/app/(content)/terms/page.tsx‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"use client";
2+
3+
import * as React from "react";
4+
import Container from "@/components/shared/container";
5+
import { tiaraFont } from "@/lib/fonts";
6+
import { cn } from "@/lib/utils";
7+
import { legalInfo } from "../../../data/legal_Info"
8+
import { Text } from "@/components/shared/text";
9+
export default function Terms() {
10+
11+
return (
12+
<Container className="mx-auto">
13+
<div className="py-4 mx-6 sm:mx-12 space-y-4 pt-32 text-white">
14+
<Text variant="h1" className={cn("text-5xl", tiaraFont)}>Terms & Conditions</Text>
15+
{legalInfo.terms.map((terms, index) => (
16+
<div key={index}>
17+
<Text variant="h2" className={cn("text-2xl", tiaraFont)}>{terms.title}</Text>
18+
<p dangerouslySetInnerHTML={{ __html: terms.description }}></p>
19+
</div>
20+
))}
21+
</div>
22+
</Container>
23+
);
24+
}

0 commit comments

Comments
 (0)