diff --git a/messages/en/layout.json b/messages/en/layout.json index 2a135228..5c297c6a 100644 --- a/messages/en/layout.json +++ b/messages/en/layout.json @@ -11,7 +11,8 @@ "footer": { "allRight": "All rights reserved", "and": "and", - "donation": "Make a donation" + "donation": "Make a donation", + "legalNotice": "Legal notices" } }, "siteConfig": { diff --git a/messages/en/pages/legal.json b/messages/en/pages/legal.json new file mode 100644 index 00000000..09eeac42 --- /dev/null +++ b/messages/en/pages/legal.json @@ -0,0 +1,10 @@ +{ + "legal": { + "meta": { + "title": "Legal notices" + }, + "title": "PinkBombs - Legal notices", + "sub": "In force as of October 10, 2024", + "content": "

In accordance with the provisions of Law No. 2004-575 of June 21, 2004 on Confidence in the Digital Economy, users and visitors, hereinafter the \"User\", of the site www.pinkbombs.org, hereinafter the \"Site\", are hereby informed of these legal notices.

Connection and navigation on the Site by the User implies full and unreserved acceptance of these legal notices.

Site publisher:

The website www.pinkbombs.org is published by the Seastemik association.

Corporate name:

Seastemik, Association declared according to the law of 1901, with the SIRET 92449298600014 and the head office at 6 rue Gambetta, 56100 Lorient, France

Contact:

Email: info@seastemik.org

Publication manager:

The publication manager is the Seastemik association.

Website host:

The website www.pinkbombs.org is hosted by:
Vercel Inc.
Located at 340 S Lemon Ave #4133 Walnut, CA 91789
Phone: (559) 288-7060.

Intellectual Property:

All content on the www.pinkbombs.org website, including but not limited to text, images, logos and graphics, is protected by copyright. Any total or partial reproduction of the site without the express authorization of the Seastemik association is prohibited.

Personal data:

The site www.pinkbombs.org may collect personal data from its users, in accordance with the amended \"Informatique et Libertés\" law of January 6, 1978 and the General Data Protection Regulation (GDPR). Users have the right to access, rectify and delete personal data concerning them, which they can exercise by contacting the association at the following address: info@seastemik.org.

" + } +} diff --git a/messages/fr/layout.json b/messages/fr/layout.json index f22580d5..072bcbbe 100644 --- a/messages/fr/layout.json +++ b/messages/fr/layout.json @@ -11,7 +11,8 @@ "footer": { "allRight": "Tous droits réservés", "and": "et", - "donation": "Faire un don" + "donation": "Faire un don", + "legalNotice": "Mentions légales" } }, "siteConfig": { diff --git a/messages/fr/pages/legal.json b/messages/fr/pages/legal.json new file mode 100644 index 00000000..ead95af0 --- /dev/null +++ b/messages/fr/pages/legal.json @@ -0,0 +1,10 @@ +{ + "legal": { + "meta": { + "title": "Mentions légales" + }, + "title": "PinkBombs - Mentions légales", + "sub": "En vigueur au 10 octobre 2024", + "content": "

Conformément aux dispositions de la loi n°2004-575 du 21 juin 2004 pour la Confiance en l’économie numérique, il est porté à la connaissance des utilisateurs et visiteurs, ci-après l’« Utilisateur », du site www.pinkbombs.org, ci-après le « Site », les présentes mentions légales.

La connexion et la navigation sur le Site par l’Utilisateur implique acceptation intégrale et sans réserve des présentes mentions légales.

Éditeur du site :

Le site internet www.pinkbombs.org est édité par l’association Seastemik.

Dénomination sociale :

Seastemik, Association déclarée selon la loi de 1901, avec le SIRET 92449298600014 et le siège social au 6 rue Gambetta, 56100 Lorient, France

Contact :

Email : info@seastemik.org

Responsable de la publication :

Le responsable de la publication est l'association Seastemik.

Hébergeur du site :

Le site www.pinkbombs.org est hébergé par :
Vercel Inc.
Située 340 S Lemon Ave #4133 Walnut, CA 91789
Téléphone : (559) 288-7060.

Propriété intellectuelle :

L’ensemble des contenus présents sur le site www.pinkbombs.org, y compris, mais sans s’y limiter, les textes, images, logos et graphismes, sont protégés par le droit d’auteur. Toute reproduction totale ou partielle du site sans autorisation expresse de l’association Seastemik est interdite.

Données personnelles :

Le site www.pinkbombs.org peut collecter des données personnelles de ses utilisateurs, conformément à la loi « Informatique et Libertés » du 6 janvier 1978 modifiée et au Règlement Général sur la Protection des Données (RGPD). Les utilisateurs disposent d’un droit d’accès, de rectification et de suppression des données personnelles les concernant, qu’ils peuvent exercer en contactant l’association à l’adresse : info@seastemik.org.

" + } +} diff --git a/src/app/[locale]/legal-notice/legal-notice.tsx b/src/app/[locale]/legal-notice/legal-notice.tsx new file mode 100644 index 00000000..648b011e --- /dev/null +++ b/src/app/[locale]/legal-notice/legal-notice.tsx @@ -0,0 +1,24 @@ +"use client"; + +import { useTranslations } from "next-intl"; +import * as React from "react"; +import "@/lib/env"; + +import IntroBlock from "@/components/IntroBlock"; + +const LegalNotice = () => { + const t = useTranslations("legal"); + + return ( + <> + + +
+ + ); +}; + +export default LegalNotice; diff --git a/src/app/[locale]/legal-notice/page.tsx b/src/app/[locale]/legal-notice/page.tsx new file mode 100644 index 00000000..87b6c592 --- /dev/null +++ b/src/app/[locale]/legal-notice/page.tsx @@ -0,0 +1,25 @@ +import { getTranslations } from "next-intl/server"; +import React from "react"; +import "@/lib/env"; + +import { locales } from "@/navigation"; + +import LegalNotice from "./legal-notice"; + +export async function generateMetadata({ + params: { locale }, +}: { + params: { locale: typeof locales }; +}) { + const t = await getTranslations({ locale, namespace: "legal" }); + + return { + title: t("meta.title"), + }; +} + +const Page = () => { + return ; +}; + +export default Page; diff --git a/src/components/IntroBlock.tsx b/src/components/IntroBlock.tsx index 31ee8fe7..e9f4a569 100644 --- a/src/components/IntroBlock.tsx +++ b/src/components/IntroBlock.tsx @@ -7,12 +7,14 @@ import Summary, { SummaryLinksProps } from "@/components/Summary"; const IntroBlock = ({ className, title, + baseline, image, summary, }: { className?: string; title: string; image?: string; + baseline?: string; summary?: SummaryLinksProps; }) => { if (!title) { @@ -35,6 +37,9 @@ const IntroBlock = ({ )}

{title}

+ {baseline ? ( +

{baseline}

+ ) : null} {summary ? : null}
diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index 3a1d0fe5..d09e3b75 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -97,8 +97,12 @@ const Footer = () => {

- {t("footer.allRight")}
© {currentYear} Seastemik{" "} - {t("footer.and")} Data for Good + {t("footer.allRight")} - © {currentYear} Seastemik {t("footer.and")}{" "} + Data for Good +
+ + {t("footer.legalNotice")} +

diff --git a/src/i18n.ts b/src/i18n.ts index f7caa6b1..63f0da2d 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -11,6 +11,7 @@ export default getRequestConfig(async ({ locale }) => { messages: { ...(await import(`../messages/${locale}/pages/about.json`)).default, ...(await import(`../messages/${locale}/pages/act.json`)).default, + ...(await import(`../messages/${locale}/pages/legal.json`)).default, ...(await import(`../messages/${locale}/pages/dashboard.json`)).default, ...(await import(`../messages/${locale}/pages/story.json`)).default, ...(await import(`../messages/${locale}/components.json`)).default, diff --git a/src/styles/globals.css b/src/styles/globals.css index 10e16410..09d1ab02 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -100,6 +100,10 @@ @apply font-bold; } + .prose h2 { + @apply text-red1 mt-16 lg:mt-20 mb-8; + } + .prose h3 { @apply text-red1 mt-16 lg:mt-20 mb-8; }