-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgithub.astro
More file actions
59 lines (55 loc) · 1.5 KB
/
github.astro
File metadata and controls
59 lines (55 loc) · 1.5 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
---
type Props = {
title: string;
width?: number | string;
height?: number | string;
};
const { title, width, height, class: className } = Astro.props;
---
<span class:list={[className, "icon-wrapper"]}>
<svg
class="icon"
id="github-icon"
aria-hidden="true"
focusable="false"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 32 32"
width={width || "1.5rem"}
height={height || "1.75rem"}
>
<defs>
<style>
.github-icon-cls-1 {
fill-rule: evenodd;
}
.github-icon-cls-2 {
fill: none;
}
</style>
</defs>
<title>{title}</title>
<path
class="github-icon-cls-1"
d="M16,2a14,14,0,0,0-4.43,27.28c.7.13,1-.3,1-.67s0-1.21,0-2.38c-3.89.84-4.71-1.88-4.71-1.88A3.71,3.71,0,0,0,6.24,22.3c-1.27-.86.1-.85.1-.85A2.94,2.94,0,0,1,8.48,22.9a3,3,0,0,0,4.08,1.16,2.93,2.93,0,0,1,.88-1.87c-3.1-.36-6.37-1.56-6.37-6.92a5.4,5.4,0,0,1,1.44-3.76,5,5,0,0,1,.14-3.7s1.17-.38,3.85,1.43a13.3,13.3,0,0,1,7,0c2.67-1.81,3.84-1.43,3.84-1.43a5,5,0,0,1,.14,3.7,5.4,5.4,0,0,1,1.44,3.76c0,5.38-3.27,6.56-6.39,6.91a3.33,3.33,0,0,1,.95,2.59c0,1.87,0,3.38,0,3.84s.25.81,1,.67A14,14,0,0,0,16,2Z"
>
</path>
<rect
id="_Transparent_Rectangle_"
data-name="<Transparent Rectangle>"
class="github-icon-cls-2"
width="32"
height="32"
>
</rect>
</svg>
</span>
<style>
.icon-wrapper {
display: inline-block;
}
.icon {
display: block;
fill: currentColor;
}
</style>