generated from ony3000/next-tailwind-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.jsx
112 lines (109 loc) · 4.82 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
import { useRouter } from 'next/router';
export default {
logo: (
<>
<svg
width="32"
height="32"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M26.3986 26.5198C27.5883 26.1156 28.2249 24.8234 27.8206 23.6338C27.4163 22.4442 26.1242 21.8075 24.9346 22.2118C23.745 22.6161 23.1083 23.9082 23.5126 25.0979C23.9169 26.2875 25.209 26.9241 26.3986 26.5198Z"
fill="#0795FF"
/>
<path
d="M19.065 21.645L20 20L24.46 22.575C24.5671 22.6366 24.661 22.7188 24.7363 22.8168C24.8117 22.9147 24.8669 23.0266 24.899 23.146C24.931 23.2653 24.9392 23.3898 24.9231 23.5123C24.907 23.6349 24.8668 23.753 24.805 23.86C24.6795 24.0767 24.4732 24.2347 24.2314 24.2994C23.9895 24.364 23.7319 24.3301 23.515 24.205L19.065 21.645Z"
fill="#DFE8F4"
/>
<path
d="M21.88 21.095L20 20L19.06 21.63L21.06 22.79C21.4402 22.2833 21.7187 21.7077 21.88 21.095Z"
fill="#CCD8E5"
/>
<path
d="M18.275 7.62998C18.275 8.07993 18.1416 8.51978 17.8916 8.8939C17.6416 9.26802 17.2863 9.55962 16.8706 9.73181C16.4549 9.904 15.9975 9.94905 15.5561 9.86127C15.1148 9.77349 14.7095 9.55681 14.3913 9.23865C14.0731 8.92048 13.8565 8.51512 13.7687 8.07381C13.6809 7.6325 13.726 7.17508 13.8982 6.75938C14.0703 6.34367 14.3619 5.98837 14.7361 5.73839C15.1102 5.48841 15.55 5.35498 16 5.35498C16.6033 5.35498 17.182 5.59467 17.6086 6.02131C18.0353 6.44796 18.275 7.02661 18.275 7.62998Z"
fill="#0795FF"
/>
<path
d="M16.94 14.7051H15.06V9.56012C15.06 9.31081 15.159 9.07172 15.3353 8.89544C15.5116 8.71915 15.7507 8.62012 16 8.62012C16.2493 8.62012 16.4884 8.71915 16.6647 8.89544C16.841 9.07172 16.94 9.31081 16.94 9.56012V14.7051Z"
fill="#DFE8F4"
/>
<path
d="M16 23.735C18.731 23.735 20.945 21.521 20.945 18.79C20.945 16.0589 18.731 13.845 16 13.845C13.2689 13.845 11.055 16.0589 11.055 18.79C11.055 21.521 13.2689 23.735 16 23.735Z"
fill="#156CDD"
/>
<path
d="M16.28 17.4999C16.28 17.8085 16.1885 18.1101 16.0171 18.3666C15.8457 18.6232 15.602 18.8231 15.317 18.9412C15.0319 19.0593 14.7182 19.0902 14.4156 19.03C14.113 18.9698 13.8351 18.8212 13.6169 18.603C13.3987 18.3849 13.2501 18.1069 13.1899 17.8043C13.1298 17.5017 13.1606 17.188 13.2787 16.903C13.3968 16.6179 13.5967 16.3743 13.8533 16.2028C14.1098 16.0314 14.4114 15.9399 14.72 15.9399C15.1337 15.9399 15.5305 16.1043 15.8231 16.3969C16.1156 16.6894 16.28 17.0862 16.28 17.4999Z"
fill="#0795FF"
/>
<path
d="M12.39 20.7L12.54 20.96C12.5926 21.0498 12.6269 21.1491 12.6408 21.2522C12.6547 21.3553 12.648 21.4602 12.621 21.5607C12.594 21.6612 12.5473 21.7553 12.4836 21.8376C12.4199 21.9199 12.3405 21.9887 12.25 22.04L8.49997 24.22C8.28311 24.3451 8.02546 24.3791 7.7836 24.3144C7.54174 24.2497 7.33543 24.0917 7.20997 23.875C7.14814 23.768 7.10802 23.6499 7.0919 23.5274C7.07577 23.4048 7.08397 23.2803 7.11601 23.161C7.14806 23.0416 7.20332 22.9298 7.27864 22.8318C7.35396 22.7338 7.44786 22.6517 7.55497 22.59L11.33 20.41C11.5097 20.3113 11.7208 20.2864 11.9187 20.3405C12.1165 20.3946 12.2855 20.5235 12.39 20.7Z"
fill="#DFE8F4"
/>
<path
d="M8.54594 24.9235C8.85054 23.7045 8.1093 22.4694 6.89033 22.1648C5.67136 21.8602 4.43627 22.6015 4.13167 23.8205C3.82707 25.0394 4.56831 26.2745 5.78727 26.5791C7.00624 26.8837 8.24134 26.1425 8.54594 24.9235Z"
fill="#0795FF"
/>
</svg>
<span style={{ marginLeft: '0.5rem' }}>My Nextra Documentation</span>
</>
),
project: {
link: 'https://github.com/ony3000-lab/nextra-trial',
},
docsRepositoryBase: 'https://github.com/ony3000-lab/nextra-trial/tree/master',
useNextSeoProps() {
const { asPath } = useRouter();
if (asPath === '/') {
return {
titleTemplate: 'Nextra-Trial',
};
}
return {
titleTemplate: '%s | Nextra-Trial',
};
},
/**
* Dynamic Head: https://nextra.site/docs/docs-theme/theme-configuration#dynamic-tags-based-on-page
*/
head: (
<>
<meta
name="description"
content="Nextra Trial"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<meta
property="og:title"
content="Nextra: the next docs builder"
/>
<meta
property="og:description"
content="Nextra: the next docs builder"
/>
<link
rel="icon"
href="/favicon.ico"
/>
</>
),
footer: {
text: (
<span>
MIT {new Date().getFullYear()} ©{' '}
<a
href="https://github.com/ony3000"
target="_blank"
>
Hyeonjong
</a>
.
</span>
),
},
// ... other theme options
};