feat: Add GitHub to the page
This commit is contained in:
parent
a45f5d09ea
commit
8ca63ca97a
14
app/page.tsx
14
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,6 +790,18 @@ export default function Home() {
|
||||
<RefreshCw className="h-4 w-4" />
|
||||
<span>New</span>
|
||||
</Button>
|
||||
<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>
|
||||
@ -807,6 +820,7 @@ export default function Home() {
|
||||
</Tooltip>
|
||||
</TooltipProvider>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user