feat: Add GitHub to the page
This commit is contained in:
parent
a45f5d09ea
commit
8ca63ca97a
48
app/page.tsx
48
app/page.tsx
@ -92,6 +92,7 @@ import {
|
||||
ChartTooltip,
|
||||
ChartTooltipContent,
|
||||
} from "@/components/ui/chart";
|
||||
import { GitHubLogoIcon } from '@radix-ui/react-icons';
|
||||
|
||||
export const maxDuration = 60;
|
||||
|
||||
@ -789,23 +790,36 @@ export default function Home() {
|
||||
<RefreshCw className="h-4 w-4" />
|
||||
<span>New</span>
|
||||
</Button>
|
||||
<TooltipProvider>
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<Button
|
||||
size="sm"
|
||||
onClick={() => window.open("https://github.com/sponsors/zaidmukaddam", "_blank")}
|
||||
className="flex items-center space-x-2"
|
||||
>
|
||||
<Heart className="h-4 w-4 text-red-500" />
|
||||
<span>Sponsor</span>
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>
|
||||
<p>Sponsor this project on GitHub</p>
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
</TooltipProvider>
|
||||
<div
|
||||
className='flex items-center space-x-2'
|
||||
>
|
||||
<Button
|
||||
variant="secondary"
|
||||
size="sm"
|
||||
onClick={() => window.open("https://git.new/mplx", "_blank")}
|
||||
className="flex items-center space-x-2"
|
||||
>
|
||||
<GitHubLogoIcon className="h-4 w-4 text-primary" />
|
||||
<span>GitHub</span>
|
||||
</Button>
|
||||
<TooltipProvider>
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<Button
|
||||
size="sm"
|
||||
onClick={() => window.open("https://github.com/sponsors/zaidmukaddam", "_blank")}
|
||||
className="flex items-center space-x-2"
|
||||
>
|
||||
<Heart className="h-4 w-4 text-red-500" />
|
||||
<span>Sponsor</span>
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>
|
||||
<p>Sponsor this project on GitHub</p>
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
</TooltipProvider>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user