From c2d872773338bd471c8c087e15a20d3cf48e4904 Mon Sep 17 00:00:00 2001 From: Fabrice Lamant Date: Sun, 7 Dec 2025 19:59:13 +0100 Subject: [PATCH] add footer --- ui/app/page.tsx | 26 ++++++++++++++++++++++++-- ui/lib/text.ts | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/ui/app/page.tsx b/ui/app/page.tsx index 4d28736f7..d7825566a 100644 --- a/ui/app/page.tsx +++ b/ui/app/page.tsx @@ -3,7 +3,7 @@ import { loadSchedule } from "../lib/data"; import { useEffect, useState } from "react"; import Flag from "./flag"; -import { COPY, COPY_SUCCESS, FILTER_BY_COUNTRY, FILTER_BY_SPORT } from "../lib/text"; +import { COPY, COPY_SUCCESS, FILTER_BY_COUNTRY, FILTER_BY_SPORT, MADE_BY_FABRICE, NOT_AFFILIATED } from "../lib/text"; import useLocalStorage from "@/lib/local-storage"; interface MultilingualString { @@ -348,7 +348,29 @@ export default function Home() { }) } - + + ); } diff --git a/ui/lib/text.ts b/ui/lib/text.ts index 4383bef9c..1901c3918 100644 --- a/ui/lib/text.ts +++ b/ui/lib/text.ts @@ -58,3 +58,27 @@ export const COPY_SUCCESS = { ja: "リンクがクリップボードにコピーされました!", ru: "Ссылка скопирована в буфер обмена!" } + +export const MADE_BY_FABRICE = { + en: "Made with ❤️ by Fabrice Lamant", + fr: "Fait avec ❤️ par Fabrice Lamant", + es: "Hecho con ❤️ por Fabrice Lamant", + de: "Hergestellt mit ❤️ von Fabrice Lamant", + it: "Realizzato con ❤️ da Fabrice Lamant", + pt: "Feito com ❤️ por Fabrice Lamant", + zh: "由 Fabrice Lamant 用 ❤️ 制作", + ja: "Fabrice Lamant によって❤️で作られました", + ru: "Сделано с ❤️ Фабрисом Ламантом" +} + +export const NOT_AFFILIATED = { + en: "This webiste is not affiliated with the International Olympic Committee. All trademarks, logos and brand names are the property of their respective owners.", + fr: "Ce site web n'est pas affilié au Comité International Olympique. Toutes les marques, logos et noms de marque sont la propriété de leurs propriétaires respectifs.", + es: "Este sitio web no está afiliado al Comité Olímpico Internacional. Todas las marcas, logotipos y nombres comerciales son propiedad de sus respectivos dueños.", + de: "Diese Website ist nicht mit dem Internationalen Olympischen Komitee verbunden. Alle Marken, Logos und Markennamen sind Eigentum ihrer jeweiligen Besitzer.", + it: "Questo sito web non è affiliato al Comitato Olimpico Internazionale. Tutti i marchi, loghi e nomi di marca sono di proprietà dei rispettivi proprietari.", + pt: "Este site não é afiliado ao Comitê Olímpico Internacional. Todas as marcas, logotipos e nomes comerciais são propriedade de seus respectivos donos.", + zh: "本网站与国际奥林匹克委员会无关。所有商标、徽标和品牌名称均为其各自所有者的财产。", + ja: "このウェブサイトは国際オリンピック委員会とは提携していません。すべての商標、ロゴ、ブランド名はそれぞれの所有者の財産です。", + ru: "Этот веб-сайт не аффилирован с Международным олимпийским комитетом. Все торговые марки, логотипы и названия брендов являются собственностью их соответствующих владельцев." +}