forked from ShareX/xerahs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
443 lines (394 loc) · 21.5 KB
/
index.html
File metadata and controls
443 lines (394 loc) · 21.5 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
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
---
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>XerahS - Free and open source screen capture, file sharing and productivity tool</title>
<meta name="description"
content="XerahS is ShareX reimagined with modern UI technologies, built from the ground up for cross-platform performance. Free and open source.">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<!-- Styles -->
<link rel="stylesheet" href="css/tokens.css">
<link rel="stylesheet" href="css/animations.css">
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="icon" href="../favicon.ico">
</head>
<body>
<!-- ═══════════════════════════════════════
BACKGROUND SYSTEM (Signature Element)
═══════════════════════════════════════ -->
<div class="background-system">
<div class="gradient-base"></div>
<div class="noise-overlay"></div>
<div class="blob blob-primary"></div>
<div class="blob blob-secondary"></div>
<div class="blob blob-tertiary"></div>
<div class="blob blob-bottom"></div>
<div class="grid-overlay"></div>
</div>
<!-- ═══════════════════════════════════════
NAVIGATION
═══════════════════════════════════════ -->
{% include navbar.html %}
<main>
<!-- ═══════════════════════════════════════
HERO SECTION
═══════════════════════════════════════ -->
<section class="hero" id="hero">
<div class="hero-content animate-on-scroll">
<span class="badge hero-badge">
<i class="fa-solid fa-code"></i>
Free & Open Source
</span>
<h1 class="hero-title gradient-text">
Capture.<br>Reimagined.
</h1>
<p class="hero-subtitle">
The most advanced screen capture tool for Windows, macOS, and Linux.
ShareX reimagined with modern UI technologies, built from the ground up
for cross-platform performance.
</p>
<div class="hero-cta">
<a href="#downloads" class="btn btn-primary">
<i class="fa-solid fa-download"></i>
Download Free
</a>
<a href="https://github.com/ShareX/XerahS" class="btn btn-secondary" target="_blank" rel="noopener">
<i class="fa-brands fa-github"></i>
View Source
</a>
</div>
</div>
<div class="hero-visual animate-on-scroll delay-1">
<div class="hero-glow"></div>
<img src="assets/win/main-window.png" alt="XerahS Application Interface" class="hero-screenshot">
<a href="screenshots.html" class="hero-screenshots-link">
<i class="fa-solid fa-images"></i>
See more screenshots
</a>
</div>
</section>
<!-- ═══════════════════════════════════════
FEATURES SECTION (Bento Grid)
═══════════════════════════════════════ -->
<section class="section-padding" id="features">
<div class="container">
<div class="section-header animate-on-scroll">
<h2 class="section-title gradient-text">Power at your fingertips.</h2>
<p class="section-subtitle">Everything you need to capture, edit, and share.</p>
</div>
<div class="bento-grid">
<!-- Hero Card: Cross-Platform -->
<a href="features/cross-platform.html" class="card card-span-2 animate-on-scroll" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-desktop"></i>
</div>
<h3 class="card-title">Cross-Platform</h3>
<p class="card-description">
Built with Avalonia UI for true cross-platform support.
Works seamlessly on Windows, macOS, and Linux with a native look and feel
on each platform.
</p>
</div>
</a>
<!-- Workflow Automation -->
<a href="features/workflows.html" class="card card-span-2 animate-on-scroll delay-1" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-wand-magic-sparkles"></i>
</div>
<h3 class="card-title">Dedicated Workflows</h3>
<p class="card-description">
Optimize your productivity with highly customizable, hotkey-driven workflows.
</p>
</div>
</a>
<!-- Pixel Perfect -->
<a href="features/modern-capture.html" class="card card-span-2 animate-on-scroll delay-2" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-crosshairs"></i>
</div>
<h3 class="card-title">Modern Screen Capture</h3>
<p class="card-description">
Region capture with magnifier precision. Pixel perfect results every time.
</p>
</div>
</a>
<!-- Powerful Editor -->
<a href="features/annotation-tools.html" class="card card-span-2 animate-on-scroll delay-1" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-pen-ruler"></i>
</div>
<h3 class="card-title">Annotation Tools</h3>
<p class="card-description">
Annotate screenshots with arrows, text, blurs, and more.
Express your ideas clearly and concisely.
</p>
</div>
</a>
<!-- Plugin System -->
<a href="features/plugins.html" class="card card-span-2 animate-on-scroll delay-2" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-plug"></i>
</div>
<h3 class="card-title">Plugin-based Destinations</h3>
<p class="card-description">
Modular architecture. Upload to S3, Google Drive, Dropbox, and more.
</p>
</div>
</a>
<!-- CLI -->
<a href="features/cli.html" class="card card-span-2 animate-on-scroll delay-3" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-terminal"></i>
</div>
<h3 class="card-title">Command Line Interface</h3>
<p class="card-description">
Automate screen capture and recording directly from your terminal.
</p>
</div>
</a>
<!-- Multi-layer Support -->
<a href="features/layers.html" class="card card-span-2 animate-on-scroll delay-3" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-layer-group"></i>
</div>
<h3 class="card-title">Multi-layer Support</h3>
<p class="card-description">
Non-destructive editing. Move, resize, and edit objects at any time.
</p>
</div>
</a>
<!-- Image Effects -->
<a href="features/image-effects.html" class="card card-span-2 animate-on-scroll delay-4" style="text-decoration: none; color: inherit;">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-solid fa-magic"></i>
</div>
<h3 class="card-title">Image Effects</h3>
<p class="card-description">
Apply effects like shadows, borders, and watermarks.
</p>
</div>
</a>
<!-- Open Source -->
<div class="card card-span-2 animate-on-scroll delay-5">
<div class="spotlight"></div>
<div class="card-content">
<div class="card-icon">
<i class="fa-brands fa-github"></i>
</div>
<h3 class="card-title">Open Source</h3>
<p class="card-description">
Free forever with no ads. Contribute on GitHub.
</p>
</div>
</div>
</div>
</div>
</section>
<!-- ═══════════════════════════════════════
DOWNLOAD SECTION
═══════════════════════════════════════ -->
<section class="download-section section-padding" id="downloads">
<div class="container">
<div class="section-header animate-on-scroll">
<h2 class="section-title gradient-text">Get XerahS</h2>
<p class="section-subtitle">Available on all major platforms</p>
</div>
<div class="download-grid">
<!-- Windows -->
<div class="platform-card animate-on-scroll delay-1">
<i class="fa-brands fa-windows platform-card-icon"></i>
<span class="platform-card-name">Windows</span>
<div class="platform-card-versions">
<a href="https://github.com/ShareX/XerahS/releases/latest" class="platform-card-version">x64
Installer</a>
<a href="https://github.com/ShareX/XerahS/releases/latest"
class="platform-card-version">ARM64 Installer</a>
</div>
</div>
<!-- macOS -->
<div class="platform-card animate-on-scroll delay-2">
<i class="fa-brands fa-apple platform-card-icon"></i>
<span class="platform-card-name">macOS</span>
<div class="platform-card-versions">
<a href="https://github.com/ShareX/XerahS/releases/latest"
class="platform-card-version">Intel (x64)</a>
<a href="https://github.com/ShareX/XerahS/releases/latest"
class="platform-card-version">Apple Silicon</a>
</div>
</div>
<!-- Linux -->
<div class="platform-card animate-on-scroll delay-3">
<i class="fa-brands fa-linux platform-card-icon"></i>
<span class="platform-card-name">Linux</span>
<div class="platform-card-versions">
<a href="https://github.com/ShareX/XerahS/releases/latest" class="platform-card-version">x64
Package</a>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- ═══════════════════════════════════════
FOOTER
═══════════════════════════════════════ -->
{% include footer.html %}
<!-- ═══════════════════════════════════════
SCRIPTS
═══════════════════════════════════════ -->
<script>
// ─────────────────────────────────────────
// Scroll-triggered animations
// ─────────────────────────────────────────
const observerOptions = {
threshold: 0.15,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
}, observerOptions);
document.querySelectorAll('.animate-on-scroll').forEach(el => {
observer.observe(el);
});
// ─────────────────────────────────────────
// Mobile menu toggle
// ─────────────────────────────────────────
const navToggle = document.querySelector('.nav-toggle');
const navMobile = document.querySelector('.nav-mobile');
navToggle.addEventListener('click', () => {
const isActive = navToggle.classList.toggle('active');
navMobile.classList.toggle('active');
navToggle.setAttribute('aria-expanded', isActive);
});
// Close mobile menu when clicking a link
document.querySelectorAll('.nav-mobile-link, .nav-mobile-cta').forEach(link => {
link.addEventListener('click', () => {
navToggle.classList.remove('active');
navMobile.classList.remove('active');
navToggle.setAttribute('aria-expanded', 'false');
});
});
// ─────────────────────────────────────────
// Card spotlight effect (mouse tracking)
// ─────────────────────────────────────────
document.querySelectorAll('.card').forEach(card => {
const spotlight = card.querySelector('.spotlight');
if (!spotlight) return;
card.addEventListener('mousemove', (e) => {
const rect = card.getBoundingClientRect();
const x = ((e.clientX - rect.left) / rect.width) * 100;
const y = ((e.clientY - rect.top) / rect.height) * 100;
spotlight.style.setProperty('--mouse-x', x + '%');
spotlight.style.setProperty('--mouse-y', y + '%');
});
});
// ─────────────────────────────────────────
// Hero parallax effect on scroll
// ─────────────────────────────────────────
const hero = document.querySelector('.hero');
const heroContent = document.querySelector('.hero-content');
if (hero && heroContent) {
let ticking = false;
window.addEventListener('scroll', () => {
if (!ticking) {
window.requestAnimationFrame(() => {
const scrollY = window.scrollY;
const heroHeight = hero.offsetHeight;
const scrollPercent = Math.min(scrollY / (heroHeight * 0.5), 1);
// Apply parallax transforms
const opacity = 1 - scrollPercent;
const scale = 1 - (scrollPercent * 0.05);
const translateY = scrollPercent * 50;
heroContent.style.opacity = opacity;
heroContent.style.transform = `translateY(${translateY}px) scale(${scale})`;
ticking = false;
});
ticking = true;
}
});
}
// ─────────────────────────────────────────
// Smooth scroll for anchor links
// ─────────────────────────────────────────
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// ─────────────────────────────────────────
// Theme toggle functionality
// ─────────────────────────────────────────
const themeToggles = document.querySelectorAll('.theme-toggle');
const html = document.documentElement;
// Check for saved theme preference
function getPreferredTheme() {
const savedTheme = localStorage.getItem('theme');
if (savedTheme) {
return savedTheme;
}
return 'light'; // Default to light mode
}
// Apply theme
function setTheme(theme) {
if (theme === 'light') {
html.setAttribute('data-theme', 'light');
} else {
html.removeAttribute('data-theme');
}
localStorage.setItem('theme', theme);
}
// Initialize theme
setTheme(getPreferredTheme());
// Toggle theme on button click
themeToggles.forEach(toggle => {
toggle.addEventListener('click', () => {
const currentTheme = html.getAttribute('data-theme');
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
setTheme(newTheme);
});
});
// Listen for system theme changes
window.matchMedia('(prefers-color-scheme: light)').addEventListener('change', (e) => {
if (!localStorage.getItem('theme')) {
setTheme(e.matches ? 'light' : 'dark');
}
});
</script>
</body>
</html>