Skip to content

Commit 6f23d78

Browse files
authored
Add Documentation button to hero section (#84)
## Summary Adds a Documentation button between the "Get Started" and "View on GitHub" buttons in the hero section of the landing page. ## Changes - Added new Documentation button linking to `/struct/docs/` - Uses `fas fa-book` icon for consistent styling with other buttons - Positioned between Get Started and View on GitHub buttons - Opens in new tab for better user experience - Maintains consistent styling with existing secondary buttons ## Screenshots The Documentation button now appears in the center position between the two existing buttons, providing easy access to the project documentation. ## Testing - ✅ Button displays correctly in hero section - ✅ Link points to `/struct/docs/` as requested - ✅ Opens in new tab (`target="_blank"`) - ✅ Uses appropriate book icon (`fas fa-book`) - ✅ Styling matches other secondary buttons
1 parent ac4009a commit 6f23d78

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

site/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ <h1 class="hero-title">STRUCT:</h1>
144144
<i class="fas fa-download"></i>
145145
Get Started
146146
</a>
147+
<a href="/struct/docs/" target="_blank" class="btn btn-secondary btn-lg">
148+
<i class="fas fa-book"></i>
149+
Documentation
150+
</a>
147151
<a href="https://github.com/httpdss/struct" target="_blank" class="btn btn-secondary btn-lg">
148152
<i class="fab fa-github"></i>
149153
View on GitHub

0 commit comments

Comments
 (0)