|
1 | 1 | --- |
2 | | -import LinkButton from "./LinkButton.astro"; |
3 | | -import socialIcons from "@assets/socialIcons"; |
| 2 | +//import LinkButton from "./LinkButton.astro"; |
| 3 | +//import socialIcons from "@assets/socialIcons"; |
4 | 4 |
|
5 | | -const URL = Astro.url; |
| 5 | +//const URL = Astro.url; |
6 | 6 |
|
7 | | -const shareLinks = [ |
8 | | - { |
9 | | - name: "WhatsApp", |
10 | | - href: "https://wa.me/?text=", |
11 | | - linkTitle: `Share this post via WhatsApp`, |
12 | | - }, |
13 | | - { |
14 | | - name: "Facebook", |
15 | | - href: "https://www.facebook.com/sharer.php?u=", |
16 | | - linkTitle: `Share this post on Facebook`, |
17 | | - }, |
18 | | - { |
19 | | - name: "Twitter", |
20 | | - href: "https://twitter.com/intent/tweet?url=", |
21 | | - linkTitle: `Tweet this post`, |
22 | | - }, |
23 | | - { |
24 | | - name: "Telegram", |
25 | | - href: "https://t.me/share/url?url=", |
26 | | - linkTitle: `Share this post via Telegram`, |
27 | | - }, |
28 | | - { |
29 | | - name: "Pinterest", |
30 | | - href: "https://pinterest.com/pin/create/button/?url=", |
31 | | - linkTitle: `Share this post on Pinterest`, |
32 | | - }, |
33 | | - { |
34 | | - name: "Mail", |
35 | | - href: "mailto:?subject=See%20this%20post&body=", |
36 | | - linkTitle: `Share this post via email`, |
37 | | - }, |
38 | | -] as const; |
| 7 | +// const shareLinks = [ |
| 8 | +// { |
| 9 | +// name: "WhatsApp", |
| 10 | +// href: "https://wa.me/?text=", |
| 11 | +// linkTitle: `Share this post via WhatsApp`, |
| 12 | +// }, |
| 13 | +// { |
| 14 | +// name: "Facebook", |
| 15 | +// href: "https://www.facebook.com/sharer.php?u=", |
| 16 | +// linkTitle: `Share this post on Facebook`, |
| 17 | +// }, |
| 18 | +// { |
| 19 | +// name: "Twitter", |
| 20 | +// href: "https://twitter.com/intent/tweet?url=", |
| 21 | +// linkTitle: `Tweet this post`, |
| 22 | +// }, |
| 23 | +// { |
| 24 | +// name: "Telegram", |
| 25 | +// href: "https://t.me/share/url?url=", |
| 26 | +// linkTitle: `Share this post via Telegram`, |
| 27 | +// }, |
| 28 | +// { |
| 29 | +// name: "Pinterest", |
| 30 | +// href: "https://pinterest.com/pin/create/button/?url=", |
| 31 | +// linkTitle: `Share this post on Pinterest`, |
| 32 | +// }, |
| 33 | +// { |
| 34 | +// name: "Mail", |
| 35 | +// href: "mailto:?subject=See%20this%20post&body=", |
| 36 | +// linkTitle: `Share this post via email`, |
| 37 | +// }, |
| 38 | +// ] as const; |
39 | 39 | --- |
40 | 40 |
|
41 | 41 | <div class={`social-icons`}> |
|
0 commit comments