@tsparticles/template-landing 4.1.3 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +3 -0
  3. package/package.json +4 -3
  4. package/template/angular/package.json +34 -0
  5. package/template/angular/src/app/app.component.css +265 -0
  6. package/template/angular/src/app/app.component.html +72 -0
  7. package/template/angular/src/app/app.component.ts +57 -0
  8. package/template/angular-confetti/package.json +36 -0
  9. package/template/angular-confetti/src/app/app.component.css +259 -0
  10. package/template/angular-confetti/src/app/app.component.html +66 -0
  11. package/template/angular-confetti/src/app/app.component.ts +49 -0
  12. package/template/angular-fireworks/package.json +36 -0
  13. package/template/angular-fireworks/src/app/app.component.css +259 -0
  14. package/template/angular-fireworks/src/app/app.component.html +66 -0
  15. package/template/angular-fireworks/src/app/app.component.ts +49 -0
  16. package/template/astro/package.json +21 -0
  17. package/template/astro/src/pages/index.astro +143 -0
  18. package/template/ember/app/templates/application.hbs +75 -0
  19. package/template/ember/package.json +19 -0
  20. package/template/inferno/package.json +23 -0
  21. package/template/inferno/src/App.css +259 -0
  22. package/template/inferno/src/App.tsx +126 -0
  23. package/template/jquery/package.json +23 -0
  24. package/template/jquery/src/main.ts +161 -0
  25. package/template/jquery/src/style.css +259 -0
  26. package/template/lit/package.json +22 -0
  27. package/template/lit/src/my-app.ts +146 -0
  28. package/template/nextjs/package.json +19 -0
  29. package/template/nextjs/src/app/page.tsx +155 -0
  30. package/template/nextjs/src/app/providers.tsx +15 -0
  31. package/template/nuxt2/package.json +17 -0
  32. package/template/nuxt2/pages/index.vue +375 -0
  33. package/template/nuxt3/app.vue +374 -0
  34. package/template/nuxt3/package.json +18 -0
  35. package/template/nuxt4/app.vue +374 -0
  36. package/template/nuxt4/package.json +18 -0
  37. package/template/preact/package.json +23 -0
  38. package/template/preact/src/App.css +259 -0
  39. package/template/preact/src/App.tsx +152 -0
  40. package/template/qwik/package.json +22 -0
  41. package/template/qwik/src/App.tsx +150 -0
  42. package/template/react/package.json +19 -0
  43. package/template/react/src/App.css +265 -0
  44. package/template/react/src/App.tsx +114 -0
  45. package/template/riot/package.json +22 -0
  46. package/template/riot/src/app.riot +123 -0
  47. package/template/solid/package.json +18 -0
  48. package/template/solid/src/App.tsx +170 -0
  49. package/template/solid/src/index.css +259 -0
  50. package/template/solid/src/main.tsx +9 -0
  51. package/template/stencil/package.json +16 -0
  52. package/template/stencil/src/components/app-home/app-home.tsx +135 -0
  53. package/template/svelte/package.json +20 -0
  54. package/template/svelte/src/App.svelte +424 -0
  55. package/template/svelte/src/main.ts +12 -0
  56. package/template/vanilla/LICENSE +21 -0
  57. package/template/vue2/package.json +21 -0
  58. package/template/vue2/src/App.vue +376 -0
  59. package/template/vue3/package.json +19 -0
  60. package/template/vue3/src/App.vue +372 -0
  61. package/template/vue3/src/main.ts +14 -0
  62. package/template/webcomponents/package.json +21 -0
  63. package/template/webcomponents/src/main.ts +160 -0
  64. package/template/webcomponents/src/style.css +259 -0
