Skip to content

Commit 8dcb5d7

Browse files
authored
Merge pull request #64 from thanglequoc/AddGitHubPage
feat: Add Author credit
2 parents 82713bd + d1df9ed commit 8dcb5d7

3 files changed

Lines changed: 41 additions & 1 deletion

File tree

docs/_includes/footer.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
<li><a href="https://github.com/thanglequoc/timer-ninja" target="_blank" rel="noopener">GitHub</a></li>
1212
<li><a href="https://central.sonatype.com/artifact/io.github.thanglequoc/timer-ninja" target="_blank" rel="noopener">Maven Central</a></li>
1313
</ul>
14+
<p class="footer__author">
15+
Made with &#10084;&#65039; by
16+
<a href="https://github.com/thanglequoc" target="_blank" rel="noopener">
17+
<img src="https://github.com/thanglequoc.png?size=28" alt="ThangLeQuoc" class="footer__avatar" loading="lazy">
18+
<strong>ThangLeQuoc</strong>
19+
</a>
20+
— the open-source enthusiast
21+
</p>
1422
<p class="footer__copy">&copy; {{ 'now' | date: "%Y" }} Timer Ninja. Released under the Apache License 2.0.</p>
1523
</div>
1624
</footer>

docs/_sass/_footer.scss

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,38 @@
6262
}
6363
}
6464

65+
.footer__author {
66+
font-size: 0.85rem;
67+
color: var(--color-text-muted);
68+
margin-bottom: $space-md;
69+
display: flex;
70+
align-items: center;
71+
gap: $space-xs;
72+
flex-wrap: wrap;
73+
justify-content: center;
74+
75+
a {
76+
display: inline-flex;
77+
align-items: center;
78+
gap: $space-xs;
79+
color: var(--color-text);
80+
font-weight: 600;
81+
transition: color $transition-fast;
82+
83+
&:hover {
84+
color: var(--color-primary);
85+
}
86+
}
87+
}
88+
89+
.footer__avatar {
90+
width: 24px;
91+
height: 24px;
92+
border-radius: 50%;
93+
vertical-align: middle;
94+
border: 1px solid var(--color-border);
95+
}
96+
6597
.footer__copy {
6698
font-size: 0.8rem;
6799
color: var(--color-text-muted);

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ <h3>Run &amp; See the Trace &#128007;</h3>
318318
<div class="hero__mascot animate-fade-up" style="width: 100px; height: 100px;">
319319
<img src="{{ '/assets/images/mascot.png' | relative_url }}" alt="Timer Ninja mascot">
320320
</div>
321-
<h2 class="animate-fade-up">Ready to <span class="text-gradient">track them all?</span>?</h2>
321+
<h2 class="animate-fade-up">Ready to <span class="text-gradient">track them all</span>?</h2>
322322
<p class="animate-fade-up" style="max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem;">
323323
Block tracking, custom thresholds, constructor tracking, and more — explore all features in the docs and start measuring Java method execution time the smart way.
324324
</p>

0 commit comments

Comments
 (0)