2023-09-03 14:41:19 +07:00
|
|
|
import dynamic from "next/dynamic";
|
2023-08-30 19:06:48 +07:00
|
|
|
import "./globals.css";
|
|
|
|
|
import Navbar from "@/components/Navbar";
|
2023-09-03 14:41:19 +07:00
|
|
|
import { config } from "@fortawesome/fontawesome-svg-core";
|
|
|
|
|
import "@fortawesome/fontawesome-svg-core/styles.css";
|
|
|
|
|
config.autoAddCss = false;
|
2023-09-29 13:24:48 +07:00
|
|
|
import Img from "@/public/og-image.png"
|
2023-09-03 13:23:39 +07:00
|
|
|
import "./nprogress.css";
|
2023-09-05 21:39:08 +07:00
|
|
|
|
2023-08-29 16:57:18 +07:00
|
|
|
export const metadata = {
|
2023-09-03 20:26:08 +07:00
|
|
|
title: "Alvalens | Portofolio",
|
2023-09-05 21:39:08 +07:00
|
|
|
description:
|
|
|
|
|
"My name is Alvalens, I'm a web developer and I'm passionate about it. I'm currently studying at Universitas Negeri Malang.",
|
|
|
|
|
author: "Alvalens",
|
2023-09-21 08:48:57 +07:00
|
|
|
siteUrl: "https://www.alvalens.my.id",
|
2023-09-12 09:15:57 +07:00
|
|
|
applicationName: "Alvalens",
|
|
|
|
|
keywords: [
|
|
|
|
|
"alvalens",
|
|
|
|
|
"alvalen",
|
|
|
|
|
"alvalen shafel",
|
|
|
|
|
"shafel",
|
|
|
|
|
"alvalen shafelbilyunazra",
|
|
|
|
|
"alvalen shafel bilyunazra",
|
|
|
|
|
"bloodfallen",
|
|
|
|
|
"alvalen porto",
|
|
|
|
|
"alvalen um",
|
|
|
|
|
],
|
|
|
|
|
author: "Alvalen Shafelbilyunazra",
|
|
|
|
|
authorDescription: "I'm a web developer and I'm passionate about it.",
|
|
|
|
|
openGraph: {
|
|
|
|
|
type: "website",
|
|
|
|
|
url: "https://www.alvalens.my.id",
|
|
|
|
|
title: "Alvalens | Portofolio",
|
|
|
|
|
description: "My name is Alvalens, This is my portofolio website.",
|
2023-09-29 13:24:48 +07:00
|
|
|
images: "/og-image.png",
|
2023-09-21 08:48:57 +07:00
|
|
|
siteName: "Alvalens | Portofolio",
|
2023-09-12 09:15:57 +07:00
|
|
|
},
|
2023-09-29 13:24:48 +07:00
|
|
|
// for whataspp
|
|
|
|
|
whatsapp: {
|
|
|
|
|
title: "Alvalens | Portofolio",
|
|
|
|
|
description: "My name is Alvalens, This is my portofolio website.",
|
|
|
|
|
images: "/og-image.png",
|
|
|
|
|
},
|
2023-09-21 18:05:59 +07:00
|
|
|
alternates: {
|
|
|
|
|
canoncial: "https://www.alvalens.my.id",
|
|
|
|
|
},
|
2023-08-30 19:06:48 +07:00
|
|
|
};
|
2023-09-03 14:41:19 +07:00
|
|
|
|
2023-09-29 10:21:02 +07:00
|
|
|
import Chat from "@/components/Chat";
|
|
|
|
|
|
2023-09-05 21:55:57 +07:00
|
|
|
const TopProgressBar = dynamic(() => import("@/components/TopProgressbar"), {
|
2023-09-03 14:41:19 +07:00
|
|
|
ssr: false,
|
|
|
|
|
});
|
|
|
|
|
|
2023-09-12 09:15:57 +07:00
|
|
|
|
2023-09-03 14:41:19 +07:00
|
|
|
|
2023-09-05 21:39:08 +07:00
|
|
|
export default function RootLayout({ children }) {
|
2023-08-30 19:06:48 +07:00
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body>
|
2023-09-05 21:39:08 +07:00
|
|
|
|
2023-09-03 13:23:39 +07:00
|
|
|
<TopProgressBar />
|
2023-08-30 19:06:48 +07:00
|
|
|
<Navbar />
|
|
|
|
|
{children}
|
2023-09-29 10:21:02 +07:00
|
|
|
<Chat />
|
2023-08-30 19:06:48 +07:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
2023-08-29 16:57:18 +07:00
|
|
|
}
|