Skip to content

Commit 3115ac9

Browse files
committed
Refactor "Humans and AI" page layout by adjusting section padding and text sizes for improved readability. Update subtitle content for clarity and remove unnecessary background elements in the hero section. Simplify footer by commenting out the Chinese translation.
1 parent 079afc7 commit 3115ac9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

app/humans-and-ai/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function HumansAndAI() {
99
return (
1010
<>
1111
{/* Hero Section */}
12-
<section className="relative overflow-hidden bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900 min-h-screen flex flex-col">
12+
<section className="relative overflow-hidden bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900">
1313
{/* Background effects */}
1414
<div className="absolute inset-0 bg-gradient-to-r from-blue-600/20 via-purple-600/20 to-blue-600/20"></div>
1515
<div className="absolute inset-0 opacity-30">
@@ -24,26 +24,26 @@ export default function HumansAndAI() {
2424
<div className="absolute bottom-1/4 right-1/6 w-2.5 h-2.5 bg-gradient-to-r from-cyan-400 to-blue-400 rounded-full opacity-55 animate-pulse delay-1000"></div>
2525
</div>
2626

27-
<div className="relative container mx-auto px-6 pt-32 pb-24 flex-grow flex items-center">
28-
<div className="text-center max-w-5xl mx-auto">
27+
<div className="relative container mx-auto px-6 pt-32 pb-12">
28+
<div className="text-center max-w-4xl mx-auto">
2929
{/* Title */}
3030
<div className="relative">
31-
<h1 className="text-5xl md:text-6xl lg:text-7xl font-medium mb-8 leading-tight">
31+
<h1 className="text-4xl md:text-5xl lg:text-6xl font-medium mb-8 leading-tight">
3232
<span className="bg-gradient-to-r from-blue-400 via-purple-400 to-cyan-400 bg-clip-text text-transparent">
3333
{language === 'en' ? 'Humans & AI' : '人类与AI'}
3434
</span>
3535
</h1>
3636

3737
{/* Glow effect */}
38-
<div className="absolute inset-0 text-5xl md:text-6xl lg:text-7xl font-medium leading-tight blur-sm">
38+
<div className="absolute inset-0 text-4xl md:text-5xl lg:text-6xl font-medium leading-tight blur-sm">
3939
<span className="bg-gradient-to-r from-blue-400/20 via-purple-400/20 to-cyan-400/20 bg-clip-text text-transparent">
4040
{language === 'en' ? 'Humans & AI' : '人类与AI'}
4141
</span>
4242
</div>
4343
</div>
4444

4545
{/* Subtitle */}
46-
<p className="text-xl md:text-2xl text-slate-300 mb-12 max-w-3xl mx-auto">
46+
<p className="text-lg md:text-xl text-slate-400 mb-8">
4747
{language === 'en'
4848
? 'Reading and writing essays on great books to deeply understand human nature and how we can guide human use of AI toward benefiting humanity.'
4949
: '阅读和撰写书籍评论,深入理解人性,以及如何引导人工智能的使用造福人类。'}

app/learn/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export default function LearnPage() {
2727
<div className="max-w-3xl mx-auto bg-amber-500/10 border border-amber-500/30 rounded-xl p-6 mb-8">
2828
<p className="text-amber-200 text-sm leading-relaxed">
2929
{language === 'en'
30-
? 'Under active development, some parts are AI generated and not reviewed yet. In the end everything will be carefully reviewed and rewritten by humans to the highest quality.'
31-
: '正在积极开发中,部分内容由AI生成尚未审核。最终所有内容都将由人工仔细审核和重写,确保最高质量'}
30+
? 'Under active development'
31+
: '正在积极开发中'}
3232
</p>
3333
</div>
3434
</div>

components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function Footer() {
2222
</div>
2323
<div className="text-sm text-slate-300">
2424
<div className="font-semibold text-white">Open Superintelligence Lab</div>
25-
<div className="text-xs text-slate-400">开放超级智能实验室</div>
25+
{/* <div className="text-xs text-slate-400">开放超级智能实验室</div> */}
2626
</div>
2727
</div>
2828

0 commit comments

Comments
 (0)