Initial commit 🌟

This commit is contained in:
Mohammed Al-yaseen
2025-04-06 20:03:35 +03:00
commit fbd966a3fd
34 changed files with 5884 additions and 0 deletions

49
src/app/layout.tsx Normal file
View File

@@ -0,0 +1,49 @@
// src/app/layout.tsx
import { ConfigProvider } from "antd";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import Header from "./components/Header/Header";
import "./globals.css";
import { themeConfig } from "./theme/themeConfig";
// Modern font (Inter + Orbitron backup)
const inter = Inter({ subsets: ["latin"] });
const orbitron = {
className: "font-orbitron",
style:
"@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');",
};
export const metadata: Metadata = {
title: "Tech Master | Dubai To Stars",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<head>
{/* ThreeJS CDN */}
<script
src="http://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"
async
></script>
<script
src="http://threejs.org/examples/js/libs/stats.min.js"
async
></script>
{/* Orbitron Font */}
<style>{orbitron.style}</style>
</head>
<body
className={`${inter.className} bg-gradient-to-br from-[#0F0525] to-[#2A0B45]`}
>
<Header />
<ConfigProvider theme={themeConfig}>{children}</ConfigProvider>
</body>
</html>
);
}