-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
801 lines (702 loc) · 28.9 KB
/
index.html
File metadata and controls
801 lines (702 loc) · 28.9 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
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Solara</title>
<link rel="icon" href="res/favicon/favicon.ico" type="image/x-icon">
<style>
:root {
}
:root {
--primary-color: #4A90E2;
--secondary-color: #FFD700;
--background-color: #F0F0F0;
--text-color: #333;
--terminal-bg: #1e1e1e;
--terminal-text: #f0f0f0;
--secondary-color2: #f39c12;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
header {
background-color: var(--primary-color);
padding: 20px 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.header-content {
display: flex;
align-items: center;
justify-content: space-between;
}
.logo-container {
display: flex;
align-items: center;
}
.logo-img {
width: 50px;
height: 50px;
margin-right: 10px;
}
.logo-text {
font-size: 2.5rem;
font-weight: bold;
color: var(--secondary-color);
}
nav {
margin-top: 20px;
}
nav ul {
list-style-type: none;
display: flex;
}
nav ul li {
margin-right: 20px;
}
nav ul li a {
text-decoration: none;
color: var(--secondary-color);
font-weight: bold;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #fff;
}
.hero {
background-color: var(--background-color);
padding: 120px 20px 60px;
text-align: center;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, rgba(74, 144, 226, 0.1), rgba(243, 156, 18, 0.1));
z-index: 1;
}
.hero .container {
position: relative;
z-index: 2;
max-width: 1200px;
margin: 0 auto;
}
.hero h1 {
font-size: clamp(2.5rem, 5vw, 4rem);
margin-bottom: 20px;
color: var(--primary-color);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
animation: fadeInDown 1s ease-out;
}
.hero h2 {
font-size: clamp(1.5rem, 3vw, 2.5rem);
margin-bottom: 30px;
color: #f39c12;
animation: fadeInUp 1s ease-out 0.3s both;
}
.hero p {
font-size: clamp(1rem, 2vw, 1.2rem);
max-width: 800px;
margin: 0 auto;
color: var(--text-color);
line-height: 1.6;
animation: fadeIn 1s ease-out 0.6s both;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (max-width: 768px) {
.hero {
padding: 80px 20px 40px;
}
}
.dashboard {
padding: 60px 0;
background-color: #fff;
}
.dashboard h2 {
text-align: center;
margin-bottom: 40px;
color: var(--primary-color);
}
.scroll-container {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
scrollbar-width: none;
-ms-overflow-style: none;
}
.scroll-container::-webkit-scrollbar {
display: none;
}
.dashboard-img {
min-width: 1000px;
max-width: 100%;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
scroll-snap-align: start;
margin-right: 20px;
border-radius: 10px;
transition: transform 0.3s ease;
}
.dashboard-img:hover {
transform: scale(1.02);
}
.advantages {
padding: 60px 0;
overflow: hidden;
background-color: var(--background-color);
}
.advantages h2 {
text-align: center;
margin-bottom: 40px;
color: var(--primary-color);
}
.advantages-scroll {
display: flex;
animation: scroll 30s linear infinite;
}
.advantage-item {
flex: 0 0 300px;
margin-right: 40px;
padding: 20px;
background-color: var(--secondary-color);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.advantage-item:hover {
transform: translateY(-5px);
}
@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}
.demo, .github, .license {
padding: 60px 0;
background-color: #fff;
}
.videos {
padding: 60px 0;
display: none;
background-color: var(--background-color);
}
.demo h2, .videos h2, .github h2, .license h2 {
text-align: center;
margin-bottom: 40px;
color: var(--primary-color);
}
.video-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.video-item {
width: 30%;
margin-bottom: 20px;
}
.video-item iframe {
width: 100%;
height: 200px;
border-radius: 10px;
}
.github-repos {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.repo-item {
width: 30%;
margin-bottom: 20px;
padding: 20px;
background-color: var(--background-color);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.repo-item:hover {
transform: translateY(-5px);
}
.license-content {
max-width: 800px;
margin: 0 auto;
background-color: var(--background-color);
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
footer {
background-color: var(--primary-color);
color: #fff;
text-align: center;
padding: 20px 0;
}
.terminal {
background-color: var(--terminal-bg);
border-radius: 10px;
overflow: hidden;
font-family: 'Fira Code', monospace;
margin-top: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.terminal-header {
background-color: #323232;
padding: 10px;
display: flex;
}
.terminal-button {
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 6px;
}
.red {
background-color: #ff5f56;
}
.yellow {
background-color: #ffbd2e;
}
.green {
background-color: #27c93f;
}
.terminal-body {
padding: 20px;
color: var(--terminal-text);
}
#terminal-content {
min-height: 200px;
max-height: 400px;
overflow-y: auto;
}
.terminal-input-line {
display: flex;
align-items: center;
margin-top: 10px;
}
.prompt {
color: #27c93f;
margin-right: 5px;
}
#terminal-input {
background-color: transparent;
border: none;
color: var(--terminal-text);
font-family: 'Fira Code', monospace;
font-size: 14px;
width: 100%;
outline: none;
}
.command-line {
margin-bottom: 5px;
}
.output-line {
color: #4a9;
margin-bottom: 10px;
}
@media (max-width: 768px) {
.header-content {
flex-direction: column;
}
nav {
margin-top: 20px;
}
nav ul {
flex-wrap: wrap;
justify-content: center;
}
nav ul li {
margin: 5px 10px;
}
.hero h1 {
font-size: 2.5rem;
}
.repo-item, .video-item {
width: 100%;
}
}
.github-star {
padding: 80px 0;
background-color: var(--background-color);
text-align: center;
position: relative;
overflow: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.github-star h2 {
color: var(--primary-color);
margin-bottom: 30px;
font-size: 2.5em;
}
.github-star p {
max-width: 800px;
margin: 0 auto 40px;
color: var(--text-color);
font-size: 1.1em;
line-height: 1.6;
}
.star-button {
display: inline-flex;
align-items: center;
background-color: var(--primary-color);
color: white;
padding: 15px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
font-size: 1.2em;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.star-button:hover {
background-color: #3a7bc8;
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.star-icon {
font-size: 2em;
margin-right: 10px;
animation: pulse 1.5s infinite;
}
.background-stars {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
opacity: 0.2;
}
.background-star {
position: absolute;
color: var(--primary-color);
animation: twinkle 3s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
@keyframes twinkle {
0% { opacity: 0.3; }
50% { opacity: 1; }
100% { opacity: 0.3; }
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="header-content">
<div class="logo-container">
<img src="res/solara.png" alt="Solara Logo" class="logo-img">
<div class="logo-text">Solara</div>
</div>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#dashboard">Dashboard</a></li>
<li><a href="#demo">Demo</a></li>
<!--<li><a href="#videos">Videos</a></li>-->
<li><a href="#github">GitHub</a></li>
<li><a href="#license">License</a></li>
</ul>
</nav>
</div>
</div>
</header>
<section id="home" class="hero">
<div class="container">
<h1>Solara</h1>
<h2>Unlock the full potential of your white-label app management</h2>
<p>A comprehensive toolkit designed to streamline white-label solutions across iOS, Android, and Flutter. Enjoy simple onboarding, easy brand switching, and efficient management, all while ensuring scalability to grow with your business. Simplify deployment and enhance user experiences effortlessly.</p>
</div>
</section>
<section class="advantages">
<div class="container">
<h2>Advantages of Solara</h2>
<div class="advantages-scroll">
<div class="advantage-item">
<h3>Cross-Platform Compatibility</h3>
<p>Solara supports iOS, Android, and Flutter, allowing for cohesive management across different platforms.</p>
</div>
<div class="advantage-item">
<h3>Centralized Configurations</h3>
<p>Solara offers a single point of control for managing all dynamic components of white label apps, making updates and consistency easier to achieve.</p>
</div>
<div class="advantage-item">
<h3>User-Friendly Dashboard</h3>
<p>The intuitive dashboard allows for quick navigation and management of multiple brands, streamlining the administrative process.</p>
</div>
<div class="advantage-item">
<h3>Powerful CLI Support</h3>
<p>With robust command-line interface commands, developers can efficiently configure and control app settings without needing to navigate through the interfaces.</p>
</div>
<div class="advantage-item">
<h3>Seamless Brand Switching</h3>
<p>Switching between brands is a piece of cake with Solara's CLI or centralized dashboard.</p>
</div>
<div class="advantage-item">
<h3>Easy Onboarding and Offboarding</h3>
<p>Adding or removing brands is straightforward with Solara's CLI or centralized dashboard.</p>
</div>
<div class="advantage-item">
<h3>Solara Doctor</h3>
<p>This powerful feature automatically detects issues in application or brand configurations, running health checks every time you use Solara.</p>
</div>
<div class="advantage-item">
<h3>Effortless Brand Management</h3>
<p>Easily switch and manage multiple brands, ensuring that each app remains aligned with its specific branding requirements.</p>
</div>
<div class="advantage-item">
<h3>Streamlined Development Workflow</h3>
<p>By automating and simplifying configuration tasks, Solara enhances developer productivity and reduces the potential for errors.</p>
</div>
<div class="advantage-item">
<h3>Scalability</h3>
<p>As your app portfolio grows, Solara can easily adapt to manage additional brands and dynamic components without a hitch.</p>
</div>
<div class="advantage-item">
<h3>Consistent User Experience</h3>
<p>Ensure that all apps maintain a uniform look and feel, enhancing user experience across different platforms.</p>
</div>
</div>
</div>
</section>
<section id="dashboard" class="dashboard">
<div class="container">
<h2>Dashboard</h2>
<div class="scroll-container">
<img src="https://github.com/Solara-Toolkit/Solara/blob/main/etc/screenshots/dashboard/brands_management.png?raw=true" alt="Solara Dashboard" class="dashboard-img">
<img src="https://github.com/Solara-Toolkit/Solara/blob/main/etc/screenshots/dashboard/brand_management.png?raw=true" alt="Solara Dashboard" class="dashboard-img">
<img src="https://github.com/Solara-Toolkit/Solara/blob/main/etc/screenshots/dashboard/onboard_brand.png?raw=true" alt="Solara Dashboard" class="dashboard-img">
<img src="https://github.com/Solara-Toolkit/Solara/blob/main/etc/screenshots/dashboard/brand_options.png?raw=true" alt="Solara Dashboard" class="dashboard-img">
<img src="https://github.com/Solara-Toolkit/Solara/blob/main/etc/screenshots/dashboard/terminal_aliases.png?raw=true" alt="Solara Dashboard" class="dashboard-img">
<img src="https://github.com/Solara-Toolkit/Solara/blob/main/etc/screenshots/dashboard/ios_signing.png?raw=true" alt="Solara Dashboard" class="dashboard-img">
<img src="https://github.com/Solara-Toolkit/Solara/blob/main/etc/screenshots/dashboard/android_signing.png?raw=true" alt="Solara Dashboard" class="dashboard-img">
</div>
</div>
</section>
<section id="demo" class="demo">
<div class="container">
<h2>CLI Demonstration</h2>
<p>Here's a quick demonstration of how Solara works with CLI:</p>
<div class="terminal">
<div class="terminal-header">
<div class="terminal-button red"></div>
<div class="terminal-button yellow"></div>
<div class="terminal-button green"></div>
</div>
<div class="terminal-body">
<div id="terminal-content"></div>
<div class="terminal-input-line">
<span class="prompt">$</span>
<input type="text" id="terminal-input" placeholder="Type a command...">
</div>
</div>
</div>
</div>
</section>
<section id="videos" class="videos">
<div class="container">
<h2>Video Tutorials</h2>
<div class="video-container">
<div class="video-item">
<iframe src="https://www.youtube.com" frameborder="0" allowfullscreen></iframe>
<p>Getting Started with Solara</p>
</div>
<div class="video-item">
<iframe src="https://www.youtube.com" frameborder="0" allowfullscreen></iframe>
<p>Advanced Configurations</p>
</div>
<div class="video-item">
<iframe src="https://www.youtube.com" frameborder="0" allowfullscreen></iframe>
<p>Troubleshooting Common Issues</p>
</div>
</div>
</div>
</section>
<section id="github-star" class="github-star">
<div class="container">
<h2>Support Solara on GitHub</h2>
<p>Your support means a lot to us! By starring our GitHub repository, you help increase visibility and show that Solara is a trusted and valuable tool. This encourages more developers to use and contribute to the project, ensuring its continued growth and improvement.</p>
<a href="https://github.com/Solara-Toolkit/Solara" target="_blank" class="star-button">
<span class="star-icon">⭐</span>
Star us on GitHub
</a>
</div>
<div class="background-stars" id="backgroundStars"></div>
</section>
<section id="github" class="github">
<div class="container">
<h2>GitHub Repositories</h2>
<div class="github-repos">
<div class="repo-item">
<h3>Solara Core</h3>
<p>The primary repository for the Solara library, serving as the backbone of the framework. It contains essential components and utilities for building applications with Solara. This library is constantly updated to ensure optimal performance and features for developers.</p>
<a href="https://github.com/Solara-Toolkit/Solara" target="_blank">View on GitHub</a>
</div>
<div class="repo-item">
<h3>Solara Infinite Project</h3>
<p>A demonstration project showcasing Solara capabilities on Flutter, iOS and Android platforms. This project highlights best practices and provides a solid foundation for building while label applications using Solara. Explore its features and learn how to implement them in your own projects.</p>
<a href="https://github.com/Solara-Toolkit/Infinite" target="_blank">View on GitHub</a>
</div>
<div class="repo-item">
<h3>Solara Wiki</h3>
<p>Your comprehensive resource for all documentation related to Solara. The wiki includes guides, tutorials, and reference materials to help you get the most out of the Solara framework.</p>
<a href="https://github.com/Solara-Toolkit/Solara/wiki" target="_blank">View on GitHub</a>
</div>
</div>
</div>
</section>
<section id="license" class="license">
<div class="container">
<h2>License</h2>
<div class="license-content">
<p>Solara is released under the MIT License. See the LICENSE file in the repository for full details.</p>
</div>
</div>
</section>
<footer>
<div class="container">
<p>© 2024 Solara. All rights reserved.</p>
</div>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function () {
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
});
const commands = [
{ cmd: "solara onboard -k brand5 -n \"Brand 5\"", output: "🎉 Onboarded brand5 successfully" },
{ cmd: "solara onboard -c brand1 -k brand5 -n \"Brand 5\"", output: "🎉 Onboarded brand5 successfully, cloned from brand1" },
{ cmd: "solara dashboard -k brand5", output: "🎉 Opening the dashboard for brand5" },
{ cmd: "solara switch -k brand5", output: "🎉 Switched to brand5 successfully." },
{ cmd: "solara doctor -k brand5", output: "🎉 Health check for brand5 completed. All systems operational." },
{ cmd: "solara offboard -k brand5", output: "🎉 Offboarded brand5 successfully." }
];
const terminalContent = document.getElementById('terminal-content');
const terminalInput = document.getElementById('terminal-input');
let commandIndex = 0;
function addCommandLine(command) {
const commandLine = document.createElement('div');
commandLine.className = 'command-line';
commandLine.innerHTML = `<span class="prompt">$</span> ${command}`;
terminalContent.appendChild(commandLine);
}
function addOutputLine(output) {
const outputLine = document.createElement('div');
outputLine.className = 'output-line';
outputLine.textContent = output;
terminalContent.appendChild(outputLine);
}
function processCommand(command) {
addCommandLine(command);
const matchedCommand = commands.find(cmd => cmd.cmd === command);
if (matchedCommand) {
addOutputLine(matchedCommand.output);
} else {
addOutputLine("Command not recognized. Please try again.");
}
terminalContent.scrollTop = terminalContent.scrollHeight;
}
terminalInput.addEventListener('keyup', function (event) {
if (event.key === 'Enter') {
const command = this.value.trim();
if (command) {
processCommand(command);
this.value = '';
}
}
});
function autoRunCommands() {
if (commandIndex < commands.length) {
const command = commands[commandIndex].cmd;
terminalInput.value = command;
setTimeout(() => {
processCommand(command);
commandIndex++;
terminalInput.value = '';
autoRunCommands();
}, 2000);
}
}
function createBackgroundStars() {
const starsContainer = document.getElementById('backgroundStars');
const numStars = 50;
for (let i = 0; i < numStars; i++) {
const star = document.createElement('div');
star.textContent = '★';
star.classList.add('background-star');
star.style.left = `${Math.random() * 100}%`;
star.style.top = `${Math.random() * 100}%`;
star.style.fontSize = `${Math.random() * 20 + 10}px`;
star.style.animationDelay = `${Math.random() * 3}s`;
starsContainer.appendChild(star);
}
}
createBackgroundStars();
autoRunCommands();
</script>
</body>
</html>