Vercel OSS Sponsorship (#81)

This commit is contained in:
David
2022-01-23 23:30:36 +01:00
committed by GitHub
parent 260c603bed
commit adb90754ea
2 changed files with 20 additions and 7 deletions

View File

@@ -7,6 +7,7 @@
[![Cypress Tests](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/simple/qgjdyd&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/qgjdyd/runs) [![Cypress Tests](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/simple/qgjdyd&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/qgjdyd/runs)
[![License](https://img.shields.io/github/license/TheDavidDelta/lingva-translate)](./LICENSE) [![License](https://img.shields.io/github/license/TheDavidDelta/lingva-translate)](./LICENSE)
[![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech) [![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech)
[<img src="https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg" alt="Powered by Vercel" height="20">](https://vercel.com?utm_source=lingva-team&utm_campaign=oss)
Alternative front-end for Google Translate, serving as a Free and Open Source translator with over a hundred languages available Alternative front-end for Google Translate, serving as a Free and Open Source translator with over a hundred languages available
@@ -66,7 +67,7 @@ docker run -p 3000:3000 -e site_domain=lingva.ml -e dark_theme=false thedaviddel
Another easy way is to use the NextJS creators' own platform, [Vercel](https://vercel.com/), where you can deploy it for free with the following button. Another easy way is to use the NextJS creators' own platform, [Vercel](https://vercel.com/), where you can deploy it for free with the following button.
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2FTheDavidDelta%2Flingva-translate%2Ftree%2Fmain&env=NEXT_PUBLIC_SITE_DOMAIN&envDescription=Your%20domain) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2FTheDavidDelta%2Flingva-translate%2Ftree%2Fmain&env=NEXT_PUBLIC_SITE_DOMAIN&envDescription=Your%20domain&utm_source=lingva-team&utm_campaign=oss)
## Instances ## Instances

View File

@@ -1,22 +1,34 @@
import { FC } from "react"; import { FC } from "react";
import { Center, Text } from "@chakra-ui/react"; import { Stack, Text, Link } from "@chakra-ui/react";
type Props = { type Props = {
[key: string]: any [key: string]: any
}; };
const Footer: FC<Props> = (props) => ( const Footer: FC<Props> = (props) => (
<Center <Stack
as="footer" as="footer"
w="full" w="full"
p={3} p={3}
fontSize={["sm", null, "md"]} fontSize={["sm", null, "md"]}
direction={["column", null, "row"]}
justify="center"
align="center"
spacing={[1, null, 2]}
{...props} {...props}
> >
<Text as="span">&#169; 2021 TheDavidDelta</Text> <Link href="https://github.com/TheDavidDelta/lingva-translate/blob/main/LICENSE" isExternal={true}>
<Text as="span" mx={2}>·</Text> <Text as="span">&#169; 2021 TheDavidDelta & contributors</Text>
<Text as="span">Licensed under AGPLv3</Text> </Link>
</Center> <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://vercel.com?utm_source=lingva-team&utm_campaign=oss" isExternal={true}>
<Text as="span"> Powered by Vercel</Text>
</Link>
</Stack>
); );
export default Footer; export default Footer;