Skip to content

Commit dd1c0aa

Browse files
committed
feat: ✨ add angular testing logo
1 parent 44ef508 commit dd1c0aa

File tree

2 files changed

+92
-1
lines changed

2 files changed

+92
-1
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
export function AngularTesting({ width = 32 }: { width?: number }) {
2+
return (
3+
<svg
4+
xmlns="http://www.w3.org/2000/svg"
5+
fill="none"
6+
viewBox="0 0 223 236"
7+
width={width}
8+
>
9+
<g clipPath="url(#a)">
10+
<path
11+
fill="url(#b)"
12+
d="m222.077 39.192-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"
13+
></path>
14+
<path
15+
fill="url(#c)"
16+
d="m222.077 39.192-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"
17+
></path>
18+
</g>
19+
{/* Checkmark. */}
20+
<g>
21+
<circle
22+
cx="150"
23+
cy="160"
24+
r="75"
25+
fill="#22c55eee"
26+
stroke="#fff"
27+
strokeWidth="5"
28+
/>
29+
<path
30+
d="M120 160 l25 25 l40 -40"
31+
fill="none"
32+
stroke="#fff"
33+
strokeWidth="20"
34+
strokeLinecap="round"
35+
strokeLinejoin="round"
36+
/>
37+
<ellipse
38+
cx="170"
39+
cy="200"
40+
rx="28"
41+
ry="10"
42+
fill="url(#reflectionGradient)"
43+
opacity="0.5"
44+
/>
45+
</g>
46+
<defs>
47+
<linearGradient
48+
id="b"
49+
x1="49.009"
50+
x2="225.829"
51+
y1="213.75"
52+
y2="129.722"
53+
gradientUnits="userSpaceOnUse"
54+
>
55+
<stop stopColor="#E40035"></stop>
56+
<stop offset=".24" stopColor="#F60A48"></stop>
57+
<stop offset=".352" stopColor="#F20755"></stop>
58+
<stop offset=".494" stopColor="#DC087D"></stop>
59+
<stop offset=".745" stopColor="#9717E7"></stop>
60+
<stop offset="1" stopColor="#6C00F5"></stop>
61+
</linearGradient>
62+
<linearGradient
63+
id="c"
64+
x1="41.025"
65+
x2="156.741"
66+
y1="28.344"
67+
y2="160.344"
68+
gradientUnits="userSpaceOnUse"
69+
>
70+
<stop stopColor="#FF31D9"></stop>
71+
<stop offset="1" stopColor="#FF5BE1" stopOpacity="0"></stop>
72+
</linearGradient>
73+
<linearGradient
74+
id="reflectionGradient"
75+
x1="173"
76+
y1="215"
77+
x2="197"
78+
y2="215"
79+
gradientUnits="userSpaceOnUse"
80+
>
81+
<stop stopColor="#fff" stopOpacity="0.7" />
82+
<stop offset="1" stopColor="#fff" stopOpacity="0" />
83+
</linearGradient>
84+
<clipPath id="a">
85+
<path fill="#fff" d="M0 0h223v236H0z"></path>
86+
</clipPath>
87+
</defs>
88+
</svg>
89+
);
90+
}

apps/cookbook/src/pages/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Layout from '@theme/Layout';
66
import styles from './index.module.css';
77
import clsx from 'clsx';
88
import { Angular } from '../components/logos/angular';
9+
import { AngularTesting } from '../components/logos/angular-testing';
910
import { Nx } from '../components/logos/nx';
1011

1112
export default function Home(): JSX.Element {
@@ -71,7 +72,7 @@ function Buttons() {
7172
href: '/angular/testing',
7273
content: (
7374
<>
74-
<Angular />
75+
<AngularTesting />
7576
<p>Angular Testing</p>
7677
</>
7778
),

0 commit comments

Comments
 (0)