Replace questionable icons

This commit is contained in:
Alex Gleason 2022-05-12 07:56:22 -05:00
parent 38b960244a
commit 530b2838f3
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
7 changed files with 5 additions and 8 deletions

View file

@ -1 +0,0 @@
<svg fill="white" stroke="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8.21 4.175V5.86h1.685a.842.842 0 0 1 0 1.684H8.21v1.684a.842.842 0 1 1-1.685 0V7.544H4.842a.842.842 0 1 1 0-1.684h1.684V4.175a.842.842 0 1 1 1.685 0Zm12.87 3.523a.814.814 0 0 1 0 1.18l-1.43 1.6-3.2-3.2 1.515-1.517a.814.814 0 0 1 1.179 0l1.937 1.937ZM6.573 18.364a5 5 0 0 1 1.392-2.686l7.559-7.559 3.116 3.2-7.47 7.544a5 5 0 0 1-2.704 1.409l-2.29.395.397-2.303Z"/></svg>

Before

Width:  |  Height:  |  Size: 487 B

View file

@ -1 +0,0 @@
<svg viewBox="0 0 24 24" stroke="currentColor" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22 3H2a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1ZM1 15h22M1 21h22" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>

Before

Width:  |  Height:  |  Size: 264 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-4 7a7 7 0 0 0-7 7h14a7 7 0 0 0-7-7z"/></svg>

Before

Width:  |  Height:  |  Size: 247 B

View file

@ -137,7 +137,7 @@ const SidebarNavigation = () => {
<div className='flex flex-col space-y-2'> <div className='flex flex-col space-y-2'>
<SidebarNavigationLink <SidebarNavigationLink
to='/' to='/'
icon={require('icons/feed.svg')} icon={require('@tabler/icons/icons/home.svg')}
text={<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />} text={<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />}
/> />
@ -151,7 +151,7 @@ const SidebarNavigation = () => {
<> <>
<SidebarNavigationLink <SidebarNavigationLink
to={`/@${account.acct}`} to={`/@${account.acct}`}
icon={require('icons/user.svg')} icon={require('@tabler/icons/icons/user.svg')}
text={<FormattedMessage id='tabs_bar.profile' defaultMessage='Profile' />} text={<FormattedMessage id='tabs_bar.profile' defaultMessage='Profile' />}
/> />

View file

@ -43,7 +43,7 @@ const ThumbNavigation: React.FC = (): JSX.Element => {
return ( return (
<div className='thumb-navigation'> <div className='thumb-navigation'>
<ThumbNavigationLink <ThumbNavigationLink
src={require('icons/feed.svg')} src={require('@tabler/icons/icons/home.svg')}
text={<FormattedMessage id='navigation.home' defaultMessage='Home' />} text={<FormattedMessage id='navigation.home' defaultMessage='Home' />}
to='/' to='/'
exact exact

View file

@ -48,7 +48,7 @@ const Developers = () => {
</Link> </Link>
<Link to='/developers/timeline' className='bg-gray-200 dark:bg-gray-600 p-4 rounded flex flex-col items-center justify-center space-y-2 hover:-translate-y-1 transition-transform'> <Link to='/developers/timeline' className='bg-gray-200 dark:bg-gray-600 p-4 rounded flex flex-col items-center justify-center space-y-2 hover:-translate-y-1 transition-transform'>
<SvgIcon src={require('icons/feed.svg')} className='dark:text-gray-100' /> <SvgIcon src={require('@tabler/icons/icons/home.svg')} className='dark:text-gray-100' />
<Text> <Text>
<FormattedMessage id='developers.navigation.test_timeline_label' defaultMessage='Test timeline' /> <FormattedMessage id='developers.navigation.test_timeline_label' defaultMessage='Test timeline' />

View file

@ -11,7 +11,7 @@ const ComposeButton = () => {
return ( return (
<div className='mt-4'> <div className='mt-4'>
<Button icon={require('icons/compose.svg')} block size='lg' onClick={onOpenCompose}> <Button icon={require('icons/pen-plus.svg')} block size='lg' onClick={onOpenCompose}>
<span><FormattedMessage id='navigation.compose' defaultMessage='Compose' /></span> <span><FormattedMessage id='navigation.compose' defaultMessage='Compose' /></span>
</Button> </Button>
</div> </div>