The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

add imprint

Luna 02403375 2bead034

+76 -1
+68
app/(home)/impressum/page.tsx
··· 1 + import type { Metadata } from "next"; 2 + import Link from "next/link"; 3 + import { HiExternalLink } from "react-icons/hi"; 4 + 5 + import { Section } from "@/components/section"; 6 + import { Separator } from "@/components/ui/separator"; 7 + import { cn } from "@/utils/cn"; 8 + import { getBaseUrl, getCanonicalUrl } from "@/utils/urls"; 9 + 10 + export const revalidate = false; 11 + 12 + const imprint = Buffer.from(process.env.IMPRINT_BASE64!, "base64").toString(); 13 + 14 + export const generateMetadata = (): Metadata => { 15 + 16 + const title = "Impressum"; 17 + const description = "Erfahren Sie mehr über die rechtlichen Angaben und Kontaktinformationen unseres Unternehmens im Impressum. Transparenz und Vertrauen stehen bei uns an erster Stelle."; 18 + const url = getCanonicalUrl("impressum"); 19 + 20 + return { 21 + title, 22 + description, 23 + alternates: { 24 + canonical: url 25 + }, 26 + openGraph: { 27 + title, 28 + description, 29 + type: "website", 30 + url, 31 + images: `${getBaseUrl()}/waya-v3.webp` 32 + }, 33 + twitter: { 34 + card: "summary", 35 + site: "wamellow.com", 36 + title, 37 + description, 38 + images: `${getBaseUrl()}/waya-v3.webp` 39 + } 40 + }; 41 + }; 42 + 43 + export default function Home() { 44 + return ( 45 + <div> 46 + <h1 className="mt-6 mb-2 cursor-pointer dark:text-neutral-100 text-neutral-900 hover:underline w-fit text-2xl font-semibold"> 47 + Impressum 48 + </h1> 49 + <Separator className="mb-3" /> 50 + 51 + {imprint 52 + .replaceAll("'", "\n") 53 + .split("\n") 54 + .map((item, index) => ( 55 + <div className={cn(item.endsWith(";") && "mb-2.5")} key={index}> 56 + {item.replace(/;/g, "")} 57 + </div> 58 + )) 59 + } 60 + 61 + <Section title="Online-Streitbeilegung"> 62 + Die Europäische Kommission stellt eine Plattform zur Online-Streitbeilegung bereit, die hier verfügbar ist: <Link className="text-violet-400 hover:underline" href="https://ec.europa.eu/consumers/odr" prefetch={false}>ec.europa.eu/consumers/odr <HiExternalLink className="inline" /></Link> 63 + <br /> 64 + Ich bin weder bereit noch verpflichtet, an einem Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teilzunehmen. 65 + </Section> 66 + </div> 67 + ); 68 + }
+8 -1
components/footer.tsx
··· 4 4 import { BiCopyright, BiLogoGithub, BiLogoGmail, BiLogoReddit, BiLogoYoutube } from "react-icons/bi"; 5 5 import { BsDiscord } from "react-icons/bs"; 6 6 import { FaBluesky } from "react-icons/fa6"; 7 - import { HiBookOpen, HiCloud, HiCube, HiHand, HiLibrary, HiUserAdd } from "react-icons/hi"; 7 + import { HiBookOpen, HiCloud, HiCube, HiGlobe, HiHand, HiLibrary, HiUserAdd } from "react-icons/hi"; 8 8 import { SiDiscord, SiKofi } from "react-icons/si"; 9 9 10 10 import TopggIcon from "@/components/icons/topgg"; ··· 136 136 > 137 137 <HiHand /> 138 138 Privacy Policy 139 + </Link> 140 + <Link 141 + className="text-primary/75 hover:text-primary/65 duration-200 flex items-center gap-2" 142 + href="/impressum" 143 + > 144 + <HiGlobe /> 145 + Impressum 139 146 </Link> 140 147 </div> 141 148 <div>