mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-05 18:15:08 +00:00
renamed head.tsx to pwa-head.tsx
This commit is contained in:
parent
2f61b56cd2
commit
febb8281f6
@ -8,7 +8,7 @@ import ThemeProvider from "./theme-provider";
|
|||||||
import Analytics from "./analytics";
|
import Analytics from "./analytics";
|
||||||
import PersistenceProvider from "./persistence-provider";
|
import PersistenceProvider from "./persistence-provider";
|
||||||
import { Toaster } from "@/components/ui/sonner";
|
import { Toaster } from "@/components/ui/sonner";
|
||||||
import Head from "./head";
|
import PWAHead from "./pwa-head";
|
||||||
|
|
||||||
const geist = Geist({
|
const geist = Geist({
|
||||||
variable: "--font-geist",
|
variable: "--font-geist",
|
||||||
@ -40,7 +40,8 @@ export default async function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<head>
|
<head>
|
||||||
<Head/>
|
<meta name="theme-color" content="var(--background)" />
|
||||||
|
<PWAHead/>
|
||||||
<Analytics/>
|
<Analytics/>
|
||||||
</head>
|
</head>
|
||||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
const Head = () => (
|
const PWAHead = () => (
|
||||||
<>
|
<>
|
||||||
<meta name="apple-mobile-web-app-title" content="ClipFusion" />
|
<meta name="apple-mobile-web-app-title" content="ClipFusion" />
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
@ -45,4 +45,4 @@ const Head = () => (
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default Head;
|
export default PWAHead;
|
Loading…
Reference in New Issue
Block a user