Skip to content

Commit ccba137

Browse files
committed
feat: add internal linking and next steps to docs and blocks
- Add intro paragraphs to header and pricing blocks linking to related components - Add 'Next Steps' section and Cherry MCP callout to installation doc - Add 'Further Reading' links to configuration doc - Add 'Get started' CTA to overview doc
1 parent d47a5c2 commit ccba137

5 files changed

Lines changed: 31 additions & 3 deletions

File tree

content/blocks/header.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<p>Ready-made header layouts built with the <a href="{% url 'frontend:doc_page' category_slug='components' slug='header' %}">header component</a>, <a href="{% url 'frontend:doc_page' category_slug='components' slug='navbar' %}">navbar</a>, and <a href="{% url 'frontend:doc_page' category_slug='components' slug='drawer' %}">drawer</a> for mobile.</p>
2+
13
<h2>Header</h2>
24
<c-snippet>
35
<header class="header">

content/blocks/pricing.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<p>This pricing block is built with the <a href="{% url 'frontend:doc_page' category_slug='components' slug='card' %}">card component</a> and <a href="{% url 'frontend:doc_page' category_slug='components' slug='button' %}">button</a> variants.</p>
2+
13
<c-snippet class="flex-col">
24
<h2 class="heading-6xl text-center">Pricing</h2>
35
<p class="para text-center">Check out our affordable pricing plans below and choose the one that suits you best. If you need a custom plan, please contact us.</p>

content/docs/configuration.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,10 @@ <h3>2. The "Manual" Approach (Full Control)</h3>
207207
</span>
208208
</div>
209209
</html>
210-
</c-snippet>
210+
</c-snippet>
211+
212+
<h2>Further Reading</h2>
213+
<ul>
214+
<li><a href="{% url 'frontend:doc_page' category_slug='docs' slug='themes' %}">Available built-in themes</a> — browse Snowberry, Darkberry, and all included themes</li>
215+
<li><a href="{% url 'frontend:doc_page' category_slug='docs' slug='colors' %}">Color system reference</a> — full list of CSS color variables and how they map to components</li>
216+
</ul>

content/docs/installation.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,20 @@ <h3>Using a CDN</h3>
4646
<c-snippet lang="html" view="code">
4747
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/frutjam@{{ VERSION.FRUTJAM }}/dist/frutjam.min.css">
4848
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
49-
</c-snippet>
49+
</c-snippet>
50+
51+
<h2>Next Steps</h2>
52+
<p>Once installed, try the <a href="{% url 'frontend:doc_page' category_slug='components' slug='button' %}">button component</a> to see Frutjam in action, or explore the full <a href="{% url 'frontend:category_page' category_slug='components' %}">component library</a>.</p>
53+
54+
<div class="not-prose">
55+
<div class="card card-outline card-sm mt-6">
56+
<div class="card-content">
57+
<p class="badge badge-secondary badge-soft mb-2">AI Editor Integration</p>
58+
<h3 class="card-title mb-2">Using Claude Code, Cursor, or another AI editor?</h3>
59+
<p class="para-sm mb-3">Cherry MCP brings Frutjam's full component library directly into your AI editor's context — accurate class names, live docs, no copy-pasting.</p>
60+
<a href="{% url 'frontend:cherry_page' %}" class="btn btn-sm btn-primary">Learn about Cherry MCP →</a>
61+
</div>
62+
</div>
63+
</div>
64+
65+
<p class="mt-6">Want to understand the thinking behind Frutjam's CSS-first approach? <a href="{% url 'frontend:blog_detail' slug='why-i-built-frutjam-css-first-tailwind-ui-library' %}">Read why we built it this way →</a></p>

content/docs/overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ <h2>Core Features for Rapid Development</h2>
2828
</ul>
2929

3030
<h2>Technical Efficiency</h2>
31-
<p>By using semantic class names, you can reduce your HTML size significantly compared to standard utility-first workflows. This results in cleaner, more maintainable codebases that are easier for teams to manage in the long term. The library is built strictly on top of Tailwind CSS, ensuring you keep all the customization power of the utility engine while gaining the speed of a component-based system.</p>
31+
<p>By using semantic class names, you can reduce your HTML size significantly compared to standard utility-first workflows. This results in cleaner, more maintainable codebases that are easier for teams to manage in the long term. The library is built strictly on top of Tailwind CSS, ensuring you keep all the customization power of the utility engine while gaining the speed of a component-based system.</p>
32+
33+
<p>Ready to start? <a href="{% url 'frontend:doc_page' category_slug='docs' slug='installation' %}">Get started with installation →</a></p>

0 commit comments

Comments
 (0)