mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 10:56:24 +02:00
chore: removed announcements from navbar and rewrote tagline
This commit is contained in:
parent
37a0bd4533
commit
fa51ec42c6
5 changed files with 7 additions and 44 deletions
|
|
@ -1,13 +1,12 @@
|
|||
import { loader } from "fumadocs-core/source";
|
||||
import { docs } from "@/.source/server";
|
||||
import { icons } from "lucide-react";
|
||||
import { createElement } from "react";
|
||||
import { docs } from "@/.source/server";
|
||||
|
||||
export const source = loader({
|
||||
baseUrl: "/docs",
|
||||
source: docs.toFumadocsSource(),
|
||||
icon(icon) {
|
||||
if (icon && icon in icons)
|
||||
return createElement(icons[icon as keyof typeof icons]);
|
||||
if (icon && icon in icons) return createElement(icons[icon as keyof typeof icons]);
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue