-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme.config.jsx
54 lines (54 loc) · 1.6 KB
/
theme.config.jsx
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
46
47
48
49
50
51
52
53
54
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
import { ComponentSource } from "@/components/component-source"
import { Button } from "@/components/ui/button"
import Image from "next/image"
import ZyfloAlert from "@/components/zyflo/alert"
import Pre from "@/components/pre"
import Note from "@/components/note"
import { Stepper, StepperItem } from "@/components/ui/stepper"
import { useRouter } from 'next/router'
import ModeToggle from "./components/mode-toggle"
import Link from "next/link"
// eslint-disable-next-line import/no-anonymous-default-export
export default {
logo: <span>My Nextra Documentation</span>,
project: {
link: "https://github.com/shuding/nextra"
},
components: {
Tabs,
TabsContent,
TabsList,
TabsTrigger,
Pre,
Note,
Stepper,
StepperItem,
ComponentSource,
Button,
Image,
ZyfloAlert
},
docsRepositoryBase: 'https://github.com/HarjjotSinghh/Zyflo/tree/main'
,
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s | Zyflo',
}
}
},
footer: {
text: (
<div className="flex w-full flex-col gap-2 items-center justify-between">
<p>
Developed with 💙 by <Link href="https://harjot.pro" target="_blank" rel="noreferrer" className="!text-foreground underline"><strong>Harjot Singh Rana</strong></Link>.
</p>
<p className="mt-6 text-xs">
© {new Date().getFullYear()} Zyflo. All rights reserved.
</p>
</div>
)
}
}