Skip to content

Commit

Permalink
github icon
Browse files Browse the repository at this point in the history
  • Loading branch information
handywijaya committed Jan 13, 2025
1 parent cbd58f6 commit 43986bc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 64 deletions.
1 change: 0 additions & 1 deletion src/layouts/Footer/facebook.svg

This file was deleted.

Binary file added src/layouts/Footer/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions src/layouts/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import PopupMessage from '../../components/PopupMessage';
import profile from './profile.jpg';
import gmail from './gmail.svg';
import linkedIn from './linkedIn.svg';
import facebook from './facebook.svg';
import instagram from './instagram.svg';
import github from './github.png';

const Footer: React.FC = () => {
const [copyBalloon, setCopyBalloon] = useState<{ shown: boolean, text: string }>({
Expand Down Expand Up @@ -69,8 +68,7 @@ const Footer: React.FC = () => {
}, [toggleCopyBalloon]);

const openLinkedIn = () => window.open('https://www.linkedin.com/in/handy-wijaya-prajitno-a980b0125', '_blank');
const openFb = () => window.open('https://www.facebook.com/handy.wijaya.p', '_blank');
const openIg = () => window.open('https://www.instagram.com/handywijaya_', '_blank');
const openGithub = () => window.open('https://github.com/handywijaya', '_blank');

return (
<div className="flex justify-between items-center
Expand All @@ -87,8 +85,7 @@ const Footer: React.FC = () => {
<div className="ic">
<img src={gmail} alt="gmail" onMouseOver={hoverEmail} onMouseLeave={hoverEmailLeave} onClick={copyEmail} />
<img src={linkedIn} alt="linkedIn" onClick={openLinkedIn} />
<img src={facebook} alt="facebook" onClick={openFb} />
<img src={instagram} alt="instagram" onClick={openIg} />
<img src={github} alt="github" onClick={openGithub} />
<div className="absolute text-black">
<PopupMessage show={copyBalloon.shown} message={copyBalloon.text} bgColor="white" />
</div>
Expand Down
57 changes: 0 additions & 57 deletions src/layouts/Footer/instagram.svg

This file was deleted.

0 comments on commit 43986bc

Please sign in to comment.