vkorobtsev-nextJs/app/layout.jsx

68 lines
1.5 KiB
React
Raw Normal View History

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-03 13:23:39 +07:00
import "./nprogress.css";
2023-10-03 14:03:35 +07:00
import { Analytics } from "@vercel/analytics/react";
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.",
2023-09-29 13:30:28 +07:00
author: "Alvalen Shafelbilyunazra",
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",
],
openGraph: {
type: "website",
url: "https://www.alvalens.my.id",
title: "Alvalens | Portofolio",
2024-08-30 13:57:58 +07:00
site_name: "Alvalens | Portofolio",
2023-09-12 09:15:57 +07:00
description: "My name is Alvalens, This is my portofolio website.",
2023-10-06 13:35:55 +07:00
width: 1200,
height: 630,
2023-09-29 13:30:28 +07:00
images: [
{
2023-10-06 13:35:55 +07:00
url: "/og-image-rev.png",
2023-09-29 13:30:28 +07:00
alt: "Alvalens Portofolio",
},
],
site_name: "Alvalens | Portofolio",
2023-09-12 09:15:57 +07:00
},
2023-08-30 19:06:48 +07:00
};
2023-09-03 14:41:19 +07:00
2023-09-29 13:30:28 +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-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-10-03 14:03:35 +07:00
<Analytics />
2023-08-30 19:06:48 +07:00
</body>
</html>
);
2023-08-29 16:57:18 +07:00
}