Skip to content

Commit

Permalink
on click to github
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriela-miranda-leite committed Dec 22, 2021
1 parent 07dec55 commit 3edf569
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/buttonGitHub/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import Router from 'next/router';

import * as S from './styles';

export const ButtonGitHub = () => {
function handleClick() {
Router.push('https://github.com/Gabriela-Leite');
}
return (
<S.Container>
<S.Container onClick={handleClick}>
<S.Content>
<img
src="assets/logos/logo-github-button-banner.png"
Expand Down

0 comments on commit 3edf569

Please sign in to comment.