-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpodmatch-badge.tsx
More file actions
81 lines (79 loc) · 1.88 KB
/
podmatch-badge.tsx
File metadata and controls
81 lines (79 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
"use client";
import Image from "next/image";
export default function PodmatchBadge() {
return (
<div style={{ minWidth: 160, maxWidth: 400 }}>
<a
href="https://www.podmatch.com/member/codingcatdev"
style={{ textDecoration: "none", color: "inherit", display: "block" }}
target="_blank"
>
<div
style={{
display: "flex",
alignItems: "center",
padding: 15,
overflow: "hidden",
border: "solid 1px #ccc",
borderRadius: 10,
}}
>
<div
style={{
flexShrink: 0,
marginRight: 15,
padding: 0,
background: "none",
}}
>
<Image
onError={(e) => {
const target = e.target as HTMLImageElement;
target.src = "https://podmatch.com/assets/img/waveform_img.png";
}}
alt="Cover Art"
width={85}
height={85}
style={{ height: 85, width: 85 }}
src="https://img.rephonic.com/artwork/purrfectdev.jpg?width=600&height=600&quality=95"
/>
</div>
<div
style={{
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
textAlign: "left",
}}
>
<span style={{ display: "block", marginBottom: 3 }}>
<Image
src="https://podmatch.com/assets/img/PodMatch_Logo.png"
alt="PodMatch Logo"
width={80}
height={18}
style={{ width: 80 }}
/>
</span>
<span
style={{
display: "block",
fontSize: 16,
fontWeight: 600,
marginBottom: 2,
overflow: "hidden",
textOverflow: "ellipsis",
}}
>
CodingCat.dev Podcast
</span>
<span style={{ display: "block", fontSize: 12, marginBottom: 2 }}>
<u>Become a guest</u> on my podcast
</span>
<span style={{ marginRight: 10, fontSize: 11 }}></span>
</div>
</div>
</a>
</div>
);
}