Skip to content

Commit a50a6aa

Browse files
committed
fix: put details for metadata into config.ts
1 parent eeb0942 commit a50a6aa

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

site/src/app/config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export const detailsForMetadata = {
2+
baseUrl: "https://steadyfall.github.io/",
3+
title: "Himank Dave",
4+
name: "Himank Dave",
5+
ogImage: "/icon.ico",
6+
description: "A sleek, minimalistic and dynamic personal website built with React, TailwindCSS, Next.js and Framer Motion."
7+
};

site/src/app/layout.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
22
import { Inter, Space_Mono } from 'next/font/google'
33
import { Providers } from './providers'
44
import "./globals.css";
5+
import { detailsForMetadata } from "./config";
56

67
const inter = Inter({ subsets: ['latin'] })
78
const spaceMono = Space_Mono({
@@ -10,15 +11,6 @@ const spaceMono = Space_Mono({
1011
variable: '--font-spaceMono'
1112
})
1213

13-
export const detailsForMetadata = {
14-
baseUrl: "https://steadyfall.github.io/",
15-
title: "Himank Dave",
16-
name: "Himank Dave",
17-
ogImage: "/icon.ico",
18-
description:
19-
"A sleek, minimalistic and dynamic personal website built with React, TailwindCSS, Next.js and Framer Motion."
20-
};
21-
2214
export const metadata: Metadata = {
2315
metadataBase: new URL(detailsForMetadata.baseUrl),
2416
title: {

0 commit comments

Comments
 (0)