1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302import type { FC } from 'hono/jsx';
import type { Context } from 'hono';
import { BaseLayout, Nav, Footer, site } from '#src/components/Layout';
import { getCurrentUser } from '#src/utils/auth';
const styles = `
body {
min-height: 100vh;
background: #ffffff;
}
/* Notification Banner */
.notification-banner {
background: #C8102E;
color: #ffffff;
text-align: center;
padding: 12px 24px;
font-size: 15px;
}
.notification-banner a {
color: #ffffff;
text-decoration: underline;
font-weight: 600;
}
.notification-banner a:hover {
color: #e5e7eb;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, #001e62 0%, #001845 100%);
padding: 80px 48px;
text-align: center;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
position: relative;
z-index: 1;
}
.hero-badge {
display: inline-block;
background: rgba(200, 16, 46, 0.9);
color: #ffffff;
font-size: 12px;
font-weight: 600;
padding: 6px 14px;
border-radius: 20px;
margin-bottom: 24px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.hero h1 {
color: #ffffff;
font-size: 48px;
font-weight: 700;
margin: 0 0 20px 0;
line-height: 1.2;
}
@media (max-width: 768px) {
.hero h1 { font-size: 32px; }
.hero { padding: 48px 24px; }
}
.hero p {
color: rgba(255, 255, 255, 0.9);
font-size: 20px;
line-height: 1.6;
margin: 0 0 32px 0;
}
.hero-buttons {
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
}
.hero-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 28px;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
text-decoration: none;
transition: all 0.2s;
}
.hero-btn-primary {
background: #C8102E;
color: #ffffff;
}
.hero-btn-primary:hover {
background: #9a0c23;
text-decoration: none;
transform: translateY(-2px);
}
.hero-btn-secondary {
background: rgba(255, 255, 255, 0.15);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.3);
}
.hero-btn-secondary:hover {
background: rgba(255, 255, 255, 0.25);
text-decoration: none;
transform: translateY(-2px);
}
/* Product Cards */
.products-section {
max-width: 1200px;
margin: 0 auto;
padding: 64px 48px;
}
@media (max-width: 768px) {
.products-section { padding: 40px 20px; }
}
.products-section h2 {
font-size: 28px;
font-weight: 700;
color: #1f2937;
text-align: center;
margin: 0 0 8px;
}
.products-section .section-desc {
text-align: center;
color: #6b7280;
margin: 0 0 40px;
font-size: 16px;
line-height: 1.6;
}
.products-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
@media (max-width: 768px) {
.products-grid { grid-template-columns: 1fr; }
}
.product-card {
background: #f8f9fa;
border: 1px solid #d1d5db;
border-radius: 12px;
padding: 32px 24px;
text-align: center;
text-decoration: none;
transition: all 0.2s;
display: flex;
flex-direction: column;
align-items: center;
}
.product-card:hover {
border-color: #C8102E;
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
text-decoration: none;
}
.product-icon {
width: 64px;
height: 64px;
background: #001e62;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
.product-card h3 {
font-size: 20px;
font-weight: 700;
color: #1f2937;
margin: 0 0 8px;
}
.product-card p {
font-size: 14px;
color: #6b7280;
margin: 0 0 16px;
line-height: 1.6;
}
.product-link {
font-size: 14px;
font-weight: 600;
color: #C8102E;
margin-top: auto;
}
`;
export const HomePage: FC = () => {
const user = getCurrentUser();
return (
<BaseLayout title={`${site.name} – UIC's Open Source Web Accessibility Ecosystem`} styles={styles}>
<Nav user={user} />
{/* Reflow Beta Notification Banner */}
<div class="notification-banner">
Equalify Reflow Beta now available! Translate PDFs into accessible documents.{' '}
<a href="/reflow">More Info ›</a>
</div>
{/* Hero Section */}
<section class="hero">
<div class="hero-content">
<span class="hero-badge">UIC Digital Accessibility</span>
<h1>Introducing Equalify</h1>
<p>
UIC's open source web accessibility ecosystem. We currently offer tools
to track accessibility issues and convert PDFs into accessible documents.
</p>
<div class="hero-buttons">
<a href="/roadmap" class="hero-btn hero-btn-primary">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"/>
<line x1="8" y1="2" x2="8" y2="18"/>
<line x1="16" y1="6" x2="16" y2="22"/>
</svg>
Roadmap
</a>
<a href="/signup" class="hero-btn hero-btn-secondary">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/>
<circle cx="8.5" cy="7" r="4"/>
<line x1="20" y1="8" x2="20" y2="14"/>
<line x1="23" y1="11" x2="17" y2="11"/>
</svg>
Sign Up for Equalify
</a>
</div>
</div>
</section>
{/* Product Cards */}
<section class="products-section">
<h2>Our Tools</h2>
<p class="section-desc">
Explore the Equalify ecosystem — purpose-built tools for web accessibility.
</p>
<div class="products-grid">
<a href="/dashboard" class="product-card">
<div class="product-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"/>
<line x1="3" y1="9" x2="21" y2="9"/>
<line x1="9" y1="21" x2="9" y2="9"/>
</svg>
</div>
<h3>Equalify Dashboard</h3>
<p>
Track and manage web accessibility issues across your sites. Scan, audit, and monitor
your organization's accessibility compliance.
</p>
<span class="product-link">Learn more →</span>
</a>
<a href="/reflow" class="product-card">
<div class="product-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
<polyline points="14 2 14 8 20 8"/>
<line x1="16" y1="13" x2="8" y2="13"/>
<line x1="16" y1="17" x2="8" y2="17"/>
</svg>
</div>
<h3>Equalify Reflow</h3>
<p>
Convert PDFs into accessible, reflowable content. An open-source pipeline
powered by AI to escape static files.
</p>
<span class="product-link">Learn more →</span>
</a>
<a href="https://github.com/EqualifyEverything" class="product-card">
<div class="product-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2">
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>
</svg>
</div>
<h3>Open Source</h3>
<p>
All Equalify tools are open source. Browse our repositories, contribute code,
and help make the web more accessible.
</p>
<span class="product-link">View on GitHub →</span>
</a>
</div>
</section>
</BaseLayout>
);
};
export async function homeHandler(c: Context) {
return c.html(<HomePage />);
}