fix(ui): make top-left logo a clickable link to home
Wrap the logo-container div in an <a href='/'> so clicking the OxiCloud logo navigates back to the root/home view, matching the widely accepted web convention. Fixes #97
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@
|
||||
<body>
|
||||
<!-- Sidebar -->
|
||||
<div class="sidebar">
|
||||
<div class="logo-container">
|
||||
<a href="/" class="logo-container" style="text-decoration:none;color:inherit;">
|
||||
|
||||
<div class="logo">
|
||||
<svg viewBox="0 0 500 500">
|
||||
@@ -54,7 +54,7 @@
|
||||
</svg>
|
||||
</div>
|
||||
<div class="app-name">OxiCloud</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="nav-menu">
|
||||
<div class="nav-item active">
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// OxiCloud Service Worker
|
||||
const CACHE_NAME = 'oxicloud-cache-v3';
|
||||
const CACHE_NAME = 'oxicloud-cache-v4';
|
||||
const ASSETS_TO_CACHE = [
|
||||
'/',
|
||||
'/index.html',
|
||||
|
||||
Reference in New Issue
Block a user