Skip to content

Commit 32a115f

Browse files
committed
Refactor HTML for improved readability and update bundle size in documentation
1 parent b37317f commit 32a115f

1 file changed

Lines changed: 22 additions & 5 deletions

File tree

docs/index.html

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ <h1 class="hero-title">fast-injection</h1>
5454
</p>
5555
<div class="hero-actions">
5656
<a href="#getting-started" class="btn btn-primary">Get Started</a>
57-
<a href="https://github.com/BackendStack21/fast-injection" class="btn btn-secondary" target="_blank" rel="noopener">
57+
<a
58+
href="https://github.com/BackendStack21/fast-injection"
59+
class="btn btn-secondary"
60+
target="_blank"
61+
rel="noopener"
62+
>
5863
<svg class="github-icon" viewBox="0 0 24 24" fill="currentColor">
5964
<path
6065
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"
@@ -89,7 +94,7 @@ <h3>Blazing Fast</h3>
8994
<div class="feature-card">
9095
<div class="feature-icon">🪶</div>
9196
<h3>Lightweight</h3>
92-
<p>Less than <strong>5KB</strong> minified + gzipped. No production dependencies.</p>
97+
<p>Less than <strong>10KB</strong> minified + gzipped. No production dependencies.</p>
9398
</div>
9499
<div class="feature-card">
95100
<div class="feature-icon">🔒</div>
@@ -342,7 +347,12 @@ <h2 class="section-title">Documentation</h2>
342347
<h3>Quick Start Guide</h3>
343348
<p>Get up and running with fast-injection in minutes. Perfect for beginners.</p>
344349
</a>
345-
<a href="https://github.com/BackendStack21/fast-injection/tree/main/examples" class="doc-card" target="_blank" rel="noopener">
350+
<a
351+
href="https://github.com/BackendStack21/fast-injection/tree/main/examples"
352+
class="doc-card"
353+
target="_blank"
354+
rel="noopener"
355+
>
346356
<div class="doc-icon">📘</div>
347357
<h3>Examples</h3>
348358
<p>Comprehensive examples covering all features and use cases.</p>
@@ -365,7 +375,12 @@ <h3>Security Guide</h3>
365375
<h2>Ready to supercharge your DI?</h2>
366376
<p>Join developers building faster, more maintainable applications with fast-injection.</p>
367377
<div class="cta-actions">
368-
<a href="https://github.com/BackendStack21/fast-injection" class="btn btn-primary" target="_blank" rel="noopener">
378+
<a
379+
href="https://github.com/BackendStack21/fast-injection"
380+
class="btn btn-primary"
381+
target="_blank"
382+
rel="noopener"
383+
>
369384
<svg class="github-icon" viewBox="0 0 24 24" fill="currentColor">
370385
<path
371386
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"
@@ -389,7 +404,9 @@ <h2>Ready to supercharge your DI?</h2>
389404
<div class="footer-links">
390405
<a href="https://github.com/BackendStack21/fast-injection" target="_blank" rel="noopener">GitHub</a>
391406
<a href="https://www.npmjs.com/package/fast-injection" target="_blank" rel="noopener">npm</a>
392-
<a href="https://github.com/BackendStack21/fast-injection/blob/main/LICENSE" target="_blank" rel="noopener">MIT License</a>
407+
<a href="https://github.com/BackendStack21/fast-injection/blob/main/LICENSE" target="_blank" rel="noopener"
408+
>MIT License</a
409+
>
393410
</div>
394411
</div>
395412
<div class="footer-bottom">

0 commit comments

Comments
 (0)