mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
feat: add login and sign-up links to the layout configuration with corresponding icons
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
|
||||
import { Github, GlobeIcon, HeartIcon, Rss } from "lucide-react";
|
||||
import {
|
||||
Github,
|
||||
GlobeIcon,
|
||||
HeartIcon,
|
||||
Rss,
|
||||
LogIn,
|
||||
UserPlus,
|
||||
} from "lucide-react";
|
||||
import Link from "next/link";
|
||||
/**
|
||||
* Shared layout configurations
|
||||
@@ -45,6 +52,18 @@ export const baseOptions: BaseLayoutProps = {
|
||||
),
|
||||
},
|
||||
links: [
|
||||
{
|
||||
text: "Login",
|
||||
url: "https://app.dokploy.com/",
|
||||
active: "nested-url",
|
||||
icon: <LogIn />,
|
||||
},
|
||||
{
|
||||
text: "Sign Up",
|
||||
url: "https://app.dokploy.com/register",
|
||||
active: "nested-url",
|
||||
icon: <UserPlus />,
|
||||
},
|
||||
{
|
||||
text: "Website",
|
||||
url: "https://dokploy.com",
|
||||
|
||||
@@ -45,6 +45,12 @@ const Ripple = React.memo(function Ripple({
|
||||
link: "https://www.lxaer.com?ref=dokploy",
|
||||
type: "hero",
|
||||
},
|
||||
{
|
||||
name: "LambdaTest",
|
||||
image: "https://www.lambdatest.com/blue-logo.png",
|
||||
link: "https://www.lambdatest.com/?utm_source=dokploy&utm_medium=sponsor",
|
||||
type: "premium",
|
||||
},
|
||||
];
|
||||
const premiumSponsors = [
|
||||
{
|
||||
@@ -193,6 +199,7 @@ const Ripple = React.memo(function Ripple({
|
||||
<AvatarImage
|
||||
src={item.image}
|
||||
alt={item.name}
|
||||
className="object-contain"
|
||||
/>
|
||||
<AvatarFallback>{initials}</AvatarFallback>
|
||||
</Avatar>
|
||||
|
||||
Reference in New Issue
Block a user