From 50ab93f91dc1163a197c94df7be13f18db69a278 Mon Sep 17 00:00:00 2001 From: MILAN88888 Date: Fri, 8 Sep 2023 22:41:24 +0545 Subject: [PATCH] Modified - Meta data --- components/AppMetaData.tsx | 98 +++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/components/AppMetaData.tsx b/components/AppMetaData.tsx index ac0b61e..d7183b6 100644 --- a/components/AppMetaData.tsx +++ b/components/AppMetaData.tsx @@ -1,51 +1,53 @@ -const author = "Milan Kumar Chaudhary"; +export const author = "Milan Chaudhary"; const description = - "Software developer from Nepal, Republic of, who loves to develop beautiful websites, single page applications, customer relationship management, Web developement, PHP web application, Laravel application, wordpress site or code from scratch using React and Next.js"; + "Software developer from Nepal, Republic of, who loves to develop beautiful websites, single page applications, customer relationship management, Web developement, PHP web application, Laravel application, wordpress site or code from scratch using React and Next.js"; +import type { Metadata } from "next"; + const url = "https://milanc.netlify.app"; -export const AppMetadata = { - metadataBase: new URL("https://milanc.netlify.app/"), - title: { - default: `Portfolio | ${author}`, - template: `%s | ${author}` - }, - description: description, - icons: { - icon: "/favicon.png" - }, - keywords: [ - "Milan Kumar Chaudhary", - "Milan Chaudhary", - "Milan Chaudhary - software developer", - "Backend developer", - "PHP developer", - "Wordpress developer", - "Laravel developer", - "Portfolio website", - "Frontend Developer Portfolio" - ], - creator: author, - authors: [{ name: author, url: url }], - colorScheme: "dark", - openGraph: { - title: `${author} | Portfolio`, - description: description, - url: url, - siteName: `${author} | Portfolio`, - images: [ - { - url: "https://milanc.netlify.app/screenshot.webp", - width: 800, - height: 600, - alt: "My personal portfolio website" - }, - { - url: "https://milanc.netlify.app/screenshot.webp", - width: 1800, - height: 1600, - alt: "My personal portfolio website" - } - ], - locale: "en-US", - type: "website" - } +export const AppMetaData: Metadata = { + metadataBase: new URL("https://milanc.netlify.app/"), + title: { + default: `Portfolio | ${author}`, + template: `%s | ${author}` + }, + description: description, + icons: { + icon: "/favicon.png" + }, + keywords: [ + "Milan Kumar Chaudhary", + "Milan Chaudhary", + "Milan Chaudhary - software developer", + "Backend developer", + "PHP developer", + "Wordpress developer", + "Laravel developer", + "Portfolio website", + "Frontend Developer Portfolio" + ], + creator: author, + authors: [{ name: author, url: url }], + colorScheme: "dark", + openGraph: { + title: `${author} | Portfolio`, + description: description, + url: url, + siteName: `${author} | Portfolio`, + images: [ + { + url: "https://milanc.netlify.app/screenshot.webp", + width: 800, + height: 600, + alt: "My personal portfolio website" + }, + { + url: "https://milanc.netlify.app/screenshot.webp", + width: 1800, + height: 1600, + alt: "My personal portfolio website" + } + ], + locale: "en-US", + type: "website" + } };