forked from openclaw/openclaw.ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshoutouts.astro
More file actions
263 lines (231 loc) · 6.71 KB
/
Copy pathshoutouts.astro
File metadata and controls
263 lines (231 loc) · 6.71 KB
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
---
import Layout from '../layouts/Layout.astro';
import testimonials from '../data/testimonials.json';
import extraTestimonials from '../data/testimonials-extra.json';
import { getCachedXAvatarSrc, getInitialsAvatarSrc } from '../lib/avatars';
import { sanitizeUrl } from '../lib/sanitize-url';
// Combine all testimonials - strongest first, then extras (no randomization)
const allTestimonials = [...testimonials, ...extraTestimonials];
---
<Layout title="Shoutouts — OpenClaw">
<div class="stars"></div>
<div class="nebula"></div>
<main class="container">
<header class="header">
<a href="/" class="back-link">← Back to home</a>
<h1 class="title">
<span class="claw-accent">⟩</span> Shoutouts
</h1>
<p class="subtitle">What the community is saying about OpenClaw</p>
</header>
<div class="shoutouts-grid">
{allTestimonials.map((t) => (
<a href={sanitizeUrl(t.url)} target="_blank" rel="noopener" class="shoutout-card">
<img
src={t.avatar || getCachedXAvatarSrc(t.author, t.author, 96)}
alt={t.author}
class="shoutout-avatar"
loading="lazy"
onerror={`this.src='${getInitialsAvatarSrc(t.author, 96)}'`}
/>
<div class="shoutout-content">
<p class="shoutout-quote">"{t.quote}"</p>
<span class="shoutout-author">@{t.author}</span>
</div>
</a>
))}
</div>
<footer class="footer">
<nav class="footer-nav">
<a href="/">Home</a>
<span class="footer-separator">·</span>
<a href="/blog">Blog</a>
<span class="footer-separator">·</span>
<a href="/showcase">Showcase</a>
<span class="footer-separator">·</span>
<a href="/press">Press</a>
<span class="footer-separator">·</span>
<a href="/integrations">Integrations</a>
<span class="footer-separator">·</span>
<a href="/blog#security">Security</a>
</nav>
<p>Built by <a href="https://molty.me" target="_blank" rel="noopener">Molty</a> 🦞, a space lobster AI with a <a href="https://soul.md" target="_blank" rel="noopener">soul</a>, by <a href="https://steipete.me" target="_blank" rel="noopener">Peter Steinberger</a> & <a href="https://github.com/openclaw/openclaw#community" target="_blank" rel="noopener">community</a>.</p>
</footer>
</main>
</Layout>
<style>
/* Starfield Background */
.stars {
position: fixed;
inset: 0;
background-image:
radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.5), transparent),
radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.4), transparent),
radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.7), transparent),
radial-gradient(2px 2px at 200px 60px, rgba(0,229,204,0.6), transparent),
radial-gradient(1px 1px at 250px 150px, rgba(255,255,255,0.5), transparent),
radial-gradient(2px 2px at 300px 40px, rgba(255,77,77,0.4), transparent);
background-size: 350px 200px;
animation: twinkle 8s ease-in-out infinite alternate;
pointer-events: none;
z-index: 0;
}
@keyframes twinkle {
0% { opacity: 0.4; }
100% { opacity: 0.7; }
}
/* Nebula Gradient */
.nebula {
position: fixed;
inset: 0;
background:
radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255, 77, 77, 0.12), transparent 50%),
radial-gradient(ellipse 60% 60% at 80% 30%, rgba(0, 229, 204, 0.08), transparent 50%),
radial-gradient(ellipse 90% 70% at 50% 90%, rgba(255, 77, 77, 0.06), transparent 50%);
pointer-events: none;
z-index: 0;
}
.container {
position: relative;
z-index: 1;
max-width: 1200px;
margin: 0 auto;
padding: 40px 24px;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.header {
text-align: center;
margin-bottom: 48px;
animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.back-link {
display: inline-block;
margin-bottom: 24px;
color: var(--text-muted);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.2s ease;
}
.back-link:hover {
color: var(--coral-bright);
}
.title {
font-family: var(--font-display);
font-size: clamp(2rem, 6vw, 3rem);
font-weight: 700;
margin-bottom: 12px;
color: var(--text-primary);
}
.claw-accent {
color: var(--coral-bright);
}
.subtitle {
color: var(--text-secondary);
font-size: 1.1rem;
}
.shoutouts-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 20px;
animation: fadeInUp 0.6s ease-out 0.15s both;
}
.shoutout-card {
display: flex;
align-items: flex-start;
gap: 14px;
padding: 20px;
border-radius: 14px;
border: 1px solid var(--border-subtle);
background: var(--surface-card-strong);
backdrop-filter: blur(8px);
text-decoration: none;
color: var(--text-primary);
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.shoutout-card:hover {
border-color: var(--coral-bright);
transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(255, 77, 77, 0.15);
}
.shoutout-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
flex-shrink: 0;
border: 2px solid var(--border-subtle);
background: var(--bg-elevated);
}
.shoutout-content {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 0;
}
.shoutout-quote {
font-size: 0.95rem;
line-height: 1.55;
color: var(--text-secondary);
}
.shoutout-author {
font-size: 0.85rem;
font-weight: 600;
color: var(--coral-bright);
}
.footer {
margin-top: auto;
padding-top: 48px;
text-align: center;
font-size: 0.9rem;
color: var(--text-muted);
}
.footer-nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
column-gap: 8px;
row-gap: 8px;
margin-bottom: 16px;
font-size: 0.95rem;
}
.footer-separator {
color: var(--text-muted);
}
.footer a {
color: var(--coral-bright);
text-decoration: none;
transition: color 0.2s ease;
}
.footer a:hover {
color: var(--cyan-bright);
}
@media (max-width: 480px) {
.container {
padding: 24px 16px;
}
.shoutouts-grid {
grid-template-columns: 1fr;
}
.shoutout-card {
padding: 16px;
}
.shoutout-avatar {
width: 40px;
height: 40px;
}
}
</style>