@@ -0,0 +1,375 @@
1
+ <template>
2
+ <div>
3
+ <NuxtParticles id="tsparticles" :options="options" />
4
+ <section id="hero" class="section">
5
+ <div class="hero-content">
6
+ <h1>Build Faster.<br /><span class="gradient-text">Go Further.</span></h1>
7
+ <p class="hero-subtitle">The platform that helps teams ship products at the speed of light.</p>
8
+ <div class="hero-cta">
9
+ <a href="#features" class="btn btn-primary">Learn More</a>
10
+ <a href="#cta" class="btn btn-secondary">Get Started</a>
11
+ </div>
12
+ </div>
13
+ </section>
14
+ <section id="features" class="section">
15
+ <div class="container">
16
+ <h2>Features</h2>
17
+ <div class="features-grid">
18
+ <div v-for="f in features" :key="f.title" class="feature-card">
19
+ <div class="feature-icon">{{ f.icon }}</div>
20
+ <h3>{{ f.title }}</h3>
21
+ <p>{{ f.desc }}</p>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </section>
26
+ <section id="pricing" class="section">
27
+ <div class="container">
28
+ <h2>Pricing</h2>
29
+ <div class="pricing-grid">
30
+ <div v-for="p in pricingPlans" :key="p.plan" :class="['pricing-card', { featured: p.featured }]">
31
+ <h3>{{ p.plan }}</h3>
32
+ <p class="price">{{ p.price }}<span>/mo</span></p>
33
+ <ul>
34
+ <li v-for="f in p.features" :key="f">{{ f }}</li>
35
+ </ul>
36
+ <a href="#" :class="['btn', p.featured ? 'btn-primary' : 'btn-secondary']">{{ p.plan === 'Enterprise' ? 'Contact Sales' : 'Choose Plan' }}</a>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </section>
41
+ <section id="testimonials" class="section">
42
+ <div class="container">
43
+ <h2>What Our Users Say</h2>
44
+ <div class="testimonial-grid">
45
+ <div v-for="t in testimonials" :key="t.author" class="testimonial-card">
46
+ <p>"{{ t.text }}"</p>
47
+ <span class="author">— {{ t.author }}</span>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </section>
52
+ <section id="cta" class="section">
53
+ <div class="container cta-content">
54
+ <h2>Ready to Get Started?</h2>
55
+ <p>Join thousands of teams already building with us.</p>
56
+ <a href="#" class="btn btn-primary btn-large">Start Free Trial</a>
57
+ </div>
58
+ </section>
59
+ <footer id="footer">
60
+ <div class="container footer-content">
61
+ <p>&copy; 2026 {{projectName}}. All rights reserved.</p>
62
+ <div class="footer-links">
63
+ <a href="#">Privacy</a>
64
+ <a href="#">Terms</a>
65
+ <a href="#">Contact</a>
66
+ </div>
67
+ </div>
68
+ </footer>
69
+ </div>
70
+ </template>
71
+
72
+ <script>
73
+ export default {
74
+ data() {
75
+ return {
76
+ options: {
77
+ fullScreen: { enable: true, zIndex: -1 },
78
+ background: { color: { value: "#080818" } },
79
+ fpsLimit: 60,
80
+ particles: {
81
+ number: { value: 100, density: { enable: true } },
82
+ color: { value: ["#6c5ce7", "#00cec9", "#fd79a8", "#ffeaa7"] },
83
+ shape: { type: "circle" },
84
+ opacity: { value: 0.4, random: true },
85
+ size: { value: { min: 1, max: 4 }, random: true },
86
+ links: { enable: true, distance: 150, color: "#6c5ce7", opacity: 0.15, width: 1 },
87
+ move: { enable: true, speed: 1.5, direction: "none", random: true, straight: false, outModes: { default: "out" } },
88
+ },
89
+ interactivity: {
90
+ events: { onHover: { enable: true, mode: "grab" } },
91
+ modes: { grab: { distance: 200, links: { opacity: 0.5 } } },
92
+ },
93
+ detectRetina: true,
94
+ },
95
+ features: [
96
+ { icon: "⚡", title: "Blazing Fast", desc: "Optimized for performance from the ground up." },
97
+ { icon: "🔒", title: "Secure", desc: "Enterprise-grade security built into every layer." },
98
+ { icon: "🌍", title: "Global Scale", desc: "Deploy anywhere with our global infrastructure." },
99
+ { icon: "🎨", title: "Customizable", desc: "Tailor every aspect to your brand and needs." },
100
+ ],
101
+ pricingPlans: [
102
+ { plan: "Starter", price: "$9", features: ["Up to 5 projects", "Basic analytics", "Email support"], featured: false },
103
+ { plan: "Pro", price: "$29", features: ["Unlimited projects", "Advanced analytics", "Priority support", "Custom integrations"], featured: true },
104
+ { plan: "Enterprise", price: "$99", features: ["Everything in Pro", "Dedicated support", "SLA guarantee", "Custom deployment"], featured: false },
105
+ ],
106
+ testimonials: [
107
+ { text: "This platform transformed how our team ships features. Absolutely love it.", author: "Sarah K., CTO" },
108
+ { text: "The best investment we made this year. The performance gains are incredible.", author: "Michael R., Developer" },
109
+ ],
110
+ };
111
+ },
112
+ };
113
+ </script>
114
+
115
+ <style>
116
+ * {
117
+ margin: 0;
118
+ padding: 0;
119
+ box-sizing: border-box;
120
+ }
121
+
122
+ body {
123
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
124
+ color: #fff;
125
+ background: #080818;
126
+ overflow-x: hidden;
127
+ }
128
+
129
+ .section {
130
+ min-height: 100vh;
131
+ display: flex;
132
+ align-items: center;
133
+ justify-content: center;
134
+ padding: 4rem 1rem;
135
+ position: relative;
136
+ }
137
+
138
+ .container {
139
+ max-width: 1100px;
140
+ width: 100%;
141
+ margin: 0 auto;
142
+ text-align: center;
143
+ }
144
+
145
+ h2 {
146
+ font-size: 2.5em;
147
+ margin-bottom: 3rem;
148
+ background: linear-gradient(135deg, #6c5ce7, #00cec9);
149
+ -webkit-background-clip: text;
150
+ -webkit-text-fill-color: transparent;
151
+ background-clip: text;
152
+ }
153
+
154
+ #hero {
155
+ min-height: 100vh;
156
+ position: relative;
157
+ }
158
+
159
+ .hero-content {
160
+ text-align: center;
161
+ z-index: 10;
162
+ padding: 2rem;
163
+ }
164
+
165
+ .hero-content h1 {
166
+ font-size: 4em;
167
+ line-height: 1.1;
168
+ margin-bottom: 1rem;
169
+ }
170
+
171
+ .gradient-text {
172
+ background: linear-gradient(135deg, #6c5ce7, #fd79a8);
173
+ -webkit-background-clip: text;
174
+ -webkit-text-fill-color: transparent;
175
+ background-clip: text;
176
+ }
177
+
178
+ .hero-subtitle {
179
+ font-size: 1.3em;
180
+ opacity: 0.7;
181
+ margin-bottom: 2rem;
182
+ max-width: 600px;
183
+ margin-left: auto;
184
+ margin-right: auto;
185
+ }
186
+
187
+ .hero-cta {
188
+ display: flex;
189
+ gap: 1rem;
190
+ justify-content: center;
191
+ flex-wrap: wrap;
192
+ }
193
+
194
+ .btn {
195
+ padding: 0.8em 2em;
196
+ font-size: 1.1em;
197
+ font-weight: 600;
198
+ border-radius: 8px;
199
+ text-decoration: none;
200
+ transition: transform 0.2s, box-shadow 0.2s;
201
+ display: inline-block;
202
+ }
203
+
204
+ .btn:hover {
205
+ transform: translateY(-2px);
206
+ box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
207
+ }
208
+
209
+ .btn-primary {
210
+ background: linear-gradient(135deg, #6c5ce7, #a29bfe);
211
+ color: #fff;
212
+ }
213
+
214
+ .btn-secondary {
215
+ background: rgba(255, 255, 255, 0.1);
216
+ color: #fff;
217
+ border: 1px solid rgba(255, 255, 255, 0.2);
218
+ }
219
+
220
+ .btn-large {
221
+ padding: 1em 3em;
222
+ font-size: 1.2em;
223
+ }
224
+
225
+ .features-grid {
226
+ display: grid;
227
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
228
+ gap: 2rem;
229
+ }
230
+
231
+ .feature-card {
232
+ background: rgba(255, 255, 255, 0.03);
233
+ border: 1px solid rgba(255, 255, 255, 0.08);
234
+ border-radius: 16px;
235
+ padding: 2rem;
236
+ text-align: center;
237
+ transition: transform 0.3s, border-color 0.3s;
238
+ }
239
+
240
+ .feature-card:hover {
241
+ transform: translateY(-6px);
242
+ border-color: #6c5ce7;
243
+ }
244
+
245
+ .feature-icon {
246
+ font-size: 2.5em;
247
+ margin-bottom: 1rem;
248
+ }
249
+
250
+ .feature-card h3 {
251
+ margin-bottom: 0.5rem;
252
+ }
253
+
254
+ .feature-card p {
255
+ opacity: 0.7;
256
+ font-size: 0.95em;
257
+ }
258
+
259
+ .pricing-grid {
260
+ display: grid;
261
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
262
+ gap: 2rem;
263
+ align-items: center;
264
+ }
265
+
266
+ .pricing-card {
267
+ background: rgba(255, 255, 255, 0.03);
268
+ border: 1px solid rgba(255, 255, 255, 0.08);
269
+ border-radius: 16px;
270
+ padding: 2.5rem 2rem;
271
+ text-align: center;
272
+ }
273
+
274
+ .pricing-card.featured {
275
+ border-color: #6c5ce7;
276
+ background: rgba(108, 92, 231, 0.08);
277
+ transform: scale(1.05);
278
+ }
279
+
280
+ .price {
281
+ font-size: 3em;
282
+ font-weight: 700;
283
+ margin: 1rem 0;
284
+ }
285
+
286
+ .price span {
287
+ font-size: 0.4em;
288
+ opacity: 0.5;
289
+ font-weight: 400;
290
+ }
291
+
292
+ .pricing-card ul {
293
+ list-style: none;
294
+ margin: 1.5rem 0;
295
+ }
296
+
297
+ .pricing-card li {
298
+ padding: 0.4em 0;
299
+ opacity: 0.8;
300
+ }
301
+
302
+ .pricing-card li::before {
303
+ content: "✓ ";
304
+ color: #00cec9;
305
+ }
306
+
307
+ .testimonial-grid {
308
+ display: grid;
309
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
310
+ gap: 2rem;
311
+ }
312
+
313
+ .testimonial-card {
314
+ background: rgba(255, 255, 255, 0.03);
315
+ border: 1px solid rgba(255, 255, 255, 0.08);
316
+ border-radius: 16px;
317
+ padding: 2rem;
318
+ text-align: left;
319
+ }
320
+
321
+ .testimonial-card p {
322
+ font-style: italic;
323
+ font-size: 1.1em;
324
+ line-height: 1.6;
325
+ margin-bottom: 1rem;
326
+ }
327
+
328
+ .author {
329
+ opacity: 0.6;
330
+ font-size: 0.9em;
331
+ }
332
+
333
+ .cta-content h2 {
334
+ margin-bottom: 1rem;
335
+ }
336
+
337
+ .cta-content p {
338
+ font-size: 1.2em;
339
+ opacity: 0.7;
340
+ margin-bottom: 2rem;
341
+ }
342
+
343
+ #footer {
344
+ border-top: 1px solid rgba(255, 255, 255, 0.08);
345
+ padding: 2rem 1rem;
346
+ }
347
+
348
+ .footer-content {
349
+ display: flex;
350
+ justify-content: space-between;
351
+ align-items: center;
352
+ flex-wrap: wrap;
353
+ gap: 1rem;
354
+ }
355
+
356
+ .footer-content p {
357
+ opacity: 0.5;
358
+ font-size: 0.9em;
359
+ }
360
+
361
+ .footer-links {
362
+ display: flex;
363
+ gap: 1.5rem;
364
+ }
365
+
366
+ .footer-links a {
367
+ color: rgba(255, 255, 255, 0.6);
368
+ text-decoration: none;
369
+ font-size: 0.9em;
370
+ }
371
+
372
+ .footer-links a:hover {
373
+ color: #6c5ce7;
374
+ }
375
+ </style>