-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
331 lines (287 loc) · 10.4 KB
/
index.html
File metadata and controls
331 lines (287 loc) · 10.4 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
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Tools by Mark Riechers</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🛠️</text></svg>">
<meta property="og:title" content="Web Tools by Mark Riechers">
<meta property="og:description" content="A collection of lightweight, client-side web tools — no dependencies, no tracking, runs entirely in your browser.">
<meta property="og:type" content="website">
<!-- Shared shell: design tokens + shell layout -->
<link rel="stylesheet" href="shared/shell.css">
<style>
/*
* Landing page styles
* Only layout-specific styles — tokens come from shell.css
*/
.landing-header {
padding: var(--space-2xl) 0 var(--space-xl);
text-align: center;
}
.landing-header h1 {
font-size: var(--text-2xl);
font-weight: 700;
color: var(--color-text-heading);
letter-spacing: -0.02em;
}
.subtitle {
color: var(--color-text-muted);
margin-top: var(--space-sm);
font-size: var(--text-base);
}
.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: var(--space-lg);
margin-top: var(--space-xl);
}
.tool-card {
display: flex;
flex-direction: column;
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: var(--space-lg);
transition: border-color var(--transition-fast), transform var(--transition-fast);
text-decoration: none;
color: inherit;
}
.tool-card:hover {
border-color: var(--color-primary);
transform: translateY(-2px);
text-decoration: none;
}
.tool-icon {
font-size: 2.5rem;
margin-bottom: var(--space-md);
}
.tool-name {
font-size: var(--text-lg);
font-weight: 600;
color: var(--color-text-heading);
margin-bottom: var(--space-sm);
}
.tool-description {
font-size: var(--text-sm);
color: var(--color-text-muted);
flex: 1;
}
.tool-tags {
display: flex;
flex-wrap: wrap;
gap: var(--space-sm);
margin-top: var(--space-md);
}
.tool-tag {
font-size: 0.75rem;
padding: 2px 8px;
background: var(--color-surface-raised);
border-radius: 999px;
color: var(--color-text-muted);
}
.header-logo {
width: 140px;
height: auto;
margin-bottom: var(--space-lg);
display: block;
margin-left: auto;
margin-right: auto;
filter: invert(1);
}
@media (prefers-color-scheme: light) {
.header-logo {
filter: none;
}
}
html.high-contrast .header-logo {
filter: invert(1);
}
@media (prefers-color-scheme: light) {
html.high-contrast .header-logo {
filter: none;
}
}
@media (prefers-reduced-motion: no-preference) {
.tool-card {
animation: fadeIn 0.3s ease both;
}
.tool-card:nth-child(1) { animation-delay: 0ms; }
.tool-card:nth-child(2) { animation-delay: 100ms; }
.tool-card:nth-child(3) { animation-delay: 200ms; }
.tool-card:nth-child(4) { animation-delay: 300ms; }
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
/* -------------------------------------------------------
* Suggested (external) tool cards
* ------------------------------------------------------- */
.suggested-tools {
margin-top: var(--space-2xl);
}
.section-heading {
font-size: var(--text-xl);
font-weight: 600;
color: var(--color-text-heading);
margin-bottom: var(--space-sm);
letter-spacing: -0.01em;
}
.suggested-grid {
margin-top: var(--space-lg);
}
/* External card modifier — dashed border + relative for badge */
.tool-card--external {
position: relative;
border-style: dashed;
cursor: default;
}
.tool-card--external:hover {
border-color: var(--color-border-hover);
transform: translateY(-2px);
}
/* "External ↗" badge */
.external-badge {
position: absolute;
top: var(--space-md);
right: var(--space-md);
font-size: 0.6875rem;
font-weight: 500;
line-height: 1;
padding: 3px 8px;
border-radius: 999px;
color: var(--color-primary);
background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface-raised));
border: 1px solid color-mix(in srgb, var(--color-primary) 25%, var(--color-border));
letter-spacing: 0.02em;
white-space: nowrap;
pointer-events: none;
}
/* Links list inside an external card */
.tool-card-links {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: var(--space-md);
}
.tool-card-links a {
font-size: var(--text-sm);
color: var(--color-primary);
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 3px;
width: fit-content;
}
.tool-card-links a:hover {
color: var(--color-primary-hover);
text-decoration: underline;
}
.external-arrow {
font-size: 0.75em;
opacity: 0.7;
}
/* Staggered entrance for suggested cards */
@media (prefers-reduced-motion: no-preference) {
.suggested-grid .tool-card {
animation: fadeIn 0.3s ease both;
}
.suggested-grid .tool-card:nth-child(1) { animation-delay: 100ms; }
.suggested-grid .tool-card:nth-child(2) { animation-delay: 200ms; }
.suggested-grid .tool-card:nth-child(3) { animation-delay: 300ms; }
.suggested-grid .tool-card:nth-child(4) { animation-delay: 400ms; }
}
</style>
</head>
<body>
<shell-header current="home"></shell-header>
<main id="main-content" class="shell-main">
<div class="landing-header">
<img src="assets/images/logo.png" alt="Mark Riechers logo" class="header-logo">
<h1>Simple Web Publishing Tools</h1>
<p class="subtitle">
Lightweight utilities that run entirely in your browser — no tracking, no dependencies.
</p>
</div>
<div class="tools-grid">
<a href="og-image/" class="tool-card">
<span class="tool-icon" aria-hidden="true">🔍</span>
<h2 class="tool-name">OG Image Preview</h2>
<p class="tool-description">
See how your Open Graph images will appear on Facebook, X/Twitter, LinkedIn, Discord, Slack, iMessage, and more before you publish.
</p>
<div class="tool-tags">
<span class="tool-tag">Social media</span>
<span class="tool-tag">Meta tags</span>
<span class="tool-tag">SEO</span>
</div>
</a>
<a href="formatter/" class="tool-card">
<span class="tool-icon" aria-hidden="true"></></span>
<h2 class="tool-name">HTML Formatter & Tidy</h2>
<p class="tool-description">
Paste rich text or HTML, strip inline styles and classes, and get clean markup ready for your CMS.
</p>
<div class="tool-tags">
<span class="tool-tag">HTML</span>
<span class="tool-tag">Rich text</span>
<span class="tool-tag">CMS cleanup</span>
</div>
</a>
</div>
<!-- SUGGESTED_TOOLS_START -->
<section class="suggested-tools">
<h2 class="section-heading">Suggested Tools</h2>
<div class="tools-grid suggested-grid">
<div class="tool-card tool-card--external">
<span class="external-badge" aria-label="External tool">External ↗</span>
<span class="tool-icon" aria-hidden="true">📡</span>
<h3 class="tool-name">Feed Validators</h3>
<p class="tool-description">Validate podcast and web feeds for errors and compatibility before publishing.</p>
<div class="tool-card-links">
<a href="https://www.castfeedvalidator.com/" target="_blank" rel="noopener">Cast Feed Validator <span class="external-arrow" aria-hidden="true">↗</span></a>
<a href="https://validator.w3.org/feed/" target="_blank" rel="noopener">W3C Feed Validator <span class="external-arrow" aria-hidden="true">↗</span></a>
</div>
<div class="tool-tags">
<span class="tool-tag">RSS</span>
<span class="tool-tag">Podcasts</span>
<span class="tool-tag">Validation</span>
</div>
</div>
<div class="tool-card tool-card--external">
<span class="external-badge" aria-label="External tool">External ↗</span>
<span class="tool-icon" aria-hidden="true">📐</span>
<h3 class="tool-name">Responsive Embeds</h3>
<p class="tool-description">Generate responsive embed codes for videos, maps, and other media.</p>
<div class="tool-card-links">
<a href="https://embedresponsively.com/" target="_blank" rel="noopener">Embed Responsively <span class="external-arrow" aria-hidden="true">↗</span></a>
</div>
<div class="tool-tags">
<span class="tool-tag">Responsive</span>
<span class="tool-tag">Embeds</span>
<span class="tool-tag">Video</span>
</div>
</div>
<div class="tool-card tool-card--external">
<span class="external-badge" aria-label="External tool">External ↗</span>
<span class="tool-icon" aria-hidden="true">🖼️</span>
<h3 class="tool-name">Image Alt Text</h3>
<p class="tool-description">AI-powered tool to generate descriptive, accessible alt text for images.</p>
<div class="tool-card-links">
<a href="https://chatgpt.com/g/g-6821f526808c81918e50e06207c3f359-image-alt-writer-2" target="_blank" rel="noopener">Image Alt Writer 2 <span class="external-arrow" aria-hidden="true">↗</span></a>
</div>
<div class="tool-tags">
<span class="tool-tag">Accessibility</span>
<span class="tool-tag">AI</span>
<span class="tool-tag">Images</span>
</div>
</div>
</div>
</section>
<!-- SUGGESTED_TOOLS_END -->
</main>
<shell-footer></shell-footer>
<script src="shared/shell.js" type="module"></script>
</body>
</html>