Skip to content

Commit d556d0a

Browse files
committed
fixes design
1 parent cc13efd commit d556d0a

File tree

15 files changed

+8774
-248
lines changed

15 files changed

+8774
-248
lines changed

blog/2021-07-13-welcome/1.jpg

-116 KB
Binary file not shown.

blog/2021-07-13-welcome/2.jpg

-47.5 KB
Binary file not shown.

blog/2021-07-13-welcome/3.jpg

-74 KB
Binary file not shown.

blog/2021-07-13-welcome/index.md

-22
This file was deleted.

blog/2021-11-12-update/1.jpg

-57.7 KB
Binary file not shown.

blog/2021-11-12-update/2.jpg

-78.6 KB
Binary file not shown.

blog/2021-11-12-update/3.jpg

-60.5 KB
Binary file not shown.

blog/2021-11-12-update/4.jpg

-80 KB
Binary file not shown.

blog/2021-11-12-update/index.md

-44
This file was deleted.

blog/authors.yml

-11
This file was deleted.

docusaurus.config.js

+98-108
Original file line numberDiff line numberDiff line change
@@ -6,116 +6,106 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
66

77
/** @type {import('@docusaurus/types').Config} */
88
const config = {
9-
title: "Win11React",
10-
url: "https://win11docs.asylum-os.com",
11-
baseUrl: "/",
12-
tagline: "Windows 11 in React",
13-
onBrokenLinks: "throw",
14-
onBrokenMarkdownLinks: "warn",
15-
favicon: "favicon.ico",
16-
organizationName: "win11react", // Usually your GitHub org/user name.
17-
projectName: "docs", // Usually your repo name.
9+
title: "Win11React",
10+
url: "https://win11docs.asylum-os.com",
11+
baseUrl: "/",
12+
tagline: "Windows 11 in React",
13+
onBrokenLinks: "throw",
14+
onBrokenMarkdownLinks: "warn",
15+
favicon: "favicon.ico",
16+
organizationName: "win11react", // Usually your GitHub org/user name.
17+
projectName: "docs", // Usually your repo name.
1818

19-
presets: [
20-
[
21-
"classic",
22-
/** @type {import('@docusaurus/preset-classic').Options} */
23-
({
24-
docs: {
25-
sidebarPath: require.resolve("./sidebars.js"),
26-
// Please change this to your repo.
27-
editUrl: "https://github.com/win11react/docs/edit/main/",
28-
},
29-
blog: {
30-
showReadingTime: true,
31-
// Please change this to your repo.
32-
editUrl: "https://github.com/win11react/docs/edit/main/blog/",
33-
},
34-
theme: {
35-
customCss: require.resolve("./src/css/custom.css"),
36-
},
37-
}),
38-
],
39-
],
19+
presets: [
20+
[
21+
"classic",
22+
/** @type {import('@docusaurus/preset-classic').Options} */
23+
({
24+
docs: {
25+
sidebarPath: require.resolve("./sidebars.js"),
26+
// Please change this to your repo.
27+
editUrl: "https://github.com/win11react/docs/edit/main/",
28+
},
29+
theme: {
30+
customCss: require.resolve("./src/css/custom.css"),
31+
},
32+
}),
33+
],
34+
],
4035

41-
themeConfig:
42-
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
43-
{
44-
colorMode: {
45-
respectPrefersColorScheme: true,
46-
},
47-
navbar: {
48-
title: "Win11React",
49-
logo: {
50-
alt: "Win11React Logo",
51-
src: "img/logo.png",
52-
},
53-
items: [
54-
{
55-
type: "doc",
56-
docId: "about",
57-
position: "left",
58-
label: "Docs",
59-
},
60-
{ to: "/blog", label: "Blog", position: "left" },
61-
{
62-
href: "https://win11.blueedge.me/",
63-
label: "Win11React",
64-
position: "right",
65-
},
66-
],
67-
hideOnScroll: true,
68-
},
69-
footer: {
70-
style: "light",
71-
links: [
72-
{
73-
title: "Docs",
74-
items: [
75-
{
76-
label: "Tutorial",
77-
to: "/docs/about",
78-
},
79-
{
80-
label: "Blog",
81-
to: "/blog",
82-
},
83-
],
84-
},
85-
{
86-
title: "Community",
87-
items: [
88-
{
89-
label: "Discord",
90-
href: "https://discord.gg/qmEZwUhb4b",
91-
},
92-
{
93-
label: "Github",
94-
href: "https://github.com/blueedgetechno/win11React",
95-
},
96-
],
97-
},
98-
{
99-
title: "More",
100-
items: [
101-
{
102-
label: "Win11React",
103-
href: "https://win11.blueedge.me/",
104-
},
105-
{
106-
label: "Status",
107-
href: "https://win11react.github.io/status/",
108-
},
109-
],
110-
},
111-
],
112-
copyright: `Copyright © ${new Date().getFullYear()} Bluedge. Built with ReactJS.`,
113-
},
114-
prism: {
115-
theme: lightCodeTheme,
116-
darkTheme: darkCodeTheme,
117-
},
118-
},
36+
themeConfig:
37+
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
38+
{
39+
colorMode: {
40+
respectPrefersColorScheme: true,
41+
},
42+
navbar: {
43+
title: "Win11React",
44+
logo: {
45+
alt: "Win11React Logo",
46+
src: "img/logo.png",
47+
},
48+
items: [
49+
{
50+
type: "doc",
51+
docId: "about",
52+
position: "left",
53+
label: "Docs",
54+
},
55+
{
56+
href: "https://win11.blueedge.me/",
57+
label: "Win11React",
58+
position: "right",
59+
},
60+
],
61+
hideOnScroll: true,
62+
},
63+
footer: {
64+
style: "light",
65+
links: [
66+
{
67+
title: "Docs",
68+
items: [
69+
{
70+
label: "Tutorial",
71+
to: "/docs/about",
72+
},
73+
],
74+
},
75+
{
76+
title: "Community",
77+
items: [
78+
{
79+
label: "Discord",
80+
href: "https://discord.gg/qmEZwUhb4b",
81+
},
82+
{
83+
label: "Github",
84+
href: "https://github.com/blueedgetechno/win11React",
85+
},
86+
],
87+
},
88+
{
89+
title: "More",
90+
items: [
91+
{
92+
label: "Win11React",
93+
href: "https://win11.blueedge.me/",
94+
},
95+
{
96+
label: "Status",
97+
href: "https://win11react.github.io/status/",
98+
},
99+
],
100+
},
101+
],
102+
copyright: `Copyright © ${new Date().getFullYear()} Blue edge.`,
103+
},
104+
prism: {
105+
theme: lightCodeTheme,
106+
darkTheme: darkCodeTheme,
107+
},
108+
},
119109
};
120110

121111
module.exports = config;

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "win11React-docs",
3-
"version": "0.0.0",
2+
"name": "win11react-docs",
3+
"version": "0.0.1",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

0 commit comments

Comments
 (0)