forked from gndx/react-eth-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gndx#2] Adding styles to components
- Loading branch information
Showing
17 changed files
with
264 additions
and
69 deletions.
There are no files selected for viewing
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
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
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
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 |
---|---|---|
|
@@ -9,45 +9,52 @@ import Skills from '../components/Skills'; | |
import Interest from '../components/Interest'; | ||
import Languages from '../components/Languages'; | ||
import Certificates from '../components/Certificates'; | ||
import useGetProducts from '../hooks/useGetData'; | ||
|
||
const API = "http://localhost:3000/data" | ||
|
||
const App = () => { | ||
|
||
const data = {}; | ||
|
||
return ( | ||
<> | ||
<div className='Main-content'> | ||
<Header | ||
name = "Hololulu" | ||
profession = "Developer" | ||
phone = "123" | ||
email = "[email protected]" | ||
website = "asdasd.com" | ||
adress = "Colombia" | ||
avatar = "https://picsum.photos/200" | ||
name = {data.name} | ||
profession = {data.profession} | ||
avatar = {data.avatar} | ||
> | ||
<About | ||
items = {[]} | ||
items = {data.social} | ||
phone = {data.phone} | ||
email = {data.email} | ||
website = {data.website} | ||
adress = {data.address} | ||
/> | ||
</Header> | ||
<Profile | ||
desc = "asdasd" | ||
desc = {data.profile} | ||
/> | ||
<Experience | ||
items = {[]} | ||
items = {data.experience} | ||
/> | ||
<Academic | ||
items = {[]} | ||
items = {data.academic} | ||
/> | ||
<Certificates | ||
items = {[]} | ||
items = {data.certificate} | ||
/> | ||
|
||
<Skills | ||
items = {[]} | ||
items = {data.skills} | ||
/> | ||
<Interest | ||
items = {[]} | ||
items = {data.interest} | ||
/> | ||
<Languages | ||
items = {[]} | ||
items = {data.languages} | ||
/> | ||
</> | ||
</div> | ||
) | ||
}; | ||
|
||
|
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 '_vars' | ||
|
||
.About | ||
display: grid | ||
grid-template-columns: 1fr 1fr | ||
|
||
.About-items | ||
display: flex | ||
gap: 20px | ||
|
||
i | ||
font-size: icons-size | ||
|
||
@media (max-width : max-width-1) | ||
.About | ||
grid-template-columns: 1fr |
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 |
---|---|---|
@@ -1,2 +1,59 @@ | ||
@import '_vars' | ||
|
||
body | ||
background-color blue | ||
background-color: backColor | ||
margin: 20px | ||
|
||
section | ||
background-color: cardColor | ||
border-radius: 10px | ||
padding: 30px | ||
box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px; | ||
|
||
h2 | ||
color: titleColor | ||
font-size: title-text-size | ||
margin: 0 0 35px | ||
font-family: title-font-family | ||
|
||
h4 | ||
font-size: focus-text-size | ||
margin: 0 | ||
font-family: text-font-family | ||
color: focusTextColor | ||
|
||
h3 | ||
font-size: subtitle-text-size | ||
color: subtitleColor | ||
|
||
p | ||
a | ||
color: textColor | ||
text-decoration: none | ||
font-size: text-size | ||
margin: 5px 0 | ||
font-family: text-font-family | ||
|
||
a:hover | ||
color: secondaryColor | ||
|
||
.Main-content | ||
display: grid | ||
grid-template-rows: auto 1fr auto auto auto auto | ||
grid-template-columns: 1fr 1fr 1fr | ||
gap: 20px | ||
|
||
.Header | ||
grid-column: 1 / 4 | ||
|
||
.Profile | ||
grid-column: 1 / 4 | ||
|
||
.Experience | ||
grid-column: 1 / 4 | ||
|
||
.Academic | ||
grid-column: 1 / 4 | ||
|
||
.Certificates | ||
grid-column: 1 / 4 |
Oops, something went wrong.