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>
|
<body>
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
<div class="logo-container">
|
<a href="/" class="logo-container" style="text-decoration:none;color:inherit;">
|
||||||
|
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<svg viewBox="0 0 500 500">
|
<svg viewBox="0 0 500 500">
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
<div class="app-name">OxiCloud</div>
|
<div class="app-name">OxiCloud</div>
|
||||||
</div>
|
</a>
|
||||||
|
|
||||||
<div class="nav-menu">
|
<div class="nav-menu">
|
||||||
<div class="nav-item active">
|
<div class="nav-item active">
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// OxiCloud Service Worker
|
// OxiCloud Service Worker
|
||||||
const CACHE_NAME = 'oxicloud-cache-v3';
|
const CACHE_NAME = 'oxicloud-cache-v4';
|
||||||
const ASSETS_TO_CACHE = [
|
const ASSETS_TO_CACHE = [
|
||||||
'/',
|
'/',
|
||||||
'/index.html',
|
'/index.html',
|
||||||
|
|||||||
Reference in New Issue
Block a user