import { useTheme } from "next-themes"; import Image from "next/image"; import Link from "next/link"; import React, { ReactNode } from "react"; interface Props { text?: string; children: ReactNode; } export default function CenteredForm({ text, children }: Props) { const { theme } = useTheme(); return (
{theme === "light" ? ( Linkwarden ) : ( Linkwarden )} {text ? (

{text}

) : undefined} {children}

© {new Date().getFullYear()}{" "} Linkwarden . All rights reserved.

); }