Skip to content

Commit 19d2733

Browse files
committed
docs: update README and website
1 parent c861e92 commit 19d2733

2 files changed

Lines changed: 37 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# struct
22

3-
A Rust-based tree alternative that actually respects your sanity.
3+
Struct: tree with a developer brain.
4+
Stop drowning in site-packages — struct shows you the code you care about.
45

56
## The Problem
67

@@ -532,6 +533,7 @@ struct search "*.py" -f | grep test
532533
```
533534

534535
---
536+
### Drop in a star if you liked this repo! It helps me make it real!
535537

536538
## Why Rust
537539

docs/index.html

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Struct - A smart tree alternative that respects your sanity</title>
6+
<title>Struct: tree with a developer brain.</title>
77

88
<!-- Tailwind CSS -->
99
<script src="https://cdn.tailwindcss.com"></script>
@@ -96,15 +96,15 @@
9696
<div class="text-center space-y-8 animate-fade-in">
9797
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-github-border/30 border border-github-border text-xs font-medium text-github-accent mb-4">
9898
<span class="flex w-2 h-2 rounded-full bg-orange-500 animate-pulse"></span>
99-
v0.4.2 • Rust • Built with 🦀
99+
v0.4.2 • Built with Rust 🦀
100100
</div>
101101

102102
<h1 class="text-5xl sm:text-6xl lg:text-7xl font-bold tracking-tight text-white">
103103
A <span class="gradient-text">tree</span> alternative
104104
</h1>
105105

106106
<p class="max-w-2xl mx-auto text-lg sm:text-xl text-github-muted leading-relaxed">
107-
Stop drowning in dependency folders. Struct shows your project's actual structure while intelligently hiding the noise you don't care about.
107+
Stop drowning in dependency folders. Struct cuts through the clutter, shows your project's actual structure while intelligently hiding the noise you don't ask for.
108108
</p>
109109

110110
<div class="flex flex-col sm:flex-row items-center justify-center gap-4 pt-4">
@@ -179,11 +179,37 @@ <h1 class="text-5xl sm:text-6xl lg:text-7xl font-bold tracking-tight text-white"
179179
</div>
180180
</section>
181181

182+
<!-- Support Section -->
183+
<section class="py-16 px-4 sm:px-6 lg:px-8 max-w-6xl mx-auto">
184+
<div class="relative overflow-hidden rounded-2xl bg-gradient-to-r from-github-accent/10 via-github-purple/10 to-github-accent/10 border border-github-accent/20 p-8 sm:p-12">
185+
<!-- Accent line top -->
186+
<div class="absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-github-accent/50 to-transparent"></div>
187+
188+
<div class="relative z-10 flex flex-col sm:flex-row items-center justify-between gap-8">
189+
<div class="flex-1">
190+
<h3 class="text-xl sm:text-2xl font-bold text-white mb-2">Like the project?</h3>
191+
<p class="text-github-muted leading-relaxed">
192+
A star on GitHub helps to keep it alive and thriving. Your support means everything to the development of Struct. Thanks for being part of this journey!
193+
</p>
194+
</div>
195+
<div class="flex-shrink-0">
196+
<a href="https://github.com/caffienerd/struct-cli" target="_blank" rel="noopener" class="inline-flex items-center gap-2 px-6 py-3 rounded-lg bg-github-accent hover:bg-blue-600 text-white font-semibold transition-all hover-lift shadow-lg shadow-github-accent/20">
197+
<i data-lucide="star" class="w-5 h-5"></i>
198+
Star on GitHub
199+
</a>
200+
</div>
201+
</div>
202+
203+
<!-- Accent line bottom -->
204+
<div class="absolute bottom-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-github-accent/50 to-transparent"></div>
205+
</div>
206+
</section>
207+
182208
<!-- Why Struct Section -->
183209
<section id="why" class="py-20 px-4 sm:px-6 lg:px-8 max-w-6xl mx-auto border-t border-github-border">
184210
<div class="text-center mb-16">
185211
<h2 class="text-3xl sm:text-4xl font-bold text-white mb-4">Why Struct?</h2>
186-
<p class="text-github-muted max-w-2xl mx-auto">Built by developers, for developers. No more scrolling through endless dependency folders.</p>
212+
<p class="text-github-muted max-w-2xl mx-auto">Built by developer, for developers. No more scrolling through endless dependency folders.</p>
187213
</div>
188214

189215
<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
@@ -427,10 +453,12 @@ <h3 class="text-white font-semibold mb-2 flex items-center gap-2">
427453
<div class="font-mono text-sm space-y-2 text-github-text">
428454
<div><span class="text-github-muted"># Show everything (infinite depth)</span></div>
429455
<div>struct</div>
430-
<div class="mt-2"><span class="text-github-muted"># Show 3 levels deep</span></div>
431-
<div>struct 3</div>
456+
<div class="mt-2"><span class="text-github-muted"># Search for python files in your folder</span></div>
457+
<div>struct search "*.py"</div>
432458
<div class="mt-2"><span class="text-github-muted"># Summary of current directory</span></div>
433459
<div>struct 0</div>
460+
<div class="mt-2"><span class="text-github-muted"># show git tracked files from the root git folder</span></div>
461+
<div>struct --gr</div>
434462
</div>
435463
</div>
436464
</div>

0 commit comments

Comments
 (0)