62 lines
1.8 KiB
TypeScript
62 lines
1.8 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import { Providers } from "@/components/Providers";
|
|
import { Header } from "@/components/Header";
|
|
import { EcosystemFooter } from "@/components/EcosystemFooter";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "rSocials - Community Social Media Management",
|
|
description:
|
|
"Self-hosted social media scheduling and management for communities. Powered by Postiz. Schedule posts, manage multiple platforms, and collaborate with your team — all under your control.",
|
|
icons: {
|
|
icon: "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>📢</text></svg>",
|
|
},
|
|
keywords: [
|
|
"social media",
|
|
"scheduling",
|
|
"postiz",
|
|
"self-hosted",
|
|
"community",
|
|
"management",
|
|
"rSpace",
|
|
"open source",
|
|
"social media management",
|
|
"community social",
|
|
"cross-posting",
|
|
],
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<head>
|
|
<script defer src="https://rdata.online/collect.js" data-website-id="9db30240-483f-4289-ae93-8e0cb943f795" />
|
|
</head>
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased min-h-screen bg-background`}
|
|
>
|
|
<Providers>
|
|
<Header current="socials" />
|
|
<main className="container mx-auto px-4 py-8">{children}</main>
|
|
<EcosystemFooter current="rSocials" />
|
|
</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|