Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushik17tripathi committed Aug 11, 2024
1 parent 3409912 commit 17f407b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 37 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Nikhil Kadam
Copyright (c) 2023 Kaushik Tripathi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
45 changes: 9 additions & 36 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,25 @@ import { Html, Head, Main, NextScript } from "next/document";

export const metadata = {
charset: "utf-8",
title: "Nikhil Kadam - Portfolio",
title: "Kaushik Tripathi - Portfolio",
description:
"A website about Nikhil Kadam, full stack developer, open source enthusiast, and tech creator.",
"A website about Kaushik Tripathi, full stack developer, open source enthusiast, and tech creator.",
keywords:
"Nikhil Kadam, Full Stack Developer, Open Source, Tech Creator, Nashik, Maharashtra, India",
author: "Nikhil Kadam",
"Kaushik Tripathi, Full Stack Developer, Open Source, Tech Creator, Nashik, Maharashtra, India",
author: "Kaushik Tripathi",
openGraph: {
url: "https://raw.githubusercontent.com/Nick-h4ck3r/portfolio-nextjs-latest/master/public/screenshots/portfolio/heroDemo.png",
title: "Nikhil Kadam - Portfolio",
title: "Kaushik Tripathi - Portfolio",
description:
"A website about Nikhil Kadam, full stack developer, open source enthusiast, and tech creator.",
siteName: "Nikhil Kadam - Portfolio",
images: [
{
url: "https://raw.githubusercontent.com/Nick-h4ck3r/portfolio-nextjs-latest/master/public/screenshots/portfolio/heroDemo.png",
width: 800,
height: 600,
},
],
"A website about Kaushik Tripathi, full stack developer, open source enthusiast, and tech creator.",
siteName: "Kaushik Tripathi - Portfolio",
locale: "en-US",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Nikhil Kadam - Portfolio",
title: "Kaushik Tripathi - Portfolio",
description:
"A website about Nikhil Kadam, full stack developer, open source enthusiast, and tech creator.",
images: [
{
url: "https://raw.githubusercontent.com/Nick-h4ck3r/portfolio-nextjs-latest/master/public/screenshots/portfolio/heroDemo.png",
width: 800,
height: 600,
},
],
"A website about Kaushik Tripathi, full stack developer, open source enthusiast, and tech creator.",
},
};

Expand Down Expand Up @@ -63,10 +48,6 @@ export default function Document() {
name="author"
content={metadata.author}
/>
<meta
property="og:url"
content={metadata.openGraph.url}
/>
<meta
property="og:title"
content={metadata.openGraph.title}
Expand All @@ -75,10 +56,6 @@ export default function Document() {
property="og:description"
content={metadata.openGraph.description}
/>
<meta
property="og:image"
content={metadata.openGraph.images[0].url}
/>
<meta
property="og:type"
content={metadata.openGraph.type}
Expand All @@ -99,10 +76,6 @@ export default function Document() {
name="twitter:description"
content={metadata.twitter.description}
/>
<meta
name="twitter:image"
content={metadata.twitter.images[0].url}
/>
</Head>
<body>
<Main />
Expand Down

0 comments on commit 17f407b

Please sign in to comment.