-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
82 lines (79 loc) · 1.81 KB
/
theme.config.tsx
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import {
site,
group,
separator,
defineTheme,
directory,
siteTemplate,
social,
link,
type SiteComponent,
} from "@neato/guider/theme";
import { Logo } from "./components/Logo";
const template = siteTemplate({
github: "Itsoon/blog",
settings: {
colors: {
primary: "#A277FF",
primaryLighter: "#A277FF",
primaryDarker: "#5607FF",
background: "#070512",
backgroundLighter: "#0E0A22",
backgroundLightest: "#151032",
backgroundDarker: "#000001",
line: "#1F1942",
text: "#7B7599",
textLighter: "#7C7799",
textHighlight: "#fff",
},
backgroundPattern: "flare",
logo: () => <Logo />,
},
contentFooter: {
editRepositoryBase: "https://github.com/Itsoon/blog",
socials: [
social.discord("https://discord.gg/aSkS8yw4d9"),
social.github("https://github.com/Itsoon"),
],
},
meta: {
titleTemplate: "%s - Itsoon",
additionalLinkTags: [
{
rel: "icon",
href: "/favicon.png",
},
],
},
});
export default defineTheme([
site("main", {
extends: [template],
directories: [
directory("main", {
sidebar: [],
}),
],
}),
site("blog", {
extends: [template],
directories: [
directory("en", {
sidebar: [
group("Getting started", [link("Welcome", "/blog/welcome")]),
separator(),
group("Linux", [
link("Root passwd reset Linux", "/blog/linux/root-passwd-reset-linux"),
link("List Users on Linux", "/blog/linux/list-users-linux"),
link.nested("Grub", [
link(
"Booting into a Root Shell via GRUB",
"/blog/linux/grub/Booting-into-a-Root-Shell-via-GRUB",
),
]),
]),
],
}),
],
}),
]);