juxscript 1.0.113 → 1.0.115
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.
package/create/index.jux
CHANGED
|
@@ -7,41 +7,44 @@ LandingLayout();
|
|
|
7
7
|
// 2. Header: Logo & Nav
|
|
8
8
|
Element('logo', { tag: 'h2' })
|
|
9
9
|
.text('JUX STUDIO')
|
|
10
|
-
.
|
|
10
|
+
.className('jux-typo-brand')
|
|
11
11
|
.render('landing-layout-0-0');
|
|
12
12
|
|
|
13
13
|
// 3. Hero Section
|
|
14
14
|
const hero = Element('hero-content', { tag: 'div' })
|
|
15
|
-
.
|
|
15
|
+
.className('jux-section-center')
|
|
16
16
|
.render('landing-layout-1-0');
|
|
17
17
|
|
|
18
18
|
Element('hero-h1', { tag: 'h1' })
|
|
19
19
|
.text('Build Web Apps. Simply.')
|
|
20
|
-
.
|
|
20
|
+
.className('jux-typo-display')
|
|
21
21
|
.render('hero-content');
|
|
22
22
|
|
|
23
23
|
Element('hero-p', { tag: 'p' })
|
|
24
24
|
.text('No complex build steps. No magic. Just standard JavaScript components.')
|
|
25
|
-
.
|
|
25
|
+
.className('jux-typo-lead')
|
|
26
26
|
.render('hero-content');
|
|
27
27
|
|
|
28
28
|
Element('cta-btn', { tag: 'button' })
|
|
29
29
|
.text('Get Started')
|
|
30
|
-
.
|
|
30
|
+
.className('jux-btn-primary')
|
|
31
31
|
.render('hero-content');
|
|
32
32
|
|
|
33
33
|
// 4. Features Section (Nested Content)
|
|
34
34
|
const featuresWrapper = Element('features-wrapper', { tag: 'div' })
|
|
35
|
-
.
|
|
35
|
+
.className('jux-grid-responsive')
|
|
36
36
|
.render('landing-layout-2-0');
|
|
37
37
|
|
|
38
38
|
// Component Showcase within Landing Page
|
|
39
39
|
const listDemo = Element('list-demo-card', { tag: 'div' })
|
|
40
|
-
.
|
|
40
|
+
.className('jux-card')
|
|
41
41
|
.render('features-wrapper');
|
|
42
42
|
|
|
43
43
|
Element('list-label', { tag: 'h3' }).text('Interactive Components').render('list-demo-card');
|
|
44
|
-
Element('list-desc', { tag: 'p' })
|
|
44
|
+
Element('list-desc', { tag: 'p' })
|
|
45
|
+
.text('Try dragging or sorting this list:')
|
|
46
|
+
.style('color: var(--color-text-secondary); margin-bottom: 20px;')
|
|
47
|
+
.render('list-demo-card');
|
|
45
48
|
|
|
46
49
|
List('feature-list', { items: ['Zero Config', 'Standard Web APIs', 'Hot Reloading', 'TypeScript Ready'] })
|
|
47
50
|
.listType('unordered')
|
|
@@ -57,15 +60,18 @@ const cardData = [
|
|
|
57
60
|
|
|
58
61
|
cardData.forEach((f, i) => {
|
|
59
62
|
const card = Element(`card-${i}`, { tag: 'div' })
|
|
60
|
-
.
|
|
63
|
+
.className('jux-card')
|
|
61
64
|
.render('features-wrapper');
|
|
62
65
|
|
|
63
66
|
Element(`ct-${i}`, { tag: 'h3' }).text(f.title).render(`card-${i}`);
|
|
64
|
-
Element(`cd-${i}`, { tag: 'p' })
|
|
67
|
+
Element(`cd-${i}`, { tag: 'p' })
|
|
68
|
+
.text(f.desc)
|
|
69
|
+
.style('color: var(--color-text-secondary); line-height: var(--line-height-normal);')
|
|
70
|
+
.render(`card-${i}`);
|
|
65
71
|
});
|
|
66
72
|
|
|
67
73
|
// 5. Footer
|
|
68
74
|
const footer = Element('footer-content', { tag: 'div' })
|
|
69
75
|
.html('© 2025 Jux Project. Open Source.')
|
|
70
|
-
.
|
|
76
|
+
.className('jux-layout-footer')
|
|
71
77
|
.render('landing-layout-3-0');
|