Skip to content

Commit 6113a97

Browse files
committed
feat: add login and sign-up links to the layout configuration with corresponding icons
1 parent 7e810fa commit 6113a97

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

apps/docs/app/layout.config.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
2-
import { Github, GlobeIcon, HeartIcon, Rss } from "lucide-react";
2+
import {
3+
Github,
4+
GlobeIcon,
5+
HeartIcon,
6+
Rss,
7+
LogIn,
8+
UserPlus,
9+
} from "lucide-react";
310
import Link from "next/link";
411
/**
512
* Shared layout configurations
@@ -45,6 +52,18 @@ export const baseOptions: BaseLayoutProps = {
4552
),
4653
},
4754
links: [
55+
{
56+
text: "Login",
57+
url: "https://app.dokploy.com/",
58+
active: "nested-url",
59+
icon: <LogIn />,
60+
},
61+
{
62+
text: "Sign Up",
63+
url: "https://app.dokploy.com/register",
64+
active: "nested-url",
65+
icon: <UserPlus />,
66+
},
4867
{
4968
text: "Website",
5069
url: "https://dokploy.com",

apps/website/components/ui/ripple.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ const Ripple = React.memo(function Ripple({
4545
link: "https://www.lxaer.com?ref=dokploy",
4646
type: "hero",
4747
},
48+
{
49+
name: "LambdaTest",
50+
image: "https://www.lambdatest.com/blue-logo.png",
51+
link: "https://www.lambdatest.com/?utm_source=dokploy&utm_medium=sponsor",
52+
type: "premium",
53+
},
4854
];
4955
const premiumSponsors = [
5056
{
@@ -193,6 +199,7 @@ const Ripple = React.memo(function Ripple({
193199
<AvatarImage
194200
src={item.image}
195201
alt={item.name}
202+
className="object-contain"
196203
/>
197204
<AvatarFallback>{initials}</AvatarFallback>
198205
</Avatar>

0 commit comments

Comments
 (0)