Merge version_2 into main #4
@@ -1,49 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Source_Sans_3 } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const sourceSans3 = Source_Sans_3({
|
||||
variable: "--font-source-sans-3", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Anon Chat - Anonymous One-Time Messaging", description: "Share a code, send one message, stay anonymous. No sign-ups, no data collection. Pure private communication.", keywords: "anonymous messaging, one-time chat, privacy, secure communication, anonymous conversation", robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
title: "Anon Chat - Anonymous One-Time Messaging", description: "Share a code, send one message, stay anonymous. No sign-ups, no data collection.", url: "https://anonchat.app", siteName: "Anon Chat", type: "website"},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Anon Chat - Anonymous One-Time Messaging", description: "Share a code, send one message, stay anonymous."},
|
||||
};
|
||||
title: "Anon Chat - Anonymous One-Time Messaging", description: "Share a unique code, exchange one message, stay anonymous. No sign-ups, no traces."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1411,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ export default function LandingPage() {
|
||||
imagePosition="right"
|
||||
mediaAnimation="slide-up"
|
||||
buttons={[
|
||||
{ text: "Start Chatting", href: "#contact" },
|
||||
{ text: "Generate Free Code", href: "#contact" },
|
||||
{ text: "Learn More", href: "#how-it-works" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
|
||||
Reference in New Issue
Block a user