Skip to content

Commit c6b6349

Browse files
committed
add make os project page
1 parent e5f444f commit c6b6349

File tree

3 files changed

+95
-33
lines changed

3 files changed

+95
-33
lines changed

src/layout/main.tsx

Lines changed: 49 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -37,46 +37,62 @@ export default function Layout({ children }) {
3737
<div
3838
className={css({
3939
display: "flex",
40+
flexDirection: "column",
4041
justifyContent: "center",
4142
padding: "10px",
4243
borderBottom: "1px solid #f0d0ff",
4344
})}
4445
>
45-
<Link
46-
href={"/blog"}
47-
className={css({
48-
textShadow: "0 10px 30px #aa00ff",
49-
borderRadius: "5px",
50-
color: "#f0d0ff",
51-
margin: "0 5px",
52-
})}
53-
>
54-
Blog
55-
</Link>
46+
<div className={css({ width: "100%", display: "flex", justifyContent: "center" })} >
47+
<Link
48+
href={"/blog"}
49+
className={css({
50+
textShadow: "0 10px 30px #aa00ff",
51+
borderRadius: "5px",
52+
color: "#f0d0ff",
53+
margin: "0 5px",
54+
})}
55+
>
56+
Blog
57+
</Link>
5658

57-
<Link
58-
href={"/apps"}
59-
className={css({
60-
textShadow: "0 10px 30px #aa00ff",
61-
borderRadius: "5px",
62-
color: "#f0d0ff",
63-
margin: "0 5px",
64-
})}
65-
>
66-
Apps
67-
</Link>
59+
<Link
60+
href={"/dev"}
61+
className={css({
62+
textShadow: "0 10px 30px #aa00ff",
63+
borderRadius: "5px",
64+
color: "#f0d0ff",
65+
margin: "0 5px",
66+
})}
67+
>
68+
Dev Projects
69+
</Link>
70+
</div>
71+
<div className={css({ width: "100%", display: "flex", justifyContent: "center" })} >
72+
<Link
73+
href={"/apps"}
74+
className={css({
75+
textShadow: "0 10px 30px #aa00ff",
76+
borderRadius: "5px",
77+
color: "#f0d0ff",
78+
margin: "0 5px",
79+
})}
80+
>
81+
Apps
82+
</Link>
6883

69-
<Link
70-
href={"/videos"}
71-
className={css({
72-
textShadow: "0 10px 30px #aa00ff",
73-
borderRadius: "5px",
74-
color: "#f0d0ff",
75-
margin: "0 5px",
76-
})}
77-
>
78-
Videos
79-
</Link>
84+
<Link
85+
href={"/videos"}
86+
className={css({
87+
textShadow: "0 10px 30px #aa00ff",
88+
borderRadius: "5px",
89+
color: "#f0d0ff",
90+
margin: "0 5px",
91+
})}
92+
>
93+
Videos
94+
</Link>
95+
</div>
8096
</div>
8197
<main>{children}</main>
8298
<footer>

src/pages/dev/index.tsx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import Layout from '../../layout/main'
2+
import { css } from '../../../styled-system/css'
3+
import Link from 'next/link'
4+
5+
export default function DevProject() {
6+
return (
7+
<Layout>
8+
<div className={css({ textAlign: "center" })}>
9+
<h1 className={css({
10+
fontSize: "40px",
11+
margin: "4vh 0",
12+
})}>
13+
Development <br />Projects
14+
</h1>
15+
<p>Welcome to the development projects page.</p>
16+
</div>
17+
<div className={css({
18+
padding: "20px",
19+
borderTop: "1px solid #f0d0ff",
20+
textAlign: "center",
21+
})}>
22+
<h2 className={css({ fontSize: "30px", margin: "4vh 0" })}>Ongoing Projects</h2>
23+
<ul>
24+
<Link target="_blank" href="/dev/vx3-mcp" className={css({ display: "block", margin: "10px 0", fontSize: "23px" })}>
25+
<li>VX3 MCP (Open Gitmcp website)</li>
26+
</Link>
27+
<Link href="/dev/make-a-os" className={css({ display: "block", margin: "10px 0", fontSize: "23px" })}>
28+
<li>Make OS with Rust</li>
29+
</Link>
30+
</ul>
31+
</div>
32+
</Layout>
33+
)
34+
}

src/pages/dev/make-a-os.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import Layout from "../../layout/main";
2+
3+
const MakeAOS = () => {
4+
return (
5+
<Layout>
6+
<h1>How to Make an Operating System</h1>
7+
<p>Creating an operating system is a complex task that requires a deep understanding of computer science.</p>
8+
</Layout>
9+
);
10+
};
11+
12+
export default MakeAOS;

0 commit comments

Comments
 (0)