File tree Expand file tree Collapse file tree 1 file changed +33
-9
lines changed Expand file tree Collapse file tree 1 file changed +33
-9
lines changed Original file line number Diff line number Diff line change 1
- import type { BaseLayoutProps } from ' fumadocs-ui/layouts/shared' ;
1
+ import type { BaseLayoutProps } from " fumadocs-ui/layouts/shared" ;
2
2
3
3
/**
4
4
* Shared layout configurations
@@ -11,16 +11,40 @@ export const baseOptions: BaseLayoutProps = {
11
11
nav : {
12
12
title : (
13
13
< >
14
- < svg
15
- width = "24"
16
- height = "24"
17
- xmlns = "http://www.w3.org/2000/svg"
18
- aria-label = "Logo"
19
- >
20
- < circle cx = { 12 } cy = { 12 } r = { 12 } fill = "currentColor" />
14
+ < svg viewBox = "0 0 248 68" className = "h-7 w-auto" fill = "currentColor" >
15
+ < path
16
+ fillRule = "evenodd"
17
+ clipRule = "evenodd"
18
+ d = "M33.711.934L56.955 14.34a6.975 6.975 0 013.486 6.03v26.81a6.96 6.96 0 01-3.486 6.038L33.711 66.624a6.988 6.988 0 01-6.98 0L3.485 53.218A6.976 6.976 0 010 47.18V20.37a6.965 6.965 0 013.486-6.03L26.73.934a6.987 6.987 0 016.981 0zM44.573 21.15l-11.368-6.544a6.988 6.988 0 00-6.964 0L14.872 21.15a6.977 6.977 0 00-3.495 6.038V40.25a6.958 6.958 0 003.495 6.038l11.369 6.545a6.99 6.99 0 006.964 0l11.368-6.545a6.974 6.974 0 003.495-6.038V27.188a6.976 6.976 0 00-3.495-6.038z"
19
+ fill = "#3884FF"
20
+ > </ path >
21
+ < path
22
+ fillRule = "evenodd"
23
+ clipRule = "evenodd"
24
+ d = "M74.972 20.192h5.908v-5.473h-5.907v5.473zM72.67 52.944c4.811 0 8.21-3.403 8.21-8.192V23.116h-5.907v21.191c0 2.104-1.13 3.199-3.228 3.199h-1.91v5.438h2.835zm31.643-29.828l-.608 2.07a10.77 10.77 0 00-7.192-2.677c-6.55 0-11.438 4.952-11.438 11.57 0 6.611 4.88 11.605 11.438 11.605 2.783 0 5.205-.975 7.072-2.642l.522 1.992h4.606V23.116h-4.4zm-7.32 16.967a5.83 5.83 0 01-4.263-1.726 5.81 5.81 0 01-1.68-4.277 5.791 5.791 0 011.67-4.29 5.808 5.808 0 014.273-1.722 5.81 5.81 0 015.551 3.695c.287.737.42 1.526.39 2.317a5.794 5.794 0 01-3.629 5.584 5.81 5.81 0 01-2.312.419zm31.746-16.966l-5.257 14.691-5.334-14.692h-6.31l8.896 21.918h5.453l8.647-21.918h-6.104.009zm26.283 0l-.608 2.069a10.766 10.766 0 00-7.191-2.677c-6.55 0-11.438 4.952-11.438 11.57 0 6.611 4.888 11.605 11.438 11.605 2.783 0 5.214-.975 7.071-2.642l.523 1.992h4.606V23.116h-4.401zm-7.32 16.966a5.827 5.827 0 01-5.543-3.692 5.815 5.815 0 01-.398-2.311 5.785 5.785 0 011.669-4.29 5.809 5.809 0 014.272-1.722 5.812 5.812 0 014.272 1.723 5.79 5.79 0 011.67 4.289 5.792 5.792 0 01-1.673 4.283 5.804 5.804 0 01-4.269 1.72zm17.44-19.891h5.856v-5.473h-5.856v5.473zm0 24.842h5.899V23.116h-5.908v21.927l.009-.009zm19.281.65c5.539 0 9.169-2.924 9.169-7.388 0-5.354-4.563-6.09-8.117-6.739-2.268-.402-4.126-.77-4.126-2.223 0-1.266 1.096-2.078 2.911-2.078 2.054 0 3.27.855 3.313 2.6h5.617c-.043-4.388-3.511-7.347-8.767-7.347-5.257 0-8.767 2.882-8.767 7.021 0 5.157 4.443 6.089 7.919 6.696 2.303.368 4.195.813 4.195 2.31 0 1.47-1.49 2.24-3.108 2.24-2.097 0-3.595-.975-3.638-2.925h-5.737c0 4.67 3.682 7.833 9.136 7.833zm23.98-5.926c-2.183 0-3.39-1.214-3.39-3.335v-8.518h5.942v-4.789h-6.028v-5.678h-1.13l-8.604 9.168v1.3h3.921v9.338c0 4.831 2.945 7.79 7.757 7.79h4.195v-5.276h-2.663zm6.695-19.566h5.865v-5.473h-5.865v5.473zm0 24.842h5.908V23.116h-5.908v21.927-.009zm21.712.65c5.693 0 10.18-3.737 11.19-9.253h-5.942c-1.01 2.352-2.868 3.652-5.248 3.652-3.159 0-5.616-2.634-5.616-6.003 0-3.421 2.423-6.012 5.616-6.012a5.604 5.604 0 015.248 3.455h5.865c-1.053-5.405-5.42-9.014-11.079-9.014-6.626 0-11.643 4.952-11.643 11.528 0 6.576 5.017 11.647 11.609 11.647zM30.452 42.6c4.924 0 8.917-3.98 8.917-8.889 0-4.909-3.992-8.888-8.917-8.888s-8.917 3.98-8.917 8.888c0 4.91 3.992 8.89 8.917 8.89z"
25
+ fill = "currentColor"
26
+ > </ path >
21
27
</ svg >
22
- Javaistic
23
28
</ >
24
29
) ,
25
30
} ,
31
+ links : [
32
+ {
33
+ text : "Documentation" ,
34
+ url : "/docs" ,
35
+ } ,
36
+ {
37
+ text : "Programs" ,
38
+ url : "/programs" ,
39
+ } ,
40
+ {
41
+ text : "Sponsors" ,
42
+ url : "/sponsors" ,
43
+ } ,
44
+ ] ,
45
+ githubUrl : "https://github.com/javaistic/javaistic" ,
46
+ themeSwitch : {
47
+ enabled : true ,
48
+ mode : "light-dark" ,
49
+ } ,
26
50
} ;
You can’t perform that action at this time.
0 commit comments