47 lines
1.8 KiB
TypeScript
47 lines
1.8 KiB
TypeScript
// General imports
|
|
import { Metadata } from "next";
|
|
import GeneralLayout from "../layouts/general_layout/GeneralLayout";
|
|
|
|
// Styles imports
|
|
import "../styles/main.css";
|
|
import "../styles/tw_main.css";
|
|
|
|
// Metadata
|
|
export const metadata: Metadata = {
|
|
title: "Homepage",
|
|
description: "Software engineer, UI/UX designer, Full Stack Web Developer, Web/graphic/motion designer, React Developer, Next JS developer, Node JS developer, Javascript Developer, Linux Ubuntu, DevOps, Nginx, MySQL developer, Freelancer",
|
|
keywords: "UI/UX designer, Full Stack Web Developer, Web/graphic/motion designer, React Developer, NextJS developer, Node JS developer, Javascript Developer, Linux Ubuntu, DevOps, Nginx, MySQL developer, Freelancer",
|
|
};
|
|
|
|
// Main Layout Component
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
{/* <script
|
|
defer
|
|
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"
|
|
></script>
|
|
<script
|
|
defer
|
|
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"
|
|
></script>
|
|
<script
|
|
defer
|
|
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/TextPlugin.min.js"
|
|
></script> */}
|
|
|
|
<script src="https://cdn.jsdelivr.net/gh/studio-freight/lenis@1/bundled/lenis.min.js"></script>
|
|
|
|
<script
|
|
src="/scripts/main.js"
|
|
defer
|
|
></script>
|
|
</head>
|
|
<body>
|
|
<GeneralLayout>{children}</GeneralLayout>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|