Skip to content

Commit

Permalink
FIX: ๐Ÿ› ๋ถ๋งˆํฌ ๋Œ€์ฒด ํŒŒ๋น„์ฝ˜ svg ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
bbung95 committed Jul 17, 2024
1 parent 5bbc21e commit b8887d4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 4 additions & 0 deletions public/logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/vercel.svg

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/BookmarkCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ const BookmarkCard = ({
<picture>
<img
className='rounded-full min-w-28 h-28'
src={faviconUrl}
src={faviconUrl ?? '/logo-white.svg'}
alt='ํŒŒ๋น„์ฝ˜'
width={28}
height={28}
onError={(e) => ((e.target as HTMLImageElement).src = '/logo.svg')}
onError={(e) => ((e.target as HTMLImageElement).src = '/logo-white.svg')}
/>
</picture>
<span className='body-md text-text truncate'>{bookmarkSiteName}</span>
Expand Down
4 changes: 2 additions & 2 deletions src/components/BookmarkItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ const BookmarkItem = ({
<span className='body-md text-text truncate'>{bookmarkSiteName}</span>
<img
className='rounded-full'
src={faviconUrl}
src={faviconUrl ?? '/logo-white.svg'}
alt='ํŒŒ๋น„์ฝ˜'
width={20}
height={20}
onError={(e) => ((e.target as HTMLImageElement).src = '/logo.svg')}
onError={(e) => ((e.target as HTMLImageElement).src = '/logo-white.svg')}
/>
</div>
<div className='flex items-center justify-end px-8'>
Expand Down

0 comments on commit b8887d4

Please sign in to comment.