-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
396 lines (353 loc) · 20.2 KB
/
index.html
File metadata and controls
396 lines (353 loc) · 20.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cloudimage Plugins — Interactive Image Experiences</title>
<meta name="description" content="Open-source JavaScript plugins for interactive 360 views, image hotspots, and before/after comparisons. Zero dependencies, fully accessible, framework agnostic.">
<!-- Open Graph -->
<meta property="og:title" content="Cloudimage Plugins">
<meta property="og:description" content="Open-source JavaScript plugins for interactive media experiences on the modern web.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://scaleflex.github.io/cloudimage-plugins/">
<!-- 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;800&display=swap" rel="stylesheet">
<link rel="icon" href="https://cdn.prod.website-files.com/623086c828f7c9787009cf20/6267d5ef7488f536294d267b_favicon-256x526.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- ====================================================================
SVG Sprite (hidden)
==================================================================== -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
<!-- 3D view icon -->
<symbol id="icon-3d" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3l9 5v8l-9 5-9-5V8z"/>
<path d="M12 13l9-5"/>
<path d="M12 13l-9-5"/>
<path d="M12 13v9"/>
</symbol>
<!-- 360 rotation icon -->
<symbol id="icon-360" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3a9 9 0 0 1 9 9"/>
<path d="M21 12a9 9 0 0 1-9 9"/>
<path d="M12 21a9 9 0 0 1-9-9"/>
<path d="M3 12a9 9 0 0 1 9-9"/>
<polyline points="17 8 21 12 17 16"/>
</symbol>
<!-- Hotspot / map pin icon -->
<symbol id="icon-hotspot" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/>
<circle cx="12" cy="9" r="2.5"/>
<circle cx="12" cy="9" r="5" opacity="0.3"/>
</symbol>
<!-- Video Hotspot icon -->
<symbol id="icon-video-hotspot" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="2" y="4" width="20" height="14" rx="2"/>
<polygon points="10 8 10 14 15 11" fill="currentColor" stroke="none"/>
<circle cx="18" cy="7" r="3" fill="currentColor" stroke="none" opacity="0.8"/>
<circle cx="18" cy="7" r="5" opacity="0.3"/>
</symbol>
<!-- Before/After comparison icon -->
<symbol id="icon-compare" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="3" width="18" height="18" rx="2"/>
<line x1="12" y1="3" x2="12" y2="21"/>
<polyline points="8 9 5 12 8 15"/>
<polyline points="16 9 19 12 16 15"/>
</symbol>
<!-- Carousel icon -->
<symbol id="icon-carousel" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="6" y="4" width="12" height="16" rx="2"/>
<path d="M2 7v10"/>
<path d="M22 7v10"/>
<polyline points="9 10 7 12 9 14"/>
<polyline points="15 10 17 12 15 14"/>
</symbol>
<!-- GitHub icon -->
<symbol id="icon-github" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/>
</symbol>
<!-- npm icon -->
<symbol id="icon-npm" viewBox="0 0 24 24" fill="currentColor">
<path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.331h-2.669zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331z"/>
</symbol>
<!-- External link icon -->
<symbol id="icon-external-link" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>
<polyline points="15 3 21 3 21 9"/>
<line x1="10" y1="14" x2="21" y2="3"/>
</symbol>
<!-- Feather / lightweight icon -->
<symbol id="icon-feather" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z"/>
<line x1="16" y1="8" x2="2" y2="22"/>
<line x1="17.5" y1="15" x2="9" y2="15"/>
</symbol>
<!-- Zero dependencies icon -->
<symbol id="icon-zero-deps" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/>
<polyline points="3.27 6.96 12 12.01 20.73 6.96"/>
<line x1="12" y1="22.08" x2="12" y2="12"/>
</symbol>
<!-- Accessible icon -->
<symbol id="icon-accessible" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="4.5" r="2.5"/>
<path d="M12 7v5"/>
<path d="M8 10l4 2 4-2"/>
<path d="M9 17l3-5 3 5"/>
<path d="M7 20l2-3"/>
<path d="M17 20l-2-3"/>
</symbol>
<!-- Framework agnostic icon -->
<symbol id="icon-framework" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="16 18 22 12 16 6"/>
<polyline points="8 6 2 12 8 18"/>
<line x1="14" y1="4" x2="10" y2="20"/>
</symbol>
<!-- TypeScript icon -->
<symbol id="icon-typescript" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="3" width="18" height="18" rx="2"/>
<path d="M8 16V11h5"/>
<path d="M10.5 11v5"/>
<path d="M16 11c-1.5 0-2.5.5-2.5 1.5s1 1.5 2.5 1.5 2.5.5 2.5 1.5-1 1.5-2.5 1.5"/>
</symbol>
<!-- CDN icon -->
<symbol id="icon-cdn" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"/>
<line x1="2" y1="12" x2="22" y2="12"/>
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>
</symbol>
<!-- Spotlight icon -->
<symbol id="icon-spotlight" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="3" width="18" height="14" rx="2"/>
<rect x="7" y="7" width="6" height="5" rx="1" opacity="0.5"/>
<circle cx="10" cy="9.5" r="1.5" fill="currentColor" stroke="none" opacity="0.6"/>
<path d="M6 21l4-4h4l4 4"/>
</symbol>
<!-- Chevron down icon -->
<symbol id="icon-chevron-down" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"/>
</symbol>
</svg>
<!-- ====================================================================
GitHub Corner
==================================================================== -->
<a href="https://github.com/scaleflex" class="github-corner" aria-label="View source on GitHub" target="_blank" rel="noopener noreferrer">
<svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"/>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"/>
</svg>
</a>
<!-- ====================================================================
Navigation
==================================================================== -->
<nav class="nav" role="navigation" aria-label="Main navigation">
<div class="container nav__inner">
<a href="#" class="nav__logo">
<img src="https://assets.scaleflex.com/Marketing/Logos/Scaleflex%20Logos/Logo%20Horizontal/scaleflex%20logo%20without%20tagline%20white%20text%20%28horizontal%29%20.png?vh=85bc00" alt="Scaleflex" class="nav__logo-img">
</a>
<div class="nav__links">
<a href="#plugins" class="nav__link">Plugins</a>
<a href="#why" class="nav__link">About</a>
<a href="https://github.com/scaleflex/cloudimage-plugins" class="nav__link" target="_blank" rel="noopener noreferrer">GitHub</a>
</div>
</div>
</nav>
<!-- ====================================================================
Hero
==================================================================== -->
<section class="hero" id="hero">
<div class="hero__gradient" aria-hidden="true">
<div class="hero__gradient-layer hero__gradient-layer--1"></div>
<div class="hero__gradient-layer hero__gradient-layer--2"></div>
<div class="hero__gradient-layer hero__gradient-layer--3"></div>
</div>
<div class="hero__grid" aria-hidden="true"></div>
<div class="hero__mouse-gradient" aria-hidden="true"></div>
<div class="hero__particles" aria-hidden="true">
<div class="hero__dot"></div>
<div class="hero__dot"></div>
<div class="hero__dot"></div>
<div class="hero__dot"></div>
<div class="hero__dot"></div>
<div class="hero__dot"></div>
<div class="hero__dot"></div>
<div class="hero__dot"></div>
</div>
<div class="hero__content">
<div class="hero__badge">Open Source</div>
<h1 class="hero__title">
<span class="word">Cloudimage</span> <span class="gradient-text word" data-text="Plugins">Plugins</span>
</h1>
<p class="hero__subtitle">
Interactive media experiences for the modern web. Zero dependencies, fully accessible, and ready to drop into any project.
</p>
<div class="hero__actions">
<a href="#plugins" class="btn btn--primary">
Explore Plugins
</a>
<a href="https://github.com/scaleflex" target="_blank" rel="noopener noreferrer" class="btn btn--outline">
<svg width="16" height="16"><use href="#icon-github"></use></svg>
View on GitHub
</a>
</div>
<div class="hero__stats">
<span class="hero__stat"><strong>7</strong> Plugins</span>
<span class="hero__stat"><strong>Zero</strong> Dependencies</span>
<span class="hero__stat"><strong>WCAG 2.1</strong> AA</span>
</div>
</div>
<div class="hero__scroll" aria-hidden="true">
<span>Scroll</span>
<svg><use href="#icon-chevron-down"></use></svg>
</div>
</section>
<hr class="section-divider" aria-hidden="true">
<!-- ====================================================================
Plugins
==================================================================== -->
<section class="plugins" id="plugins">
<div class="container">
<div class="section-header fade-in-up">
<span class="section-header__label">Plugins</span>
<h2 class="section-header__title">Explore the Collection</h2>
</div>
<div class="plugins-grid" id="plugins-grid"></div>
</div>
</section>
<hr class="section-divider" aria-hidden="true">
<!-- ====================================================================
Why Cloudimage Plugins?
==================================================================== -->
<section class="why" id="why">
<div class="container">
<div class="section-header fade-in-up">
<span class="section-header__label">Why</span>
<h2 class="section-header__title">Why Cloudimage Plugins?</h2>
</div>
<div class="why-grid">
<div class="why-card fade-in-up">
<div class="why-card__icon">
<svg><use href="#icon-zero-deps"></use></svg>
</div>
<h3 class="why-card__title">Zero Dependencies</h3>
<p class="why-card__desc">No bloated dependency trees. Each plugin is self-contained and adds minimal overhead to your bundle.</p>
</div>
<div class="why-card fade-in-up">
<div class="why-card__icon">
<svg><use href="#icon-feather"></use></svg>
</div>
<h3 class="why-card__title">Lightweight</h3>
<p class="why-card__desc">Optimized builds keep file sizes small. Fast loading, even on slow connections and mobile devices.</p>
</div>
<div class="why-card fade-in-up">
<div class="why-card__icon">
<svg><use href="#icon-accessible"></use></svg>
</div>
<h3 class="why-card__title">WCAG 2.1 AA Accessible</h3>
<p class="why-card__desc">Keyboard navigation, screen reader support, and focus management baked in from the start.</p>
</div>
<div class="why-card fade-in-up">
<div class="why-card__icon">
<svg><use href="#icon-framework"></use></svg>
</div>
<h3 class="why-card__title">Framework Agnostic</h3>
<p class="why-card__desc">Works with React, Vue, Angular, Svelte, or plain HTML. Drop in a script tag and go.</p>
</div>
<div class="why-card fade-in-up">
<div class="why-card__icon">
<svg><use href="#icon-typescript"></use></svg>
</div>
<h3 class="why-card__title">TypeScript Support</h3>
<p class="why-card__desc">Full type definitions included. Get autocomplete and type safety in your editor out of the box.</p>
</div>
<div class="why-card fade-in-up">
<div class="why-card__icon">
<svg><use href="#icon-cdn"></use></svg>
</div>
<h3 class="why-card__title">Cloudimage CDN Integration</h3>
<p class="why-card__desc">Native integration with Cloudimage CDN for on-the-fly image optimization and fast global delivery.</p>
</div>
</div>
</div>
</section>
<!-- ====================================================================
Cross-Promotion
==================================================================== -->
<hr class="section-divider" aria-hidden="true">
<section class="cross-promo">
<div class="container">
<div class="cross-promo__card fade-in-up">
<div class="cross-promo__icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/>
<rect x="8" y="11" width="3" height="3" rx="0.5" opacity="0.7"/>
<rect x="13" y="11" width="3" height="3" rx="0.5" opacity="0.7"/>
<rect x="8" y="16" width="3" height="3" rx="0.5" opacity="0.7"/>
<rect x="13" y="16" width="3" height="3" rx="0.5" opacity="0.7"/>
</svg>
</div>
<div class="cross-promo__content">
<span class="cross-promo__label">Also from Scaleflex</span>
<h3 class="cross-promo__title">Scaleflex Plugins</h3>
<p class="cross-promo__desc">Digital asset management tools for the web — browse and pick assets, upload files, and select media experiences. Seamless DAM integration.</p>
</div>
<a href="https://scaleflex.github.io/scaleflex-plugins/" class="btn btn--primary cross-promo__cta">
Explore
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="5" y1="12" x2="19" y2="12"/>
<polyline points="12 5 19 12 12 19"/>
</svg>
</a>
</div>
</div>
</section>
<!-- ====================================================================
Footer
==================================================================== -->
<footer class="footer">
<div class="container">
<div class="footer__main">
<div class="footer__brand fade-in-up">
<img src="https://assets.scaleflex.com/Marketing/Logos/Scaleflex%20Logos/Logo%20Horizontal/scaleflex%20logo%20without%20tagline%20white%20text%20%28horizontal%29%20.png?vh=85bc00" alt="Scaleflex" class="footer__brand-logo">
<p>Open-source JavaScript plugins for interactive media experiences. Built with care by the Scaleflex team.</p>
</div>
<div class="footer__col fade-in-up">
<h4>Resources</h4>
<ul>
<li><a href="https://github.com/scaleflex" target="_blank" rel="noopener noreferrer">GitHub</a></li>
<li><a href="https://docs.cloudimage.io/" target="_blank" rel="noopener noreferrer">Documentation</a></li>
<li><a href="https://scaleflex.github.io/scaleflex-plugins/">Scaleflex Plugins</a></li>
</ul>
</div>
<div class="footer__col fade-in-up">
<h4>Plugins</h4>
<ul>
<li><a href="https://scaleflex.github.io/cloudimage-3d-view/" target="_blank" rel="noopener noreferrer">3D View</a></li>
<li><a href="https://scaleflex.github.io/cloudimage-360-view/" target="_blank" rel="noopener noreferrer">360 View</a></li>
<li><a href="https://scaleflex.github.io/cloudimage-hotspot/" target="_blank" rel="noopener noreferrer">Image Hotspot</a></li>
<li><a href="https://scaleflex.github.io/cloudimage-video-hotspot/" target="_blank" rel="noopener noreferrer">Video Hotspot</a></li>
<li><a href="https://scaleflex.github.io/cloudimage-before-after/" target="_blank" rel="noopener noreferrer">Before / After</a></li>
<li><a href="https://scaleflex.github.io/cloudimage-carousel/" target="_blank" rel="noopener noreferrer">Carousel</a></li>
<li><a href="https://scaleflex.github.io/cloudimage-spotlight/" target="_blank" rel="noopener noreferrer">Spotlight</a></li>
</ul>
</div>
<div class="footer__col fade-in-up">
<h4>Support</h4>
<ul>
<li><a href="https://github.com/scaleflex/cloudimage-plugins/issues" target="_blank" rel="noopener noreferrer">Report an Issue</a></li>
<li><a href="https://www.scaleflex.com/contact" target="_blank" rel="noopener noreferrer">Contact Us</a></li>
</ul>
</div>
</div>
<div class="footer__bottom">
<p>MIT License — Made with care by Scaleflex. Powered by <a href="https://www.cloudimage.io" target="_blank" rel="noopener noreferrer">Cloudimage.io</a></p>
</div>
</div>
</footer>
<script src="app.js"></script>
</body>
</html>