8000 Updated files · codewithdev/codewithdev-vercel@335c9f3 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 335c9f3

Browse files
Dev Prakash SharmaDev Prakash Sharma
authored andcommitted
Updated files
1 parent 5f86c0b commit 335c9f3

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

components/Container.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export default function Container(props) {
5151
<title>{meta.title}</title>
5252
<meta name="robots" content="follow, index" />
5353
<meta content={meta.description} name="description" />
54-
<meta property="og:url" content={`https://codewithdev.github.io${router.asPath}`} />
55-
<link rel="canonical" href={`https://codewithdev.github.io${router.asPath}`} />
54+
<meta property="og:url" content={`https://codewithdev.vercel.app${router.asPath}`} />
55+
<link rel="canonical" href={`https://codewithdev.vercel.app${router.asPath}`} />
5656
<meta property="og:type" content={meta.type} />
5757
<meta property="og:site_name" content="Dev Prakash Sharma" />
5858
<meta property="og:description" content={meta.description} />

layouts/blog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function BlogLayout({
5555
<div className="text-sm text-gray-700 dark:text-gray-300">
5656
<a
5757
href={`https://mobile.twitter.com/search?q=${encodeURIComponent(
58-
`https://codewithdev.github.io/blog/${post.slug}`
58+
`https://codewithdev.vercel.app/blog/${post.slug}`
5959
)}`}
6060
target="_blank"
6161
rel="noopener noreferrer"

pages/about.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export default function About() {
2323
</li>
2424
<li>
2525
Website:{' '}
26-
<Link href="https://codewithdev.github.io">
27-
<a>https://codewithdev.github.io</a>
26+
<Link href="https://codewithdev.vercel.app">
27+
<a>https://codewithdev.vercel.app</a>
2828
</Link>
2929
</li>
3030
<li>

pages/feed.xml.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import { indexQuery } from 'lib/queries';
55
export async function getServerSideProps({ res }) {
66
const feed = new RSS({
77
title: 'Dev Prakash Sharma',
8-
site_url: 'https://codewithdev.github.io',
9-
feed_url: 'https://codewithdev.github.io/feed.xml'
8+
site_url: 'https://codewithdev.vercel.app',
9+
feed_url: 'https://codewithdev.vercel.app/feed.xml'
1010
});
1111

1212
const allPosts = await sanityClient.fetch(indexQuery);
1313
allPosts.map((post) => {
1414
feed.item({
1515
title: post.title,
16-
url: `https://codewithdev.github.io/blog/${post.slug}`,
16+
url: `https://codewithdev.vercel.app/blog/${post.slug}`,
1717
date: post.date,
1818
description: post.excerpt
1919
});

pages/sitemap.xml.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const createSitemap = (slugs) => `<?xml version="1.0" encoding="UTF-8"?>
77
.map((slug) => {
88
return `
99
<url>
10-
<loc>${`https://codewithdev.github.io/${slug}`}</loc>
10+
<loc>${`https://codewithdev.vercel.app/${slug}`}</loc>
1111
</url>
1212
`;
1313
})

public/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
User-agent: *
2-
Sitemap: https://codewithdev.github.io/sitemap.xml
2+
Sitemap: https://https://codewithdev.vercel.app/sitemap.xml

0 commit comments

Comments
 (0)
0