vkorobtsev-nextJs/app/layout.jsx

68 lines
1.6 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-12 09:15:57 +07:00
import Icon from "@/public/img/icon.ico";
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.",
image: Icon,
author: "Alvalens",
keywords:
2023-09-12 09:15:57 +07:00
"alvalens, alvalen, alvalen shafel, shafel, alvalen shafelbilyunazra, alvalen shafel bilyunazra, bloodfallen, alvalen porto",
siteUrl: "https://alvalens.vercel.app",
ico: Icon,
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.",
image: Icon,
siteName: "Alvalens",
},
icons: {
icon: "img/icon.ico",
appleIcon: Icon,
favicon32: Icon,
favicon16: Icon,
},
2023-08-30 19:06:48 +07:00
};
2023-09-03 14:41:19 +07:00
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}
</body>
</html>
);
2023-08-29 16:57:18 +07:00
}