Files
LingvAI/components/Footer.tsx
Malin f7d0dfdfb6 feat: UI polish — AI enhancements branding, footer year, admin background fix
- Header: add "+ AI enhancements" italic subtitle below logo
- Footer: update copyright year to 2021–current, add "AI enhancements by Cloud Host" link
- Admin page: wrap all states in pageBg Box so dark-mode background shows correctly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 11:21:34 +01:00

45 lines
1.5 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { FC } from "react";
import { Stack, Text, Link } from "@chakra-ui/react";
type Props = {
[key: string]: any
};
const vercelSponsor = process.env["NEXT_PUBLIC_VERCEL_SPONSOR"] === "true";
const Footer: FC<Props> = (props) => (
<Stack
as="footer"
w="full"
p={3}
fontSize={["sm", null, "md"]}
direction={["column", null, "row"]}
justify="center"
align="center"
spacing={[1, null, 2]}
{...props}
>
<Link href="https://github.com/thedaviddelta/lingva-translate/blob/main/LICENSE" isExternal={true}>
<Text as="span">&#169; 2021{new Date().getFullYear()} thedaviddelta & contributors</Text>
</Link>
<Text as="span" display={["none", null, "unset"]}>·</Text>
<Link href="https://www.gnu.org/licenses/agpl-3.0.html" isExternal={true}>
<Text as="span">Licensed under AGPLv3</Text>
</Link>
<Text as="span" display={["none", null, "unset"]}>·</Text>
<Link href="https://cloudhost.es" isExternal={true}>
<Text as="span">AI enhancements by Cloud Host</Text>
</Link>
{vercelSponsor && (
<>
<Text as="span" display={["none", null, "unset"]}>·</Text>
<Link href="https://vercel.com?utm_source=lingva-team&utm_campaign=oss" isExternal={true}>
<Text as="span"> Powered by Vercel</Text>
</Link>
</>
)}
</Stack>
);
export default Footer;