@@ -7,6 +7,7 @@ import localFont from 'next/font/local';
7
7
import { JetBrains_Mono } from 'next/font/google' ;
8
8
import { GoogleAnalytics } from '@next/third-parties/google' ;
9
9
import Image from 'next/image' ;
10
+ import nextConfig from '../next.config.mjs' ;
10
11
11
12
import clsx from 'clsx' ;
12
13
@@ -28,14 +29,14 @@ export const metadata: Metadata = {
28
29
twitter : {
29
30
card : 'summary_large_image' ,
30
31
creator : '@ankitthakur00' ,
31
- images : [ '/me/ logo2.png' ] ,
32
+ images : [ ` ${ nextConfig . basePath } / logo2.png` ] ,
32
33
title : 'Ankit Kumar - Software Engineer' ,
33
34
} ,
34
35
openGraph : {
35
36
title : 'Ankit Kumar - Software Engineer' ,
36
37
images : [
37
38
{
38
- url : '/me/ logo2.png' ,
39
+ url : ` ${ nextConfig . basePath } / logo2.png` ,
39
40
width : 1200 ,
40
41
height : 630 ,
41
42
alt : 'Ankit Kumar - Software Engineer' ,
@@ -82,17 +83,15 @@ export default function RootLayout({
82
83
>
83
84
< div className = "max-w-2xl lg:max-w-xl mx-auto" >
84
85
< header className = "pt-8 md:pt-16 pb-16 px-4 md:px-0 flex justify-between" >
85
- < div className = "h-64 w-64" >
86
- < Link href = "/" >
87
- < Image
88
- src = "/me/logo2.png"
89
- alt = "AK"
90
- width = { 64 }
91
- height = { 64 }
92
- className = "w-auto hover:opacity-70 transition-opacity"
93
- />
94
- </ Link >
95
- </ div >
86
+ < Link href = "/" >
87
+ < Image
88
+ src = { `${ nextConfig . basePath } /logo2.png` }
89
+ alt = "AK"
90
+ width = { 64 }
91
+ height = { 64 }
92
+ className = "w-auto hover:opacity-70 transition-opacity"
93
+ />
94
+ </ Link >
96
95
< nav className = "flex gap-4" >
97
96
< Link
98
97
href = "/about"
@@ -122,7 +121,7 @@ export default function RootLayout({
122
121
</ footer >
123
122
</ div >
124
123
< Analytics />
125
- < GoogleAnalytics gaId = "G-NRKQPP7M9P " />
124
+ < GoogleAnalytics gaId = "" />
126
125
</ body >
127
126
</ html >
128
127
) ;
0 commit comments