5 Commits

Author SHA1 Message Date
e098e0ee54 Update src/app/page.tsx 2026-03-05 18:09:37 +00:00
a94f3607a8 Update src/app/layout.tsx 2026-03-05 18:09:37 +00:00
29278dff55 Merge version_1 into main
Merge version_1 into main
2026-03-05 18:08:11 +00:00
1d5e3817c8 Merge version_1 into main
Merge version_1 into main
2026-03-05 18:07:21 +00:00
c8318b171d Merge version_1 into main
Merge version_1 into main
2026-03-05 18:06:12 +00:00
2 changed files with 7 additions and 37 deletions

View File

@@ -1,49 +1,20 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google"; import { Inter } from "next/font/google";
import { Source_Sans_3 } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({ const inter = Inter({ subsets: ["latin"] });
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"],
});
export const metadata: Metadata = { 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: { title: "Anon Chat - Anonymous One-Time Messaging", description: "Share a unique code, exchange one message, stay anonymous. No sign-ups, no traces."};
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."},
};
export default function RootLayout({ export default function RootLayout({
children, children,
}: Readonly<{ }: {
children: React.ReactNode; children: React.ReactNode;
}>) { }) {
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en">
<ServiceWrapper> <body className={inter.className}>{children}
<body
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
>
<Tag />
{children}
<script <script
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `
@@ -1411,7 +1382,6 @@ export default function RootLayout({
}} }}
/> />
</body> </body>
</ServiceWrapper>
</html> </html>
); );
} }

View File

@@ -52,7 +52,7 @@ export default function LandingPage() {
imagePosition="right" imagePosition="right"
mediaAnimation="slide-up" mediaAnimation="slide-up"
buttons={[ buttons={[
{ text: "Start Chatting", href: "#contact" }, { text: "Generate Free Code", href: "#contact" },
{ text: "Learn More", href: "#how-it-works" }, { text: "Learn More", href: "#how-it-works" },
]} ]}
buttonAnimation="slide-up" buttonAnimation="slide-up"