feat: add about, projects (JuiceAgent, OrangeX-Client) and contact sections below hero
This commit is contained in:
1 parent
3539cb04e9
commit
e2c020a641
6 files changed
+263
-45
No files matched your search
Generated
-42
@@ -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": [
|
||||
|
||||
+7
-1
@@ -1,9 +1,15 @@
|
||||
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 (
|
||||
<div>
|
||||
<div className="bg-black">
|
||||
<Banner />
|
||||
<AboutSection />
|
||||
<ProjectsSection />
|
||||
<ContactSection />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -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 (
|
||||
<header className="relative z-10 w-full px-6 py-4 flex justify-between items-center bg-linear-to-b from-black/60 to-transparent">
|
||||
@@ -7,14 +8,14 @@ export default function Header() {
|
||||
root@Xiaozhou:~#
|
||||
</div>
|
||||
<div className="flex items-center gap-4 text-gray-400">
|
||||
<a href="https://github.com" target="_blank" rel="noopener noreferrer" className="hover:text-white transition-colors" title="GitHub">
|
||||
<a href="https://github.com/xiaozhou233" target="_blank" rel="noopener noreferrer" className="hover:text-white transition-colors" title="GitHub">
|
||||
<svg className="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
|
||||
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
|
||||
<path d="M9 18c-4.51 2-5-2-7-2" />
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" className="hover:text-white transition-colors" title="Code"><Code2 size={20} /></a>
|
||||
<a href="#" className="hover:text-white transition-colors" title="Contact"><Mail size={20} /></a>
|
||||
<a href="#contact" className="hover:text-white transition-colors" title="Contact"><Mail size={20} /></a>
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
|
||||
@@ -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 (
|
||||
<section id="about" className="relative w-full bg-black py-24 px-4">
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<div className="flex items-center gap-3 mb-12">
|
||||
<User className="text-emerald-400" size={28} />
|
||||
<h2 className="text-2xl md:text-3xl font-bold text-white tracking-tight">
|
||||
<span className="text-emerald-400">#</span> 关于我
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col md:flex-row gap-10">
|
||||
<div className="flex-1 space-y-4 text-gray-300 leading-relaxed">
|
||||
<p>
|
||||
<span className="text-emerald-400 font-semibold">$ whoami</span>
|
||||
</p>
|
||||
<p>
|
||||
我是 <span className="text-white font-medium">筱周XiaoZhou (xiaozhou233)</span>
|
||||
</p>
|
||||
<p>
|
||||
我对计算机领域很感兴趣,特别是计算机科学、逆向工程、嵌入式开发
|
||||
</p>
|
||||
<p>
|
||||
我目前在学习C、C++、Java、逆向工程和嵌入式开发
|
||||
</p>
|
||||
<p>
|
||||
我正在开发Minecraft Mod、插件、客户端
|
||||
</p>
|
||||
<p className="text-emerald-400/60 text-sm mt-6">
|
||||
<span className="text-gray-500">#</span> Learning by building. Building by learning.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="md:w-72 space-y-3">
|
||||
<p className="text-xs text-gray-500 uppercase tracking-widest mb-2">// skills</p>
|
||||
{skills.map(({ label, Icon }) => (
|
||||
<div
|
||||
key={label}
|
||||
className="flex items-center gap-3 px-4 py-3 rounded-xl bg-white/5 border border-white/5 backdrop-blur-sm"
|
||||
>
|
||||
<Icon size={18} className="text-emerald-400 shrink-0" />
|
||||
<span className="text-sm text-gray-200">{label}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
import { Mail, MessageCircle } from "lucide-react";
|
||||
import type { LucideProps } from "lucide-react";
|
||||
|
||||
function GithubIcon({ size, ...props }: LucideProps) {
|
||||
return (
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
width={size}
|
||||
height={size}
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
{...props}
|
||||
>
|
||||
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
|
||||
<path d="M9 18c-4.51 2-5-2-7-2" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
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 (
|
||||
<section id="contact" className="relative w-full bg-black py-24 px-4 border-t border-white/5">
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<div className="flex items-center gap-3 mb-12">
|
||||
<MessageCircle className="text-emerald-400" size={28} />
|
||||
<h2 className="text-2xl md:text-3xl font-bold text-white tracking-tight">
|
||||
<span className="text-emerald-400">#</span> 联系我
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-lg">
|
||||
{contacts.map(({ label, value, href, Icon }) => (
|
||||
<a
|
||||
key={label}
|
||||
href={href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center gap-4 p-5 rounded-2xl bg-white/5 border border-white/5 backdrop-blur-sm transition-all duration-300 hover:-translate-y-1 hover:bg-white/10 hover:border-emerald-500/30 group"
|
||||
>
|
||||
<Icon size={24} className="text-gray-400 group-hover:text-emerald-400 transition-colors shrink-0" />
|
||||
<div>
|
||||
<div className="text-xs text-gray-500">{label}</div>
|
||||
<div className="text-sm text-gray-200 group-hover:text-white transition-colors">{value}</div>
|
||||
</div>
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<p className="text-xs text-gray-600 mt-8">
|
||||
<span className="text-gray-500">//</span> 欢迎随时联系
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -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 (
|
||||
<a
|
||||
href={url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="block group"
|
||||
>
|
||||
<div className="p-6 rounded-2xl bg-white/5 border border-white/5 backdrop-blur-sm transition-all duration-300 hover:-translate-y-1 hover:bg-white/10 hover:border-emerald-500/30 hover:shadow-[0_0_25px_rgba(52,211,153,0.1)]">
|
||||
<div className="flex items-start justify-between mb-4">
|
||||
<FolderGit2 size={32} className="text-emerald-400 shrink-0" />
|
||||
<ExternalLink size={16} className="text-gray-500 group-hover:text-emerald-400 transition-colors" />
|
||||
</div>
|
||||
|
||||
<h3 className="text-lg font-bold text-white mb-2 group-hover:text-emerald-400 transition-colors">
|
||||
{name}
|
||||
</h3>
|
||||
<p className="text-sm text-gray-400 leading-relaxed mb-4 line-clamp-2">
|
||||
{desc}
|
||||
</p>
|
||||
|
||||
<div className="flex flex-wrap gap-2 mb-4">
|
||||
{topics.map((topic) => (
|
||||
<span
|
||||
key={topic}
|
||||
className="px-2.5 py-0.5 text-xs rounded-full bg-emerald-500/10 text-emerald-400 border border-emerald-500/20"
|
||||
>
|
||||
{topic}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-4 text-xs text-gray-500">
|
||||
<span className="flex items-center gap-1">
|
||||
<span className="w-2.5 h-2.5 rounded-full bg-amber-400" />
|
||||
{lang}
|
||||
</span>
|
||||
<span className="flex items-center gap-1">
|
||||
<Star size={14} />
|
||||
{stars}
|
||||
</span>
|
||||
<span className="flex items-center gap-1">
|
||||
<GitFork size={14} />
|
||||
{forks}
|
||||
</span>
|
||||
<span className="flex items-center gap-1">
|
||||
<ShieldCheck size={14} />
|
||||
{license}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
);
|
||||
}
|
||||
|
||||
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 (
|
||||
<section id="projects" className="relative w-full bg-black/95 py-24 px-4 border-t border-white/5">
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<div className="flex items-center gap-3 mb-12">
|
||||
<FolderGit2 className="text-emerald-400" size={28} />
|
||||
<h2 className="text-2xl md:text-3xl font-bold text-white tracking-tight">
|
||||
<span className="text-emerald-400">#</span> 项目展示
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
||||
{projects.map((project) => (
|
||||
<ProjectCard key={project.name} {...project} />
|
||||
))}
|
||||
</div>
|
||||
|
||||
<p className="text-xs text-gray-600 mt-8">
|
||||
<span className="text-gray-500">//</span> 更多项目请访问{" "}
|
||||
<a
|
||||
href="https://github.com/xiaozhou233"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-emerald-400/70 hover:text-emerald-400 transition-colors underline underline-offset-2"
|
||||
>
|
||||
github.com/xiaozhou233
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user