Skip to content

Commit a71639b

Browse files
weiihannclaude
andcommitted
Redesign site with editorial visual storytelling
Add design system components (chapter headings, section breaks, pull quotes, scroll-triggered animations, SVG diagrams) and apply editorial treatment to all pages. Add floating network graph hero animation, Ethereum diamond favicon, and consistent section alignment. Remove redundant About page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 614ebc6 commit a71639b

28 files changed

Lines changed: 1644 additions & 348 deletions

src/app/about/page.tsx

Lines changed: 0 additions & 228 deletions
This file was deleted.

src/app/globals.css

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@theme {
44
/* EF Brand Colors */
55
--color-navy: #36364C;
6+
--color-navy-dark: #2A2A3C;
67
--color-ef-yellow: #F9EC7B;
78
--color-ef-green: #54BC7A;
89
--color-ef-cyan: #0DAFD2;
@@ -48,3 +49,77 @@ h5,
4849
h6 {
4950
font-family: var(--font-heading);
5051
}
52+
53+
/* Scroll-triggered fade-in */
54+
@media (prefers-reduced-motion: no-preference) {
55+
.animate-on-scroll {
56+
opacity: 0;
57+
transform: translateY(24px);
58+
transition: opacity 0.6s ease, transform 0.6s ease;
59+
}
60+
61+
.animate-on-scroll.is-visible {
62+
opacity: 1;
63+
transform: translateY(0);
64+
}
65+
66+
/* SVG path draw animation */
67+
@keyframes draw {
68+
from {
69+
stroke-dashoffset: var(--path-length);
70+
}
71+
to {
72+
stroke-dashoffset: 0;
73+
}
74+
}
75+
76+
.draw-path {
77+
animation: draw 1.5s ease forwards;
78+
}
79+
80+
/* Hero network node drift */
81+
@keyframes drift-1 {
82+
0%, 100% { transform: translate(0, 0); }
83+
50% { transform: translate(1.2px, -0.8px); }
84+
}
85+
@keyframes drift-2 {
86+
0%, 100% { transform: translate(0, 0); }
87+
50% { transform: translate(-1px, 1.4px); }
88+
}
89+
@keyframes drift-3 {
90+
0%, 100% { transform: translate(0, 0); }
91+
50% { transform: translate(0.8px, 1px); }
92+
}
93+
94+
.drift-1 { animation: drift-1 18s ease-in-out infinite; }
95+
.drift-2 { animation: drift-2 23s ease-in-out infinite; }
96+
.drift-3 { animation: drift-3 28s ease-in-out infinite; }
97+
}
98+
99+
/* Details/summary open-close animation */
100+
details .details-content {
101+
display: grid;
102+
grid-template-rows: 0fr;
103+
transition: grid-template-rows 0.3s ease;
104+
}
105+
106+
details[open] .details-content {
107+
grid-template-rows: 1fr;
108+
}
109+
110+
details .details-content > div {
111+
overflow: hidden;
112+
}
113+
114+
/* EF prism gradient bar */
115+
.prism-gradient {
116+
background: linear-gradient(
117+
90deg,
118+
var(--color-ef-coral),
119+
var(--color-ef-yellow),
120+
var(--color-ef-green),
121+
var(--color-ef-cyan),
122+
var(--color-ef-blue),
123+
var(--color-ef-purple)
124+
);
125+
}

src/app/icon.svg

Lines changed: 8 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)