From 178dfd20665011af8209737acada693a177b7fca Mon Sep 17 00:00:00 2001 From: longsizhuo Date: Wed, 7 Jan 2026 02:26:45 +0800 Subject: [PATCH 01/13] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/ActivityTicker.tsx | 121 ++---- app/components/BrandMark.tsx | 5 +- app/components/Community.tsx | 219 +++++------ app/components/Contribute.tsx | 62 +-- app/components/Features.tsx | 74 ++-- app/components/Footer.tsx | 203 +++++----- app/components/Header.tsx | 114 +++--- app/components/Hero.tsx | 127 ++++-- app/components/LicenseNotice.tsx | 87 +++-- app/components/ZoteroFeed.tsx | 76 ++-- app/globals.css | 617 ++++-------------------------- app/layout.tsx | 11 +- tsconfig.json | 10 +- 13 files changed, 636 insertions(+), 1090 deletions(-) diff --git a/app/components/ActivityTicker.tsx b/app/components/ActivityTicker.tsx index 6c0f981b..84a97909 100644 --- a/app/components/ActivityTicker.tsx +++ b/app/components/ActivityTicker.tsx @@ -87,95 +87,38 @@ export function ActivityTicker({ className }: ActivityTickerProps) { const showPlayback = activeEvent.deprecated && Boolean(activeEvent.playback); return ( -
- - +
+
+ + Update + + + {activeEvent.name} —{" "} + {activeEvent.deprecated ? "Archives Available" : "Event Active"} + + + + Edition 1.0.0 + +
+ +
+ + +
); } diff --git a/app/components/BrandMark.tsx b/app/components/BrandMark.tsx index a0407d71..efbfa1f2 100644 --- a/app/components/BrandMark.tsx +++ b/app/components/BrandMark.tsx @@ -58,7 +58,10 @@ export function BrandMark({ />
{BRAND_NAME} diff --git a/app/components/Community.tsx b/app/components/Community.tsx index b1d1201a..cbd43dbf 100644 --- a/app/components/Community.tsx +++ b/app/components/Community.tsx @@ -10,123 +10,124 @@ import { export function Community() { return ( -
+
-
-

- 成为{" "} - - 社区 - {" "} - 的一员 +
+

+ Community
Archives

-

- 与来自世界各地的开发者一起学习、成长、创造。每个人的贡献都让社区变得更好。 -

+
+ Join thousands of researchers and developers in our distributed + network. +
- {/* Main CTA Card */} -
- - -
-
- -
-

- 内卷知识库 -

-

- 探索我们精心整理的技术文档、教程和工具。从基础到进阶,应有尽有。 -

- -
-
-
+ {/* Main CTA Section - Inverted */} +
+
+
+ +
+

+ 内卷知识库 +

+

+ 探索我们精心整理的技术文档、教程和工具。从基础到进阶,应有尽有。我们不仅是在分享知识,更是在构建共识。 +

+ +
+ {/* Halftone background effect */} +
- {/* Action Cards */} -
- - -
-
- -
-

GitHub 仓库

-

- 查看源代码,提交 Issue,参与项目讨论。 -

- -
-
-
+ {/* Action Cards Grid */} +
+
+
+ +
+

+ GitHub 仓库 +

+

+ 查看源代码,提交 Issue,参与项目讨论。每一个 Commit + 都是对社区的贡献。 +

+ +
- - -
-
- -
-

Discord 社区

-

- 实时交流,分享经验,结识志同道合的朋友。 -

- -
-
-
+
+
+ +
+

+ Discord 社区 +

+

+ 实时交流,分享经验,结识志同道合的朋友。打破孤岛,共同成长。 +

+ +
- - -
-
- -
-

文献资料

-

- 访问我们在 Zotero 的文献库,获取精选学术资源。 -

- -
-
-
+
+
+ +
+

+ 文献资料 +

+

+ 访问我们在 Zotero 的文献库,获取精选学术资源。连接前沿科技。 +

+ +

diff --git a/app/components/Contribute.tsx b/app/components/Contribute.tsx index 670f72d8..5cca77cd 100644 --- a/app/components/Contribute.tsx +++ b/app/components/Contribute.tsx @@ -159,62 +159,18 @@ export function Contribute() { @@ -225,9 +181,9 @@ export function Contribute() { rel="noopener noreferrer" aria-label="查看投稿指南" title="查看投稿指南" - className="absolute top-0 right-0 flex h-11 w-11 translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-white/80 bg-white text-sky-600 shadow-lg ring-1 ring-sky-400/60 transition-transform hover:-translate-y-1/2 hover:translate-x-1/2 hover:scale-105 hover:shadow-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:border-slate-700 dark:bg-slate-900 dark:text-sky-300" + className="absolute top-0 right-0 flex h-10 w-10 translate-x-1/2 -translate-y-1/2 items-center justify-center border border-[#111111] bg-[#F9F9F7] text-[#111111] font-mono hover:bg-[#CC0000] hover:text-white transition-colors z-20" > - ? + ? 查看投稿指南 diff --git a/app/components/Features.tsx b/app/components/Features.tsx index d8009fd5..98ea844d 100644 --- a/app/components/Features.tsx +++ b/app/components/Features.tsx @@ -1,5 +1,4 @@ -import { Card, CardContent } from "@/components/ui/card"; -import { Badge } from "@/components/ui/badge"; +import React from "react"; import { Users, Zap, Heart } from "lucide-react"; import { Github as GithubIcon } from "./icons/Github"; @@ -40,47 +39,58 @@ export function Features() { ]; return ( -
+
-
-

- - 内卷地狱 - - 想做什么{" "} -

- -

- 我们致力于创造一个真正属于开发者的学习环境,让每个人都能在这里获得成长。 +

+

+ Mission
Statement +

+

+ 我们致力于创造一个真正属于开发者的学习环境,让每个人都能在这里获得成长。在这里,知识是流动的,门槛是不存在的,而内卷是被鄙视的。

-
+
{features.map((feature, index) => ( - - -
-
{feature.icon}
-
-
-

{feature.title}

- - {feature.highlight} - +
+
+
+ {/* Simplified icon styling */} +
+ {React.cloneElement(feature.icon as React.ReactElement, { + className: "h-8 w-8", + })}
-

- {feature.description} -

+
+ SEC. 0{index + 1} +
+
+ +
+

+ {feature.title} +

+ + {feature.highlight} +
- {/* Hover effect decoration */} -
- - +

+ {feature.description} +

+ +
+ + Learn More → + +
+
+
))}
diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx index db7016c7..9aede3de 100644 --- a/app/components/Footer.tsx +++ b/app/components/Footer.tsx @@ -5,121 +5,140 @@ import { LicenseNotice } from "./LicenseNotice"; export function Footer() { return ( -