chore(docs): powered by vercel changed to sponsored by vercel

This commit is contained in:
Junior García 2022-02-09 09:38:03 -03:00
parent 29265aa44c
commit eadf4b51b7
4 changed files with 48 additions and 17 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 254 KiB

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
import React from 'react'; import React from 'react';
import { VercelLogo } from '@components'; import { VercelLogo } from '@components';
import { Link } from '@nextui-org/react'; import { Link, Text } from '@nextui-org/react';
import { darkTheme, lightTheme } from '@theme/shared';
const VercelCallout: React.FC<unknown> = () => { const VercelCallout: React.FC<unknown> = () => {
return ( return (
@ -8,9 +9,25 @@ const VercelCallout: React.FC<unknown> = () => {
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
href="https://www.vercel.com?utm_source=nextui&utm_marketing=oss" href="https://www.vercel.com?utm_source=nextui&utm_marketing=oss"
css={{ mt: '$6', d: 'flex', jc: 'flex-end' }} css={{
mt: '$6',
d: 'flex',
jc: 'flex-end',
ai: 'center',
'& svg': {
[`.${darkTheme} &`]: {
color: '$white'
},
[`.${lightTheme} &`]: {
color: '$black'
}
}
}}
> >
<VercelLogo /> <Text b css={{ my: 0, mr: '$4' }}>
Sponsored by
</Text>
<VercelLogo height={18} />
</Link> </Link>
); );
}; };

View File

@ -22,7 +22,7 @@
<p align="center"> <p align="center">
<a rel="noopener noreferrer" target="_blank" href="https://www.vercel.com?utm_source=nextui&utm_marketing=oss"> <a rel="noopener noreferrer" target="_blank" href="https://www.vercel.com?utm_source=nextui&utm_marketing=oss">
<img height="34px" src="https://raw.githubusercontent.com/nextui-org/nextui/main/apps/docs/public/powered-by-vercel.svg" alt="Powered by vercel"> <img height="34px" src="https://raw.githubusercontent.com/nextui-org/nextui/main/apps/docs/public/sponsored-by-vercel.svg" alt="Sponsored by vercel">
</a> </a>
</p> </p>