Skip to content

Commit e207552

Browse files
authored
Home: Update read blog icon to glasses (KittyCAD#6541)
1 parent 1835e49 commit e207552

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/components/CustomIcon.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,6 +1365,19 @@ const CustomIconMap = {
13651365
/>
13661366
</svg>
13671367
),
1368+
glasses: (
1369+
<svg
1370+
viewBox="0 0 20 20"
1371+
fill="none"
1372+
xmlns="http://www.w3.org/2000/svg"
1373+
aria-label="y-relative"
1374+
>
1375+
<path
1376+
d="M13.9814 7C15.6383 7 16.9814 8.34317 16.9814 10C16.9814 11.6569 15.6383 13 13.9814 13C12.3764 12.9999 11.0656 11.7394 10.9854 10.1543L10.9814 10L10.9707 9.85352C10.9635 9.80499 10.9527 9.75695 10.9385 9.70996L10.9053 9.61719C10.8676 9.52625 10.8171 9.44105 10.7549 9.36523L10.6885 9.29297C10.5957 9.20021 10.4855 9.1264 10.3643 9.07617C10.243 9.02598 10.1127 9 9.98145 9C9.88308 9.00002 9.7852 9.01454 9.69141 9.04297L9.59863 9.07617C9.50772 9.11387 9.42249 9.16435 9.34668 9.22656L9.27441 9.29297C9.20485 9.36255 9.14585 9.44188 9.09961 9.52832L9.05762 9.61719C9.02796 9.6888 9.00749 9.76366 8.99512 9.83984C8.99791 9.89289 9 9.94626 9 10C9 11.6569 7.65685 13 6 13C4.3432 12.9999 3 11.6568 3 10C3.00003 8.34321 4.34322 7.00007 6 7C7.12596 7 8.10505 7.62155 8.61816 8.53906L8.71289 8.4541C8.86453 8.32967 9.03396 8.22772 9.21582 8.15234L9.40137 8.08594C9.58903 8.02906 9.78464 8.00002 9.98145 8C10.244 8 10.5045 8.0519 10.7471 8.15234L10.9248 8.23633C11.0819 8.32036 11.2268 8.42596 11.3564 8.54883C11.8679 7.6256 12.8513 7.00009 13.9814 7ZM6 8C4.89551 8.00007 4.00003 8.8955 4 10C4 11.1045 4.89549 11.9999 6 12C7.0357 12 7.88804 11.2128 7.99023 10.2041L8 10H7.98145C7.98145 9.93633 7.98419 9.87275 7.99023 9.80957C7.89427 8.79439 7.04029 8 6 8ZM13.9814 8C12.877 8.00013 11.9815 8.89554 11.9814 10C11.9814 11.1045 12.877 11.9999 13.9814 12C15.086 12 15.9814 11.1046 15.9814 10C15.9814 8.89546 15.086 8 13.9814 8Z"
1377+
fill="currentColor"
1378+
/>
1379+
</svg>
1380+
),
13681381
} as const
13691382

13701383
export type CustomIconName = keyof typeof CustomIconMap

src/routes/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ const Home = () => {
259259
onClick={openExternalBrowserIfDesktop('https://zoo.dev/blog')}
260260
className={sidebarButtonClasses}
261261
iconStart={{
262-
icon: 'sketch',
262+
icon: 'glasses',
263263
bgClassName: '!bg-transparent rounded-sm',
264264
}}
265265
data-testid="home-blog"

0 commit comments

Comments
 (0)