diff --git a/frontend/app.js b/frontend/app.js index 48814d1..4635494 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -36,6 +36,7 @@ function noteApp() { appName: 'NoteDiscovery', appTagline: 'Your Self-Hosted Knowledge Base', appVersion: '0.0.0', + authEnabled: false, notes: [], currentNote: '', currentNoteName: '', @@ -465,6 +466,7 @@ function noteApp() { this.appName = config.name; this.appTagline = config.tagline; this.appVersion = config.version || '0.0.0'; + this.authEnabled = config.authentication?.enabled || false; } catch (error) { console.error('Failed to load config:', error); } diff --git a/frontend/index.html b/frontend/index.html index ee6f3f7..8939330 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -633,7 +633,13 @@ background: none; border: none; cursor: pointer; - transition: color 0.15s ease; + transition: color 0.15s ease, background-color 0.15s ease; + min-width: 44px; + min-height: 44px; + } + + .mobile-bottom-tab:active { + background-color: var(--bg-hover); } .mobile-bottom-tab.active { @@ -649,10 +655,6 @@ font-size: 10px; } - /* Add padding to main content for bottom tabs */ - .main-content-mobile-padding { - padding-bottom: 56px; - } } @media (min-width: 769px) { @@ -982,6 +984,7 @@ :class="{'active': activePanel === 'files'}" @click="activePanel = 'files'" title="Files" + aria-label="Files panel" > @@ -994,6 +997,7 @@ :class="{'active': activePanel === 'search'}" @click="activePanel = 'search'" title="Search" + aria-label="Search panel" > @@ -1001,6 +1005,7 @@ @@ -1020,6 +1026,7 @@ @@ -1046,6 +1054,7 @@ :class="{'active': activePanel === 'settings'}" @click="activePanel = 'settings'" title="Settings" + aria-label="Settings panel" > @@ -1281,88 +1290,91 @@ - -
- -