Skip to content

Commit 8d577fb

Browse files
committed
improve landing page
1 parent 4ef7fd9 commit 8d577fb

11 files changed

Lines changed: 609 additions & 903 deletions

File tree

apps/docs/app/assets/css/main.css

Lines changed: 39 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -4,145 +4,79 @@
44
@theme {
55
--font-serif: "Redaction", serif;
66
--font-sans: "Geist", sans-serif;
7+
--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
78
--font-redaction: "Redaction", serif;
89
--color-evlog-blue: #2853FF;
910
}
1011

1112
:root {
1213
--ui-radius: 0;
13-
--ui-bg: #fafafa;
14+
--ui-bg: #09090b;
1415
--ui-primary: #2853FF;
15-
--color-primary-50: #eef2ff;
16-
--color-primary-100: #e0e7ff;
17-
--color-primary-200: #c7d2fe;
18-
--color-primary-300: #a5b4fc;
19-
--color-primary-400: #818cf8;
20-
--color-primary-500: #2853FF;
21-
--color-primary-600: #2347db;
22-
--color-primary-700: #1e3bb7;
23-
--color-primary-800: #192f93;
24-
--color-primary-900: #142370;
25-
--color-primary-950: #0c1747;
2616
}
2717

28-
.dark {
29-
--ui-bg: #020202;
18+
.dark,
19+
:root {
20+
--ui-bg: #09090b;
3021
--ui-primary: #2853FF;
3122
}
3223

33-
/* evlog blue dot accent */
34-
.evlog-dot {
35-
color: var(--color-evlog-blue);
36-
font-weight: 700;
37-
}
38-
3924
@layer base {
4025
:root {
4126
@apply selection:bg-primary selection:text-highlighted;
4227
}
4328
}
4429

45-
/* Hero grid background pattern */
46-
.hero-grid {
47-
background-image:
48-
radial-gradient(circle, #e4e4e7 1px, transparent 1px);
49-
background-size: 40px 40px;
50-
}
51-
52-
.dark .hero-grid {
53-
background-image:
54-
radial-gradient(circle, #18181b 1px, transparent 1px);
55-
}
56-
57-
/* Corner bracket decorations */
58-
.corner-bracket {
59-
position: absolute;
60-
width: 32px;
61-
height: 32px;
62-
border-color: #d4d4d8;
63-
}
64-
65-
.dark .corner-bracket {
66-
border-color: #3f3f46;
67-
}
68-
69-
.corner-bracket-tl {
70-
top: 24px;
71-
left: 24px;
72-
border-left-width: 1px;
73-
border-top-width: 1px;
74-
}
75-
76-
.corner-bracket-tr {
77-
top: 24px;
78-
right: 24px;
79-
border-right-width: 1px;
80-
border-top-width: 1px;
81-
}
82-
83-
.corner-bracket-bl {
84-
bottom: 24px;
85-
left: 24px;
86-
border-left-width: 1px;
87-
border-bottom-width: 1px;
88-
}
89-
90-
.corner-bracket-br {
91-
bottom: 24px;
92-
right: 24px;
93-
border-right-width: 1px;
94-
border-bottom-width: 1px;
95-
}
96-
97-
/* Editorial typography */
30+
/* Editorial title - Redaction font */
9831
.editorial-title {
9932
font-family: var(--font-redaction);
10033
letter-spacing: -0.02em;
10134
line-height: 1.1;
10235
}
10336

104-
/* Subtle separator line */
105-
.editorial-separator {
106-
height: 1px;
107-
background: linear-gradient(to right, transparent, #e4e4e7, transparent);
108-
}
109-
110-
.dark .editorial-separator {
111-
background: linear-gradient(to right, transparent, #27272a, transparent);
112-
}
113-
114-
/* Log output styling */
115-
.log-output {
116-
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
117-
font-size: 0.8125rem;
118-
line-height: 1.6;
119-
}
120-
121-
.log-output .log-level {
122-
color: #22c55e;
123-
font-weight: 600;
37+
/* Blue dot accent */
38+
.evlog-dot {
39+
color: var(--color-evlog-blue);
12440
}
12541

126-
.log-output .log-method {
127-
color: #a78bfa;
42+
/* Section label with dot */
43+
.section-label::before {
44+
content: '';
45+
display: inline-block;
46+
width: 6px;
47+
height: 6px;
48+
border-radius: 50%;
49+
background-color: var(--color-evlog-blue);
50+
margin-right: 0.5rem;
12851
}
12952

130-
.log-output .log-path {
131-
color: #fbbf24;
53+
/* Subtle dot grid for hero */
54+
.dot-grid {
55+
background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
56+
background-size: 24px 24px;
13257
}
13358

134-
.log-output .log-duration {
135-
color: #6b7280;
59+
/* Fade mask for scroll areas */
60+
.fade-bottom {
61+
mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
13662
}
13763

138-
.log-output .log-key {
139-
color: #60a5fa;
64+
/* Animated underline for links */
65+
.animated-underline {
66+
position: relative;
14067
}
14168

142-
.log-output .log-string {
143-
color: #34d399;
69+
.animated-underline::after {
70+
content: '';
71+
position: absolute;
72+
bottom: -2px;
73+
left: 0;
74+
width: 0;
75+
height: 1px;
76+
background-color: var(--color-evlog-blue);
77+
transition: width 0.3s ease;
14478
}
14579

146-
.log-output .log-number {
147-
color: #f472b6;
80+
.animated-underline:hover::after {
81+
width: 100%;
14882
}

apps/docs/app/components/HeroLogs.vue

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

0 commit comments

Comments
 (0)