1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

update license and qol improvements

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2026-03-05 19:49:40 +05:30
committed by Morumotto
parent 5420886a23
commit 19784d18ee
13 changed files with 205 additions and 377 deletions
+14 -1
View File
@@ -5,7 +5,9 @@ const year = new Date().getFullYear();
<footer class="footer">
<div class="footer-inner">
<p class="footer-copy">
&copy; {year} Avinal Kumar
&copy; {year} Avinal Kumar &middot;
Code <a href="https://opensource.org/licenses/MIT">MIT</a> &middot;
Content <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
</p>
<a href="https://github.com/avinal/avinal.github.io/issues/new" class="footer-report" target="_blank" rel="noopener noreferrer">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
@@ -36,6 +38,17 @@ const year = new Date().getFullYear();
color: var(--text-muted);
}
.footer-copy a {
color: var(--text-muted);
text-decoration: underline;
text-underline-offset: 2px;
transition: color var(--duration-fast) var(--ease-out);
}
.footer-copy a:hover {
color: var(--text);
}
.footer-report {
display: inline-flex;
align-items: center;
+1 -1
View File
@@ -31,7 +31,7 @@ const fmtDate = (d: Date) =>
<a href={`/posts/${post.id}/`} class="post-link">
<div class="post-thumb">
{post.data.image ? (
<img src={post.data.image} alt="" class="thumb-img" loading="lazy" />
<img src={post.data.image} alt={post.data.title} class="thumb-img" loading="lazy" decoding="async" />
) : (
<span class="thumb-placeholder">{post.data.title.charAt(0)}</span>
)}