-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New DB schema and Privacy policy (#51)
* Enable static rendering for festival and home page * Bump to Next 15 and React 19 * Update React to stable version * Added animation to map toggle * Animate trigger * Fix marker animation * Pill animation * Update to work with new databas schema * Added privacy policy
- Loading branch information
Showing
29 changed files
with
1,657 additions
and
1,722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import type { Metadata } from "next"; | ||
import { getTranslations } from "next-intl/server"; | ||
|
||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; | ||
|
||
export const revalidate = 0; | ||
|
||
export const metadata: Metadata = { | ||
title: "Privacy Policy", | ||
description: "Our commitment to protecting your privacy", | ||
}; | ||
|
||
export default async function PrivacyPolicyPage() { | ||
const t = await getTranslations("privacyPolicy"); | ||
|
||
return ( | ||
<div className="container mx-auto px-4 py-8"> | ||
<Card> | ||
<CardHeader> | ||
<CardTitle className="text-3xl font-bold">{t("title")}</CardTitle> | ||
</CardHeader> | ||
<CardContent className="prose prose-sm max-w-none"> | ||
<p>{t("intro")}</p> | ||
|
||
<h2 className="mt-6 text-xl font-semibold"> | ||
{t("collectionUse.title")} | ||
</h2> | ||
<p>{t("collectionUse.p1")}</p> | ||
<p>{t("collectionUse.p2")}</p> | ||
<p>{t("collectionUse.p3")}</p> | ||
|
||
<h2 className="mt-6 text-xl font-semibold">{t("cookies.title")}</h2> | ||
<p>{t("cookies.p1")}</p> | ||
<p>{t("cookies.p2")}</p> | ||
<p>{t("cookies.p3")}</p> | ||
|
||
<h2 className="mt-6 text-xl font-semibold"> | ||
{t("externalLinks.title")} | ||
</h2> | ||
<p>{t("externalLinks.content")}</p> | ||
|
||
<h2 className="mt-6 text-xl font-semibold"> | ||
{t("rightOfRefusal.title")} | ||
</h2> | ||
<p>{t("rightOfRefusal.p1")}</p> | ||
<p>{t("rightOfRefusal.p2")}</p> | ||
|
||
<h2 className="mt-6 text-xl font-semibold"> | ||
{t("userCommitment.title")} | ||
</h2> | ||
<p>{t("userCommitment.intro")}</p> | ||
<ul className="list-disc pl-6"> | ||
<li>{t("userCommitment.a")}</li> | ||
<li>{t("userCommitment.b")}</li> | ||
<li>{t("userCommitment.c")}</li> | ||
</ul> | ||
|
||
<h2 className="mt-6 text-xl font-semibold">{t("moreInfo.title")}</h2> | ||
<p>{t("moreInfo.content")}</p> | ||
|
||
<p className="mt-6 font-semibold">{t("effectiveDate")}</p> | ||
</CardContent> | ||
</Card> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.