1
1
---
2
- const title = ' Aditya Bhattacharya | Portfolio Website'
3
- const description =
4
- ' Portfolio website for Aditya Bhattacharya, a software developer and UI/UX Designer'
5
2
type Props = {
6
3
previewImage: string | ' /hero-preview.png'
7
4
url: string | ' https://adityabh.is-a.dev'
5
+ title? : string
6
+ description? : string
8
7
}
9
- const { previewImage, url } = Astro .props
8
+ const { previewImage, url, title, description } = Astro .props
10
9
---
11
10
12
11
<meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
@@ -22,18 +21,31 @@ const { previewImage, url } = Astro.props
22
21
<meta name =" language" content =" English" />
23
22
<meta name =" author" content =" Aditya Bhattacharya" />
24
23
25
- { /* Open Graph tags */ }
24
+ <!-- Open Graph Tags -->
26
25
<meta property =" og:type" content =" website" />
27
26
<meta property =" og:url" content ={ url } />
28
27
<meta property =" og:title" content ={ title } />
29
28
<meta property =" og:description" content ={ description } />
30
29
<meta property =" og:image" content ={ previewImage } />
31
30
32
- { /* twitter specific */ }
31
+ <!-- Twitter specific -->
33
32
<meta property =" twitter:card" content =" summary_large_image" />
34
33
<meta property =" twitter:url" content ={ url } />
35
34
<meta property =" twitter:title" content ={ title } />
36
35
<meta property =" twitter:description" content ={ description } />
37
36
<meta property =" twitter:image" content ={ previewImage } />
38
37
39
38
<link rel =" shortcut icon" href =" /favicon.svg" type =" image/x-icon" />
39
+
40
+ <!-- Privacy-friendly Analytics -->
41
+ <script
42
+ async
43
+ src =" https://cdn.splitbee.io/sb.js"
44
+ type =" text/partytown"
45
+ is:inline ></script >
46
+ <script
47
+ src =" https://beamanalytics.b-cdn.net/beam.min.js"
48
+ data-token =" a24be98c-ce23-46dc-93d4-d67b6ca7118d"
49
+ async
50
+ type =" text/partytown"
51
+ is:inline ></script >
0 commit comments