mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-18 10:02:16 +00:00
Update notification service
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import type React from "react"
|
import type React from "react"
|
||||||
import type { Metadata } from "next"
|
import type { Metadata, Viewport } from "next"
|
||||||
import { GeistSans } from "geist/font/sans"
|
import { GeistSans } from "geist/font/sans"
|
||||||
import { GeistMono } from "geist/font/mono"
|
import { GeistMono } from "geist/font/mono"
|
||||||
import { ThemeProvider } from "../components/theme-provider"
|
import { ThemeProvider } from "../components/theme-provider"
|
||||||
@@ -20,7 +20,13 @@ export const metadata: Metadata = {
|
|||||||
shortcut: "/favicon.ico",
|
shortcut: "/favicon.ico",
|
||||||
apple: [{ url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }],
|
apple: [{ url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }],
|
||||||
},
|
},
|
||||||
viewport: "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no",
|
}
|
||||||
|
|
||||||
|
export const viewport: Viewport = {
|
||||||
|
width: "device-width",
|
||||||
|
initialScale: 1,
|
||||||
|
maximumScale: 1,
|
||||||
|
userScalable: false,
|
||||||
themeColor: [
|
themeColor: [
|
||||||
{ media: "(prefers-color-scheme: light)", color: "#ffffff" },
|
{ media: "(prefers-color-scheme: light)", color: "#ffffff" },
|
||||||
{ media: "(prefers-color-scheme: dark)", color: "#2b2f36" },
|
{ media: "(prefers-color-scheme: dark)", color: "#2b2f36" },
|
||||||
|
|||||||
@@ -492,7 +492,7 @@ export function ProxmoxDashboard() {
|
|||||||
<div
|
<div
|
||||||
className={`sticky z-40 bg-background
|
className={`sticky z-40 bg-background
|
||||||
top-[120px] md:top-[76px]
|
top-[120px] md:top-[76px]
|
||||||
transition-all duration-700 ease-[cubic-bezier(0.4,0,0.2,1)]
|
transition-all duration-700 ease-in-out
|
||||||
${showNavigation ? "translate-y-0 opacity-100" : "-translate-y-[120%] opacity-0 pointer-events-none"}
|
${showNavigation ? "translate-y-0 opacity-100" : "-translate-y-[120%] opacity-0 pointer-events-none"}
|
||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user