Skip to content

Commit 05ac20a

Browse files
vedantaclaude
andcommitted
docs: compact landing page to avoid scroll
- Smaller hero section with reduced padding - 4x2 compact feature grid - Single-line install command - All content visible without scrolling πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f584be7 commit 05ac20a

1 file changed

Lines changed: 77 additions & 58 deletions

File tree

β€Ždocs/index.mdβ€Ž

Lines changed: 77 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,39 @@ hide:
1010
}
1111
.hero {
1212
text-align: center;
13-
padding: 2rem 0;
13+
padding: 1.5rem 0 1rem;
1414
}
1515
.hero img {
16-
max-width: 300px;
17-
margin-bottom: 1rem;
16+
max-width: 200px;
17+
margin-bottom: 0.5rem;
1818
}
1919
.hero h1 {
20-
font-size: 3rem;
21-
margin-bottom: 0.5rem;
20+
font-size: 2.5rem;
21+
margin: 0.5rem 0;
2222
}
2323
.hero .tagline {
24-
font-size: 1.5rem;
24+
font-size: 1.3rem;
2525
color: #ffc107;
26-
margin-bottom: 1rem;
26+
margin: 0.25rem 0;
2727
}
2828
.hero .subtitle {
29-
font-size: 1.2rem;
29+
font-size: 1rem;
3030
opacity: 0.8;
31-
margin-bottom: 2rem;
31+
margin: 0.5rem 0 1rem;
3232
}
3333
.hero .buttons {
3434
display: flex;
3535
gap: 1rem;
3636
justify-content: center;
3737
flex-wrap: wrap;
38+
margin-bottom: 1rem;
3839
}
3940
.hero .buttons a {
40-
padding: 0.75rem 1.5rem;
41+
padding: 0.6rem 1.25rem;
4142
border-radius: 0.5rem;
4243
text-decoration: none;
4344
font-weight: bold;
45+
font-size: 0.9rem;
4446
}
4547
.hero .buttons .primary {
4648
background: #7c4dff;
@@ -50,31 +52,51 @@ hide:
5052
border: 2px solid #7c4dff;
5153
color: #7c4dff;
5254
}
55+
.install-box {
56+
background: #1e1e1e;
57+
border-radius: 0.5rem;
58+
padding: 0.5rem 1rem;
59+
margin: 0 auto 1.5rem;
60+
max-width: 500px;
61+
font-size: 0.85rem;
62+
}
5363
.features {
5464
display: grid;
55-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
56-
gap: 1.5rem;
57-
margin-top: 3rem;
65+
grid-template-columns: repeat(4, 1fr);
66+
gap: 1rem;
67+
max-width: 900px;
68+
margin: 0 auto;
69+
}
70+
@media (max-width: 800px) {
71+
.features {
72+
grid-template-columns: repeat(2, 1fr);
73+
}
5874
}
5975
.feature {
60-
padding: 1.5rem;
76+
padding: 1rem;
6177
border-radius: 0.5rem;
6278
background: rgba(255,255,255,0.05);
6379
border: 1px solid rgba(255,255,255,0.1);
80+
text-align: center;
81+
}
82+
.feature .icon {
83+
font-size: 1.5rem;
84+
margin-bottom: 0.25rem;
6485
}
6586
.feature h3 {
66-
margin-top: 0;
87+
margin: 0.25rem 0;
88+
font-size: 0.95rem;
6789
}
68-
.install-box {
69-
background: #1e1e1e;
70-
border-radius: 0.5rem;
71-
padding: 1rem;
72-
margin: 2rem auto;
73-
max-width: 600px;
74-
text-align: left;
90+
.feature p {
91+
margin: 0;
92+
font-size: 0.8rem;
93+
opacity: 0.8;
7594
}
76-
.install-box code {
77-
color: #4caf50;
95+
.footer-note {
96+
text-align: center;
97+
margin-top: 1.5rem;
98+
font-size: 0.85rem;
99+
opacity: 0.6;
78100
}
79101
</style>
80102

@@ -86,62 +108,59 @@ hide:
86108

87109
<div class="buttons">
88110
<a href="getting-started/" class="primary">Get Started</a>
89-
<a href="https://github.com/vedanta/ui-cli" class="secondary">View on GitHub</a>
111+
<a href="https://github.com/vedanta/ui-cli" class="secondary">GitHub</a>
90112
</div>
91-
</div>
92113

93-
<div class="install-box">
114+
<div class="install-box">
115+
94116
```bash
95-
git clone https://github.com/vedanta/ui-cli.git && cd ui-cli
96-
pip install -e .
97-
./ui status
117+
git clone https://github.com/vedanta/ui-cli.git && cd ui-cli && pip install -e .
98118
```
119+
120+
</div>
99121
</div>
100122

101123
<div class="features">
102124
<div class="feature">
103-
<h3>🌐 Cloud API</h3>
104-
<p>Manage multiple sites from anywhere via <code>api.ui.com</code>. View hosts, sites, devices, ISP metrics, and SD-WAN configurations.</p>
125+
<div class="icon">🌐</div>
126+
<h3>Cloud API</h3>
127+
<p>Multi-site management via api.ui.com</p>
105128
</div>
106-
107129
<div class="feature">
108-
<h3>🏠 Local Controller</h3>
109-
<p>Connect directly to your UDM, Cloud Key, or self-hosted controller. Full client and device management with real-time data.</p>
130+
<div class="icon">🏠</div>
131+
<h3>Local Controller</h3>
132+
<p>Direct UDM & Cloud Key access</p>
110133
</div>
111-
112134
<div class="feature">
113-
<h3>πŸ‘₯ Client Management</h3>
114-
<p>List, search, block, unblock, and monitor network clients. View detailed status including signal strength and WiFi experience.</p>
135+
<div class="icon">πŸ‘₯</div>
136+
<h3>Client Control</h3>
137+
<p>List, block, monitor clients</p>
115138
</div>
116-
117139
<div class="feature">
118-
<h3>πŸ“‘ Device Control</h3>
119-
<p>Restart, upgrade firmware, locate with LED, and adopt new devices. Full control over your UniFi infrastructure.</p>
140+
<div class="icon">πŸ“‘</div>
141+
<h3>Device Mgmt</h3>
142+
<p>Restart, upgrade, locate</p>
120143
</div>
121-
122144
<div class="feature">
123-
<h3>πŸ“Š Traffic Analytics</h3>
124-
<p>Deep packet inspection (DPI) statistics, per-client traffic breakdown, and daily/hourly bandwidth reports.</p>
145+
<div class="icon">πŸ“Š</div>
146+
<h3>Analytics</h3>
147+
<p>DPI stats & traffic reports</p>
125148
</div>
126-
127149
<div class="feature">
128-
<h3>🎫 Guest Vouchers</h3>
129-
<p>Create and manage hotspot vouchers with custom duration, data limits, and speed caps.</p>
150+
<div class="icon">πŸ”₯</div>
151+
<h3>Firewall</h3>
152+
<p>Rules, groups, port forwards</p>
130153
</div>
131-
132154
<div class="feature">
133-
<h3>πŸ”₯ Firewall Inspection</h3>
134-
<p>View firewall rules, address/port groups, and port forwarding configurations.</p>
155+
<div class="icon">🎫</div>
156+
<h3>Vouchers</h3>
157+
<p>Guest hotspot management</p>
135158
</div>
136-
137159
<div class="feature">
138-
<h3>πŸ’Ύ Config Export</h3>
139-
<p>Backup your running configuration to YAML or JSON. Filter by section for targeted exports.</p>
160+
<div class="icon">πŸ’Ύ</div>
161+
<h3>Config Export</h3>
162+
<p>Backup to YAML/JSON</p>
140163
</div>
141164
</div>
142165

143-
---
144-
145-
<div style="text-align: center; margin-top: 3rem; opacity: 0.7;">
146-
<p>Works with <strong>UDM</strong> β€’ <strong>UDM Pro</strong> β€’ <strong>UDM SE</strong> β€’ <strong>Cloud Key</strong> β€’ <strong>Self-hosted Controllers</strong></p>
147-
</div>
166+
<p class="footer-note">Works with UDM β€’ UDM Pro β€’ UDM SE β€’ Cloud Key β€’ Self-hosted</p>

0 commit comments

Comments
Β (0)