-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout.shared.tsx
More file actions
45 lines (44 loc) · 1.35 KB
/
layout.shared.tsx
File metadata and controls
45 lines (44 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
import { config as sourceConfig } from '@/lib/config';
import { SquareArrowOutUpRightIcon } from 'lucide-react';
export function baseOptions(): BaseLayoutProps {
return {
nav: {
// title: 'Solution Forest Plugins',
title: (
<div className="flex items-center gap-3">
<div className="w-8 h-8 bg-primary rounded-lg flex items-center justify-center">
<span className="text-white font-bold text-sm">SF</span>
</div>
<h1 className="text-xl font-bold bg-gradient-to-r from-primary to-primary/80 bg-clip-text text-transparent">
Solution Forest Plugins
</h1>
</div>
)
},
githubUrl: 'https://github.com/solutionforest',
links: [
{
text: "Plugins",
url: "/docs",
},
{
text: "Cms Demo",
url: "https://filament-cms-website-demo.solutionforest.net/admin",
external: true,
icon: <SquareArrowOutUpRightIcon />,
},
{
type: 'menu',
text: 'Products',
items: sourceConfig.products.map((product) => ({
text: product.title,
description: product.description,
url: product.link,
external: true,
icon: <SquareArrowOutUpRightIcon />,
})),
},
]
};
}