Skip to content

Commit 235ca99

Browse files
committed
Added icons to new providers
1 parent 012cb6b commit 235ca99

File tree

3 files changed

+30
-27
lines changed

3 files changed

+30
-27
lines changed

next-js-app/src/app/components/icons/AnthropicIcon.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
import React from 'react';
1+
import React from "react";
22

33
const AnthropicIcon = ({ className }: { className?: string }) => (
44
<svg
5-
className={className}
5+
fill="currentColor"
6+
fill-rule="evenodd"
67
viewBox="0 0 24 24"
7-
fill="none"
88
xmlns="http://www.w3.org/2000/svg"
9+
className={className}
910
>
10-
<path
11-
d="M12 2L2 7v10l10 5 10-5V7L12 2zm0 2.236L19.535 7 12 11.764 4.465 7 12 4.236zM4 9.382l8 4.571 8-4.571V15.5L12 20l-8-4.5V9.382z"
12-
fill="currentColor"
13-
/>
11+
<title>Anthropic</title>
12+
<path d="M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"></path>
1413
</svg>
1514
);
1615

next-js-app/src/app/components/icons/GeminiIcon.tsx

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
1-
import React from 'react';
1+
import React from "react";
22

33
const GeminiIcon = ({ className }: { className?: string }) => (
4-
<svg
5-
className={className}
6-
viewBox="0 0 24 24"
7-
fill="none"
8-
xmlns="http://www.w3.org/2000/svg"
9-
>
4+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" className={className}>
105
<path
11-
d="M12 2L9.44 8.34L2 9.71L7.2 14.47L5.82 21.02L12 17.77L18.18 21.02L16.8 14.47L22 9.71L14.56 8.34L12 2Z"
12-
fill="currentColor"
6+
d="M16 8.016A8.522 8.522 0 008.016 16h-.032A8.521 8.521 0 000 8.016v-.032A8.521 8.521 0 007.984 0h.032A8.522 8.522 0 0016 7.984v.032z"
7+
fill="url(#prefix__paint0_radial_980_20147)"
138
/>
9+
<defs>
10+
<radialGradient
11+
id="prefix__paint0_radial_980_20147"
12+
cx="0"
13+
cy="0"
14+
r="1"
15+
gradientUnits="userSpaceOnUse"
16+
gradientTransform="matrix(16.1326 5.4553 -43.70045 129.2322 1.588 6.503)"
17+
>
18+
<stop offset=".067" stop-color="#9168C0" />
19+
<stop offset=".343" stop-color="#5684D1" />
20+
<stop offset=".672" stop-color="#1BA1E3" />
21+
</radialGradient>
22+
</defs>
1423
</svg>
1524
);
1625

next-js-app/src/app/components/icons/OpenAIIcon.tsx

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1-
import React from 'react';
1+
import React from "react";
22

33
const OpenAIIcon = ({ className }: { className?: string }) => (
44
<svg
5-
className={className}
5+
fill="currentColor"
6+
fill-rule="evenodd"
67
viewBox="0 0 24 24"
7-
fill="none"
88
xmlns="http://www.w3.org/2000/svg"
9+
className={className}
910
>
10-
<path
11-
d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8z"
12-
fill="currentColor"
13-
/>
14-
<path
15-
d="M12 6c-3.309 0-6 2.691-6 6s2.691 6 6 6 6-2.691 6-6-2.691-6-6-6zm0 10c-2.206 0-4-1.794-4-4s1.794-4 4-4 4 1.794 4 4-1.794 4-4 4z"
16-
fill="currentColor"
17-
/>
11+
<title>OpenAI</title>
12+
<path d="M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z"></path>
1813
</svg>
1914
);
2015

0 commit comments

Comments
 (0)