Update icons location

This commit is contained in:
Hazem Krimi
2021-01-19 00:35:55 +01:00
parent 2e262968af
commit dc6e2df560
28 changed files with 17 additions and 14 deletions
+4 -1
View File
@@ -78,7 +78,10 @@ const MobileNav: FC<Props> = ({ open, close }) => {
return ( return (
<Bar dark={dark} open={open} ref={ref}> <Bar dark={dark} open={open} ref={ref}>
<div className='close'> <div className='close'>
<IconButton icon={dark ? '/dark-close.svg' : '/light-close.svg'} onClick={close} /> <IconButton
icon={dark ? '/icons/dark-close.svg' : '/icons/light-close.svg'}
onClick={close}
/>
</div> </div>
<div className='mobile-button-wrapper'> <div className='mobile-button-wrapper'>
<Button onClick={() => toggle()}>{dark ? 'Light Mode' : 'Dark Mode'}</Button> <Button onClick={() => toggle()}>{dark ? 'Light Mode' : 'Dark Mode'}</Button>
+2 -2
View File
@@ -74,7 +74,7 @@ const Nav: FC = () => {
<h1>Hazem Krimi</h1> <h1>Hazem Krimi</h1>
</div> </div>
<div className='buttons'> <div className='buttons'>
<IconButton icon={dark ? '/sun.svg' : '/moon.svg'} onClick={toggle} /> <IconButton icon={dark ? '/icons/sun.svg' : '/icons/moon.svg'} onClick={toggle} />
<Button onClick={() => router.push('/about')}>About</Button> <Button onClick={() => router.push('/about')}>About</Button>
<Button onClick={() => router.push('/portfolio')}>Portfolio</Button> <Button onClick={() => router.push('/portfolio')}>Portfolio</Button>
<Button onClick={() => router.push('/blog')}>Blog</Button> <Button onClick={() => router.push('/blog')}>Blog</Button>
@@ -87,7 +87,7 @@ const Nav: FC = () => {
Resume Resume
</Button> </Button>
<IconButton <IconButton
icon={dark ? '/light-menu.svg' : '/dark-menu.svg'} icon={dark ? '/icons/light-menu.svg' : '/icons/dark-menu.svg'}
onClick={() => setMobileNavOpen(true)} onClick={() => setMobileNavOpen(true)}
/> />
</div> </div>
+7 -7
View File
@@ -107,43 +107,43 @@ const About: FC = () => {
<h1>Contact Me</h1> <h1>Contact Me</h1>
<div className='contact'> <div className='contact'>
<IconButton <IconButton
icon={dark ? '/light-mail.svg' : '/dark-mail.svg'} icon={dark ? '/icons/light-mail.svg' : '/icons/dark-mail.svg'}
width={36} width={36}
height={36} height={36}
onClick={() => window.open('mailto:me@hazemkrimi.tech', '_blank')} onClick={() => window.open('mailto:me@hazemkrimi.tech', '_blank')}
/> />
<IconButton <IconButton
icon={dark ? '/light-github.svg' : '/dark-github.svg'} icon={dark ? '/icons/light-github.svg' : '/icons/dark-github.svg'}
width={36} width={36}
height={36} height={36}
onClick={() => window.open('https://github.com/hazemKrimi', '_blank')} onClick={() => window.open('https://github.com/hazemKrimi', '_blank')}
/> />
<IconButton <IconButton
icon={dark ? '/light-twitter.svg' : '/dark-twitter.svg'} icon={dark ? '/icons/light-twitter.svg' : '/icons/dark-twitter.svg'}
width={36} width={36}
height={36} height={36}
onClick={() => window.open('https://twitter.com/HazemKrimi', '_blank')} onClick={() => window.open('https://twitter.com/HazemKrimi', '_blank')}
/> />
<IconButton <IconButton
icon={dark ? '/light-linkedin.svg' : '/dark-linkedin.svg'} icon={dark ? '/icons/light-linkedin.svg' : '/icons/dark-linkedin.svg'}
width={36} width={36}
height={36} height={36}
onClick={() => window.open('https://linkedin.com/in/hazemkrimi', '_blank')} onClick={() => window.open('https://linkedin.com/in/hazemkrimi', '_blank')}
/> />
<IconButton <IconButton
icon={dark ? '/light-codepen.svg' : '/dark-codepen.svg'} icon={dark ? '/icons/light-codepen.svg' : '/icons/dark-codepen.svg'}
width={36} width={36}
height={36} height={36}
onClick={() => window.open('https://codepen.io/hazemkrimi', '_blank')} onClick={() => window.open('https://codepen.io/hazemkrimi', '_blank')}
/> />
<IconButton <IconButton
icon={dark ? '/light-dribbble.svg' : '/dark-dribbble.svg'} icon={dark ? '/icons/light-dribbble.svg' : '/icons/dark-dribbble.svg'}
width={36} width={36}
height={36} height={36}
onClick={() => window.open('https://dribbble.com/HazemKrimi', '_blank')} onClick={() => window.open('https://dribbble.com/HazemKrimi', '_blank')}
/> />
<IconButton <IconButton
icon={dark ? '/light-instagram.svg' : '/dark-instagram.svg'} icon={dark ? '/icons/light-instagram.svg' : '/icons/dark-instagram.svg'}
width={36} width={36}
height={36} height={36}
onClick={() => window.open('https://instagram.com/hazemkrimi', '_blank')} onClick={() => window.open('https://instagram.com/hazemkrimi', '_blank')}
+1 -1
View File
@@ -148,7 +148,7 @@ const BlogPost: FC<Props> = ({ source, frontMatter }) => {
<Wrapper> <Wrapper>
<div className='meta'> <div className='meta'>
<div className='back' onClick={() => router.back()}> <div className='back' onClick={() => router.back()}>
<IconButton icon='/arrow-left.svg' /> <IconButton icon='/icons/arrow-left.svg' />
<span>Back</span> <span>Back</span>
</div> </div>
<h1>{frontMatter.title}</h1> <h1>{frontMatter.title}</h1>
+1 -1
View File
@@ -79,7 +79,7 @@ const Index: FC<Props> = ({ blogPosts }) => {
</Head> </Head>
<Wrapper> <Wrapper>
<div className='back' onClick={() => router.back()}> <div className='back' onClick={() => router.back()}>
<IconButton icon='/arrow-left.svg' /> <IconButton icon='/icons/arrow-left.svg' />
<span>Back</span> <span>Back</span>
</div> </div>
<h1>Blog</h1> <h1>Blog</h1>
+1 -1
View File
@@ -135,7 +135,7 @@ const PortfolioProject: FC<Props> = ({ source, frontMatter }) => {
<Wrapper> <Wrapper>
<div className='meta'> <div className='meta'>
<div className='back' onClick={() => router.back()}> <div className='back' onClick={() => router.back()}>
<IconButton icon='/arrow-left.svg' /> <IconButton icon='/icons/arrow-left.svg' />
<span>Back</span> <span>Back</span>
</div> </div>
<h1>{frontMatter.title}</h1> <h1>{frontMatter.title}</h1>
+1 -1
View File
@@ -78,7 +78,7 @@ const Index: FC<Props> = ({ portfolioProjects }) => {
</Head> </Head>
<Wrapper> <Wrapper>
<div className='back' onClick={() => router.back()}> <div className='back' onClick={() => router.back()}>
<IconButton icon='/arrow-left.svg' /> <IconButton icon='/icons/arrow-left.svg' />
<span>Back</span> <span>Back</span>
</div> </div>
<h1>Portfolio</h1> <h1>Portfolio</h1>

Before

Width:  |  Height:  |  Size: 307 B

After

Width:  |  Height:  |  Size: 307 B

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 294 B

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

Before

Width:  |  Height:  |  Size: 416 B

After

Width:  |  Height:  |  Size: 416 B

Before

Width:  |  Height:  |  Size: 519 B

After

Width:  |  Height:  |  Size: 519 B

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 392 B

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 392 B

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

Before

Width:  |  Height:  |  Size: 400 B

After

Width:  |  Height:  |  Size: 400 B

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 294 B

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

Before

Width:  |  Height:  |  Size: 416 B

After

Width:  |  Height:  |  Size: 416 B

Before

Width:  |  Height:  |  Size: 519 B

After

Width:  |  Height:  |  Size: 519 B

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 392 B

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 392 B

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

Before

Width:  |  Height:  |  Size: 400 B

After

Width:  |  Height:  |  Size: 400 B

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 276 B

Before

Width:  |  Height:  |  Size: 645 B

After

Width:  |  Height:  |  Size: 645 B