Skip to content

Commit

Permalink
refactor: change url to adarsha.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshaacharya committed Jun 9, 2024
1 parent cfbeb2e commit b3cc04f
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 15 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# adarshaacharya.com.np
# adarsha.dev

This is my personal website and blog built using:

Expand All @@ -12,8 +12,8 @@ This is my personal website and blog built using:
This application requires Node.js v16.13+.

```bash
git clone https://github.com/adarshaacharya/adarshaacharya.com.np
cd adarshaacharya.com.np
git clone https://github.com/adarshaacharya/adarsha.dev
cd adarsha.dev
pnpm install
pnpm dev
```
Expand All @@ -26,7 +26,7 @@ If you want to use this project code as your own portfolio , you can go ahead. P

## Author

- Website: https://adarshaacharya.com.np/
- Website: https://adarsha.dev/
- X: [@adarsha_ach](https://x.com/adarsha_ach)
- Github: [@adarshaacharya](https://github.com/adarshaacharya)
- LinkedIn: [@adarshaacharya](https://linkedin.com/in/adarshaacharya)
Expand All @@ -37,4 +37,4 @@ Give a ⭐️ if you like the project!

Copyright © 2020 [Aadarsha Acharya](https://github.com/adarshaacharya).<br />

This project is [MIT](https://github.com/adarshaacharya/adarshaacharya.com.np/blob/master/LICENSE) licensed.
This project is [MIT](https://github.com/adarshaacharya/adarsha.dev/blob/master/LICENSE) licensed.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"@types/react": "18.2.33",
"@types/react-dom": "18.2.7",
"autoprefixer": "10.4.15",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"clsx": "^2.0.0",
"contentlayer": "^0.3.4",
"eslint": "8.52.0",
Expand Down
31 changes: 31 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified public/_static/blog-og-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/_static/default-og-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/app/head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export default function Head() {
/>
<link rel="alternate" type="application/rss+xml" href="/feed.xml" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta
name="google-site-verification"
content="br9AjaAyJgS4OVigpXtHmm2DwdzuzMqzpK4G77lD2TY"
/>
</>
);
}
2 changes: 1 addition & 1 deletion src/content/aws-s3-nestjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ Refer the below screenshots to test the API using Postman.


You might seen different response format in the Postman as compared to the screenshot above, as I've formatted response. If you want to
learn how to format the response in NestJS, you can refer to my previous article on [Format Nest.js Response using Interceptors](https://adarshaacharya.com.np/blog/format-nestjs-response).
learn how to format the response in NestJS, you can refer to my previous article on [Format Nest.js Response using Interceptors](https://adarsha.dev/blog/format-nestjs-response).

---

Expand Down
12 changes: 6 additions & 6 deletions src/content/gatsby-social-card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publishedAt: 2020-09-25
type: Blog
---

So, a few months back I was building my [portfolio site](http://adarshaacharya.com.np/) which you are in right now. Almost everything was completed, integrated blog, added some SEO stuff _(although I'm very bad at it).😳_ While I was checking the preview of my site on twitter I noticed that preview wasn't that good — it was just a blank link with some meta-description. I used to think Twitter would automatically generate social cards for my site 🤪.
So, a few months back I was building my [portfolio site](http://adarsha.dev/) which you are in right now. Almost everything was completed, integrated blog, added some SEO stuff _(although I'm very bad at it).😳_ While I was checking the preview of my site on twitter I noticed that preview wasn't that good — it was just a blank link with some meta-description. I used to think Twitter would automatically generate social cards for my site 🤪.

I used to see [dev.to](https://dev.to/) articles shared quite often on social media, which previewed social cards with author name, title, social media links, neat background with focused title.

Expand Down Expand Up @@ -39,7 +39,7 @@ yarn add @jlengstorf/get-share-image
You should also install [react-helmet](https://www.gatsbyjs.com/plugins/gatsby-plugin-react-helmet/#install) as we will be injecting cards as Seo using this plugin.

> We will be using Gatsby site as the example in this project you can use it with CRA or in Next.js site too.
> You can see the the example used in [this site source code](https://github.com/adarshaacharya/adarshaacharya.com.np/blob/master/src/components/Seo/Seo.js) and follow along.
> You can see the the example used in [this site source code](https://github.com/adarshaacharya/adarsha.dev/blob/master/src/components/Seo/Seo.js) and follow along.
---

Expand Down Expand Up @@ -85,7 +85,7 @@ const socialImage = getShareImage({

It will return the URL of website-card from cloudinary for the website pages.

You can modify and add the above properties by checking the [options in the docs](https://github.com/jlengstorf/get-share-image#options) , I've added a bit more in my site [check source code here](https://github.com/adarshaacharya/adarshaacharya.com.np/blob/c229d6341ae76d0c49b5cd6e969640aee44e799c/src/components/Seo/Seo.js#L15).
You can modify and add the above properties by checking the [options in the docs](https://github.com/jlengstorf/get-share-image#options) , I've added a bit more in my site [check source code here](https://github.com/adarshaacharya/adarsha.dev/blob/c229d6341ae76d0c49b5cd6e969640aee44e799c/src/components/Seo/Seo.js#L15).

## Social Card for Blog Post

Expand All @@ -107,10 +107,10 @@ const socialImage = getShareImage({
});
```

You can modify and add the above properties by checking the [options in the docs](https://github.com/jlengstorf/get-share-image#options) , I've added a bit more in my site check [source code here](https://github.com/adarshaacharya/adarshaacharya.com.np/blob/c229d6341ae76d0c49b5cd6e969640aee44e799c/src/components/Seo/Seo.js#L31).
You can modify and add the above properties by checking the [options in the docs](https://github.com/jlengstorf/get-share-image#options) , I've added a bit more in my site check [source code here](https://github.com/adarshaacharya/adarsha.dev/blob/c229d6341ae76d0c49b5cd6e969640aee44e799c/src/components/Seo/Seo.js#L31).

> You have notice two major object properties in above code that's title and tagline. What's that ? 🤔
> These are dynamically generated tags & title for each blog post. Honestly, I've to make new post regarding SEO using Helmet which isn't possible in this post. You can check [source code](https://github.com/adarshaacharya/adarshaacharya.com.np/blob/c229d6341ae76d0c49b5cd6e969640aee44e799c/src/components/Seo/Seo.js) I'm pretty sure you will get it. 🧠
> These are dynamically generated tags & title for each blog post. Honestly, I've to make new post regarding SEO using Helmet which isn't possible in this post. You can check [source code](https://github.com/adarshaacharya/adarsha.dev/blob/c229d6341ae76d0c49b5cd6e969640aee44e799c/src/components/Seo/Seo.js) I'm pretty sure you will get it. 🧠
---

Expand Down Expand Up @@ -169,4 +169,4 @@ Also, learn by reading source code, docs. Check below resources & source code of

- [learnwithjason.dev source code](https://github.com/jlengstorf/learnwithjason.dev)

- [adarshaacharya.com.np source code](https://github.com/adarshaacharya/portfolio-v2)
- [adarsha.dev source code](https://github.com/adarshaacharya/portfolio-v2)
2 changes: 1 addition & 1 deletion src/content/serialize-response-nestjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publishedAt: 2024-04-30


This is the second part of the series where we will learn to transform and serialize api response.
In the previous article I've covered how to make uniform/standard response structure for api response in Nest.js if you haven't checked [you can read here](https://www.adarshaacharya.com.np/blog/format-nestjs-response).
In the previous article I've covered how to make uniform/standard response structure for api response in Nest.js if you haven't checked [you can read here](https://www.adarsha.dev/blog/format-nestjs-response).


Final outcome was like this:
Expand Down
4 changes: 2 additions & 2 deletions src/data/siteMetadata.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export const siteMetadata = {
title: "Aadarsha Acharya",
author: "Aadarsha Acharya",
siteUrl: "https://adarshaacharya.com.np",
siteUrl: "https://adarsha.dev",
socialBanner: "/_static/default-og-card.png",
description:
"Aadarsha Acharya - Fullstack developer passionate about creating and sharing things on internet",
keywords: [
`Aadarsha Acharya, Aadarsha, Acharya, adarshaacharya, Adarsha Acharya, Adarsha, Acharya, adarshaacharya.com.np`,
`Aadarsha Acharya, Aadarsha, Acharya, adarshaacharya, Adarsha Acharya, Adarsha, Acharya, adarsha.dev`,
],
social: {
email: "adarshaofficial@gmail.com",
Expand Down

0 comments on commit b3cc04f

Please sign in to comment.