feat(frontend): add version badge (v10) in footer for deploy verification
This commit is contained in:
parent
1d3a48940e
commit
d146e445d6
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p>© {env.PUBLIC_COPYRIGHT_TEXT || `${new Date().getFullYear()} Elemes LMS`}</p>
|
<p>© {env.PUBLIC_COPYRIGHT_TEXT || `${new Date().getFullYear()} Elemes LMS`} <span class="version-badge">v10</span></p>
|
||||||
{#if $authIsTeacher}
|
{#if $authIsTeacher}
|
||||||
<p><a href="/progress" class="teacher-link">Laporan Progress Siswa</a></p>
|
<p><a href="/progress" class="teacher-link">Laporan Progress Siswa</a></p>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
@ -30,4 +30,15 @@
|
||||||
.teacher-link:hover {
|
.teacher-link:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
.version-badge {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.65rem;
|
||||||
|
background: var(--color-primary, #3b82f6);
|
||||||
|
color: white;
|
||||||
|
padding: 1px 5px;
|
||||||
|
border-radius: 3px;
|
||||||
|
margin-left: 6px;
|
||||||
|
vertical-align: middle;
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue