Merge version_2 into main #4

Merged
bender merged 2 commits from version_2 into main 2026-03-04 16:32:05 +00:00
2 changed files with 12 additions and 39 deletions

View File

@@ -1,52 +1,23 @@
import type { Metadata } from "next";
import { Mulish } from "next/font/google";
import { Inter } from "next/font/google";
import { Poppins } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const mulish = Mulish({
variable: "--font-mulish", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const poppins = Poppins({
subsets: ["latin"],
weight: ["400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Knowledge Nexus - Space & Science YouTube Videos", description: "Explore cosmic discoveries, space science, and astronomy through engaging video content. Watch free educational videos about the universe, black holes, exoplanets, and more.", keywords: "space, astronomy, science, education, YouTube, cosmos, universe, physics, space exploration", metadataBase: new URL("https://knowledge-nexus.example.com"),
alternates: {
canonical: "https://knowledge-nexus.example.com"},
openGraph: {
title: "Knowledge Nexus - Discover the Universe", description: "Your gateway to space science education and cosmic exploration", url: "https://knowledge-nexus.example.com", siteName: "Knowledge Nexus", type: "website", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AUKDSiOEnxOIzk85jZkOD4NozZ/a-stunning-cosmic-scene-with-planets-neb-1772641648038-503991e6.png", alt: "Knowledge Nexus cosmic banner"},
],
},
twitter: {
card: "summary_large_image", title: "Knowledge Nexus - Explore Space & Science", description: "Watch free educational videos about the universe, cosmology, and scientific discovery", images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AUKDSiOEnxOIzk85jZkOD4NozZ/a-stunning-cosmic-scene-with-planets-neb-1772641648038-503991e6.png"],
},
robots: {
index: true,
follow: true,
},
};
title: "Knowledge Nexus - Space & Science Education", description: "Explore the cosmos through science and space education. Discover universe mysteries, cutting-edge discoveries, and cosmic phenomena through immersive content."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${mulish.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={poppins.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1414,7 +1385,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}

View File

@@ -84,6 +84,9 @@ export default function LandingPage() {
textboxLayout="default"
animationType="slide-up"
useInvertedBackground={true}
buttons={[
{ text: "View All Videos", href: "#videos" }
]}
ariaLabel="Video collection section"
/>
</div>