renamed head.tsx to pwa-head.tsx

This commit is contained in:
corgifist 2025-07-25 19:28:19 +03:00
parent 2f61b56cd2
commit febb8281f6
2 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import ThemeProvider from "./theme-provider";
import Analytics from "./analytics";
import PersistenceProvider from "./persistence-provider";
import { Toaster } from "@/components/ui/sonner";
import Head from "./head";
import PWAHead from "./pwa-head";
const geist = Geist({
variable: "--font-geist",
@ -40,7 +40,8 @@ export default async function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<head>
<Head/>
<meta name="theme-color" content="var(--background)" />
<PWAHead/>
<Analytics/>
</head>
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>

View File

@ -1,4 +1,4 @@
const Head = () => (
const PWAHead = () => (
<>
<meta name="apple-mobile-web-app-title" content="ClipFusion" />
<meta name="apple-mobile-web-app-capable" content="yes" />
@ -45,4 +45,4 @@ const Head = () => (
</>
);
export default Head;
export default PWAHead;