feat: make the web app installable and rework the app shell
Add a Vite PWA (`vite-plugin-pwa`): manifest, icons and an `autoUpdate` service worker, plus an install prompt so the app can be added to the home screen. Rework the shell for mobile: mount the bottom navigation bar and the install prompt in the authenticated layout, hide the sidebar trigger below `md`, and add a sign-out card to Settings. Drop the placeholder Tasks page together with its unused shadcn table and the `@tanstack/react-table` dependency, and remove the in-app router/query dev tools.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Link, useRouterState } from '@tanstack/react-router'
|
||||
import type { LucideIcon } from 'lucide-react'
|
||||
import { HomeIcon, ListTodoIcon, SettingsIcon, ShoppingCartIcon } from 'lucide-react'
|
||||
import { HomeIcon, SettingsIcon, ShoppingCartIcon } from 'lucide-react'
|
||||
|
||||
import { focusNewItemInput } from '@/components/items/create-item-form'
|
||||
import { NavUser } from '@/components/layout/nav-user'
|
||||
@@ -26,7 +26,6 @@ type NavItem = {
|
||||
const NAV_ITEMS: NavItem[] = [
|
||||
{ title: 'Principal', to: '/', icon: HomeIcon },
|
||||
{ title: 'Listas', to: '/lists', icon: ShoppingCartIcon },
|
||||
{ title: 'Tareas', to: '/tasks', icon: ListTodoIcon },
|
||||
{ title: 'Ajustes', to: '/settings', icon: SettingsIcon },
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user