-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathPythonLogo.astro
More file actions
37 lines (35 loc) · 2.02 KB
/
PythonLogo.astro
File metadata and controls
37 lines (35 loc) · 2.02 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
---
interface Props {
class?: string;
width?: number | string;
height?: number | string;
}
const { class: className, width = 32, height = 32 } = Astro.props;
---
<svg
width={width}
height={height}
viewBox="0 0 118 120"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
class={className}
>
<defs>
<linearGradient id="pyBlue" x1="26.65" y1="20.6" x2="135.67" y2="114.4" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.5625,0,0,0.568,-9.4,-5.3)">
<stop offset="0" stop-color="#5A9FD4" />
<stop offset="1" stop-color="#306998" />
</linearGradient>
<linearGradient id="pyYellow" x1="150.96" y1="192.35" x2="112.03" y2="137.27" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.5625,0,0,0.568,-9.4,-5.3)">
<stop offset="0" stop-color="#FFD43B" />
<stop offset="1" stop-color="#FFE873" />
</linearGradient>
</defs>
<path
fill="url(#pyBlue)"
d="M60.51 6.4C55.93 6.42 51.55 6.81 47.7 7.49 36.35 9.5 34.29 13.69 34.29 21.43V31.65H61.1V35.05H34.29H24.23C16.44 35.05 9.61 39.74 7.48 48.65 5.02 58.86 4.91 65.23 7.48 75.9 9.38 83.84 13.94 89.49 21.73 89.49H30.95V77.24C30.95 68.39 38.6 60.59 47.7 60.59H74.48C81.93 60.59 87.89 54.45 87.89 46.96V21.43C87.89 14.16 81.76 8.7 74.48 7.49 69.87 6.72 65.09 6.38 60.51 6.4zM46.01 14.62C48.78 14.62 51.04 16.92 51.04 19.74 51.04 22.56 48.78 24.84 46.01 24.84 43.23 24.84 40.98 22.56 40.98 19.74 40.98 16.92 43.23 14.62 46.01 14.62z"
/>
<path
fill="url(#pyYellow)"
d="M91.23 35.05V46.96C91.23 56.19 83.4 63.96 74.48 63.96H47.7C40.36 63.96 34.29 70.24 34.29 77.59V103.12C34.29 110.38 40.61 114.66 47.7 116.74 56.18 119.24 64.32 119.69 74.48 116.74 81.23 114.79 87.89 110.85 87.89 103.12V92.9H61.1V89.49H87.89H101.29C109.08 89.49 111.99 84.06 114.7 75.9 117.5 67.5 117.38 59.42 114.7 48.65 112.77 40.89 109.09 35.05 101.29 35.05H91.23zM76.17 99.71C78.95 99.71 81.2 101.99 81.2 104.8 81.2 107.63 78.95 109.93 76.17 109.93 73.4 109.93 71.14 107.63 71.14 104.8 71.14 101.99 73.4 99.71 76.17 99.71z"
/>
</svg>