mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
chore(docs): powered by vercel changed to sponsored by vercel
This commit is contained in:
parent
29265aa44c
commit
eadf4b51b7
11
apps/docs/public/sponsored-by-vercel.svg
Normal file
11
apps/docs/public/sponsored-by-vercel.svg
Normal file
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
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
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> = () => {
|
||||
return (
|
||||
@ -8,9 +9,25 @@ const VercelCallout: React.FC<unknown> = () => {
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
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>
|
||||
);
|
||||
};
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
<p align="center">
|
||||
<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>
|
||||
</p>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user