From e2c020a641c3912bf2e746ebd56870596601c64a Mon Sep 17 00:00:00 2001 From: xiaozhou233 Date: Sun, 26 Jul 2026 09:59:41 +0800 Subject: [PATCH] feat: add about, projects (JuiceAgent, OrangeX-Client) and contact sections below hero --- package-lock.json | 42 ------- src/App.tsx | 22 ++-- src/components/layout/Header.tsx | 5 +- src/components/sections/AboutSection.tsx | 57 +++++++++ src/components/sections/ContactSection.tsx | 73 ++++++++++++ src/components/sections/ProjectsSection.tsx | 123 ++++++++++++++++++++ 6 files changed, 270 insertions(+), 52 deletions(-) create mode 100644 src/components/sections/AboutSection.tsx create mode 100644 src/components/sections/ContactSection.tsx create mode 100644 src/components/sections/ProjectsSection.tsx diff --git a/package-lock.json b/package-lock.json index 54bcf28..0901ab8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1198,9 +1198,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1217,9 +1214,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1236,9 +1230,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1255,9 +1246,6 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1274,9 +1262,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1293,9 +1278,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1522,9 +1504,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1541,9 +1520,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1560,9 +1536,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1579,9 +1552,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -4363,9 +4333,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -4386,9 +4353,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -4409,9 +4373,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -4432,9 +4393,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ diff --git a/src/App.tsx b/src/App.tsx index 3276c2c..87e24fa 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,15 @@ -import Banner from "./components/Banner"; - -export default function App() { - return ( -
- -
- ); +import Banner from "./components/Banner"; +import AboutSection from "./components/sections/AboutSection"; +import ProjectsSection from "./components/sections/ProjectsSection"; +import ContactSection from "./components/sections/ContactSection"; + +export default function App() { + return ( +
+ + + + +
+ ); } \ No newline at end of file diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index 47bc7ce..cd2f80f 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -1,5 +1,6 @@ import { Code2, Mail } from "lucide-react"; +// Top bar with terminal-style prompt and social icon links export default function Header() { return (
@@ -7,14 +8,14 @@ export default function Header() { root@Xiaozhou:~#
- + - +
); diff --git a/src/components/sections/AboutSection.tsx b/src/components/sections/AboutSection.tsx new file mode 100644 index 0000000..904a8a2 --- /dev/null +++ b/src/components/sections/AboutSection.tsx @@ -0,0 +1,57 @@ +import { User, Code2, Cpu } from "lucide-react"; + +const skills = [ + { label: "Java / Python", Icon: Code2 }, + { label: "C / C++", Icon: Cpu }, +]; + +export default function AboutSection() { + return ( +
+
+
+ +

+ # 关于我 +

+
+ +
+
+

+ $ whoami +

+

+ 我是 筱周XiaoZhou (xiaozhou233) +

+

+ 我对计算机领域很感兴趣,特别是计算机科学、逆向工程、嵌入式开发 +

+

+ 我目前在学习C、C++、Java、逆向工程和嵌入式开发 +

+

+ 我正在开发Minecraft Mod、插件、客户端 +

+

+ # Learning by building. Building by learning. +

+
+ +
+

// skills

+ {skills.map(({ label, Icon }) => ( +
+ + {label} +
+ ))} +
+
+
+
+ ); +} diff --git a/src/components/sections/ContactSection.tsx b/src/components/sections/ContactSection.tsx new file mode 100644 index 0000000..8a82554 --- /dev/null +++ b/src/components/sections/ContactSection.tsx @@ -0,0 +1,73 @@ +import { Mail, MessageCircle } from "lucide-react"; +import type { LucideProps } from "lucide-react"; + +function GithubIcon({ size, ...props }: LucideProps) { + return ( + + + + + ); +} + +const contacts = [ + { + label: "GitHub", + value: "@xiaozhou233", + href: "https://github.com/xiaozhou233", + Icon: GithubIcon, + }, + { + label: "Email", + value: "xiaozhou233@vip.qq.com", + href: "mailto:xiaozhou233@vip.qq.com", + Icon: Mail, + }, +]; + +export default function ContactSection() { + return ( +
+
+
+ +

+ # 联系我 +

+
+ +
+ {contacts.map(({ label, value, href, Icon }) => ( + + +
+
{label}
+
{value}
+
+
+ ))} +
+ +

+ // 欢迎随时联系 +

+
+
+ ); +} diff --git a/src/components/sections/ProjectsSection.tsx b/src/components/sections/ProjectsSection.tsx new file mode 100644 index 0000000..7516647 --- /dev/null +++ b/src/components/sections/ProjectsSection.tsx @@ -0,0 +1,123 @@ +import { FolderGit2, Star, GitFork, ExternalLink, ShieldCheck } from "lucide-react"; + +interface ProjectProps { + name: string; + desc: string; + lang: string; + stars: number; + forks: number; + license: string; + url: string; + topics: string[]; +} + +function ProjectCard({ name, desc, lang, stars, forks, license, url, topics }: ProjectProps) { + return ( + +
+
+ + +
+ +

+ {name} +

+

+ {desc} +

+ +
+ {topics.map((topic) => ( + + {topic} + + ))} +
+ +
+ + + {lang} + + + + {stars} + + + + {forks} + + + + {license} + +
+
+
+ ); +} + +const projects: ProjectProps[] = [ + { + name: "JuiceAgent", + desc: "A JVMTI-based injection library for loading external JARs and transforming Java bytecode, even when DisableAttachMechanism is enabled.", + lang: "C++", + stars: 10, + forks: 2, + license: "MIT", + url: "https://github.com/xiaozhou233/JuiceAgent", + topics: ["jvmti", "bytecode", "injection", "injector"], + }, + { + name: "OrangeX-Client", + desc: "Minecraft Injected Client with Lunar Client support.", + lang: "Java", + stars: 19, + forks: 3, + license: "MIT", + url: "https://github.com/xiaozhou233/OrangeX-Client", + topics: ["minecraft", "injection", "client"], + }, +]; + +export default function ProjectsSection() { + return ( +
+
+
+ +

+ # 项目展示 +

+
+ +
+ {projects.map((project) => ( + + ))} +
+ +

+ // 更多项目请访问{" "} + + github.com/xiaozhou233 + +

+
+
+ ); +}