Skip to content

Commit 8116f2e

Browse files
committed
styling: Only show license information in footer on hover
1 parent 07599b7 commit 8116f2e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/app.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Created Date: 2025-09-08 15:54:21
66
* Author: 3urobeat
77
*
8-
* Last Modified: 2026-03-30 16:59:19
8+
* Last Modified: 2026-03-30 17:58:10
99
* Modified By: 3urobeat
1010
*
1111
* Copyright (c) 2025 - 2026 3urobeat <https://github.com/3urobeat>
@@ -75,7 +75,7 @@
7575
<!-- Footer for project details. Separated from nav container because backdrop caused positioning issues -->
7676
<footer
7777
:class="showNavbar ? '' : 'invisible lg:visible opacity-0'"
78-
class="fixed z-20 text-nowrap bottom-0 left-0 pb-2 px-2.5 lg:opacity-100 dark:text-text-dark select-none duration-500 transition-all"
78+
class="fixed z-20 text-nowrap bottom-0 left-0 pb-2 px-2.5 group lg:opacity-100 dark:text-text-dark select-none duration-500 transition-all"
7979
>
8080
<div class="flex flex-col text-sm opacity-50">
8181
<div :class="onlineVersion && onlineVersion != packagejson.version ? '' : 'hidden'" class="mb-4 px-1 py-0.5 bg-bg-embed-light dark:bg-bg-embed-dark outline-2 outline-border-secondary-light dark:outline-border-secondary-dark rounded-lg">
@@ -97,8 +97,11 @@
9797

9898
</a>
9999

100-
<p>{{ $t("navbarLicensedUnder") }} <a class="underline hover:text-gray-500" href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPLv3</a></p>
101-
<p>Copyright (c) 2026 <a class="underline hover:text-gray-500" href="https://github.com/3urobeat" target="_blank">3urobeat</a></p>
100+
<!-- Becomes visible on group hover -->
101+
<div class="h-0 opacity-0 group-hover:h-10 group-hover:opacity-100 duration-500 transition-all">
102+
<p>{{ $t("navbarLicensedUnder") }} <a class="underline hover:text-gray-500" href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPLv3</a></p>
103+
<p>Copyright (c) 2026 <a class="underline hover:text-gray-500" href="https://github.com/3urobeat" target="_blank">3urobeat</a></p>
104+
</div>
102105
</div>
103106
</footer>
104107

0 commit comments

Comments
 (0)