-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add person-text component for old collaborators
- Loading branch information
talves
committed
Jul 6, 2024
1 parent
cb6548a
commit 6be73a6
Showing
21 changed files
with
15,153 additions
and
9,052 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
import './person-text.scss'; | ||
|
||
function PersonText({ person = null }) { | ||
const Person = () => { | ||
const social = person.social.length != 0 ? Object.values(person.social[0])[0] : ''; | ||
return ( | ||
<a className="person-text" href={social}> | ||
{person.name} | ||
</a> | ||
); | ||
}; | ||
return <Person />; | ||
} | ||
|
||
export default PersonText; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@import 'styles/variables'; | ||
|
||
.person-text { | ||
cursor: pointer; | ||
transition: color 0.3s ease; | ||
|
||
&:hover { | ||
color: blue; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
const OldData = [ | ||
{ | ||
name: 'José Amorim', | ||
social: [ | ||
{ linkedin: 'https://linkedin.com/in/josepamorim' }, | ||
{ github: 'https://github.com/jpamorim' } | ||
] | ||
}, | ||
{ | ||
name: 'Daniela Pereira', | ||
social: [{ linkedin: 'https://www.linkedin.com/in/danielasmpereira' }] | ||
}, | ||
{ | ||
name: 'Joana Lopes', | ||
social: [] | ||
}, | ||
{ | ||
name: 'Mónica Fidalgo', | ||
social: [{ linkedin: 'https://www.linkedin.com/in/monicafidalgo/' }] | ||
}, | ||
{ | ||
name: 'Pedro Fonseca', | ||
social: [ | ||
{ linkedin: 'https://www.linkedin.com/in/pedromlfonseca/' }, | ||
{ github: 'https://github.com/PMLF' } | ||
] | ||
}, | ||
{ | ||
name: 'Sara Vieira', | ||
social: [{ linkedin: 'https://www.linkedin.com/in/sarapvieira/' }] | ||
}, | ||
{ | ||
name: 'Adolfo Ferreira', | ||
social: [{ linkedin: 'https://www.linkedin.com/in/iamadolfo/' }] | ||
}, | ||
{ | ||
name: 'Pedro Torres', | ||
social: [{ linkedin: 'https://www.linkedin.com/in/pedrogustavotorres/' }] | ||
}, | ||
{ | ||
name: 'Rita Pereira', | ||
social: [ | ||
{ linkedin: 'https://www.linkedin.com/in/ritasousapereira/' }, | ||
{ github: 'https://github.com/ritapereira10' } | ||
] | ||
}, | ||
{ | ||
name: 'Sérgio Silva', | ||
social: [{ linkedin: 'https://www.linkedin.com/in/sergio-a-silva/' }] | ||
}, | ||
{ | ||
name: 'Rita Peixoto', | ||
social: [ | ||
{ linkedin: 'https://www.linkedin.com/in/anaritapeixoto/' }, | ||
{ github: 'https://github.com/rita-peixoto' } | ||
] | ||
}, | ||
{ | ||
name: 'Marta Dias', | ||
social: [ | ||
{ linkedin: 'https://www.linkedin.com/in/marta-r-dias/' }, | ||
{ github: 'https://github.com/markeldias' } | ||
] | ||
}, | ||
{ | ||
name: 'Jéssica Lemos', | ||
social: [ | ||
{ linkedin: 'https://www.linkedin.com/in/jessicalemos9/' }, | ||
{ github: 'https://github.com/jessicalemos ' } | ||
] | ||
} | ||
]; | ||
|
||
export default OldData; |
Oops, something went wrong.