-
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.
- Modification des skills en components pour le responsive TODO - Styled-components - Add brevo newsletter
- Loading branch information
Showing
13 changed files
with
223 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// import {} ==========================================// | ||
|
||
//import { React } from 'react'; | ||
//import styled | ||
|
||
// Import skillBar styles ============================// | ||
import scssSkill from './skill.module.scss'; | ||
|
||
//import data =========================================// | ||
import skillData from '../../data/skill.json'; | ||
|
||
// skillBar component ================================// | ||
const skillBar = () => { | ||
return ( | ||
<section | ||
className={scssSkill.skills} | ||
role="complementary" | ||
aria-label="Résumé des compétences" | ||
> | ||
<h2>Développeuse Application React & Blockchain</h2> | ||
<ul> | ||
{skillData.map((skill) => ( | ||
<li key={skill.id} className={scssSkill.skilli} data-id={skill.id}> | ||
<span>{skill.emoji}</span> | ||
<span className={scssSkill.skilli__name}>{skill.name}</span> | ||
<span className={scssSkill.skilliDetails}> | ||
{skill.details | ||
.map( | ||
(detail) => detail.charAt(0).toUpperCase() + detail.slice(1) | ||
) | ||
.join(', ')} | ||
</span> | ||
</li> | ||
))} | ||
</ul> | ||
</section> | ||
); | ||
}; | ||
export default skillBar; | ||
// End of skillBar component ========================// |
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,54 @@ | ||
.skills { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
margin: 20px; | ||
padding: auto; | ||
} | ||
@media screen and (min-height: 512px) { | ||
.skills h2 { | ||
text-align: center; | ||
} | ||
} | ||
@media screen and (max-width: 512px) { | ||
.skills ul { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
padding: none; | ||
padding: 0; | ||
justify-content: space-between; | ||
} | ||
} | ||
.skills ul .skilli { | ||
list-style: none; | ||
} | ||
.skills ul .skilli__name { | ||
text-transform: uppercase; | ||
} | ||
.skills ul .skilli__name::before { | ||
content: " "; | ||
} | ||
.skills ul .skilli__name::after { | ||
content: " : "; | ||
} | ||
@media screen and (max-width: 512px) { | ||
.skills ul .skilli { | ||
width: clamp(45%, 1vw, 50%); | ||
padding: 5px; | ||
background-color: rgba(147, 172, 255, 0.2862745098); | ||
border-radius: 10px; | ||
min-height: 90px; | ||
margin: 5px 0px; | ||
} | ||
.skills ul .skilli__name { | ||
text-transform: uppercase; | ||
} | ||
.skills ul .skilli__name::before { | ||
content: " "; | ||
} | ||
.skills ul .skilli__name::after { | ||
content: " "; | ||
} | ||
}/*# sourceMappingURL=skill.module.css.map */ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,76 @@ | ||
@use '../../scss/colors.module.scss' as colors; | ||
|
||
.skills { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
margin: 20px; | ||
padding: auto; | ||
|
||
@media screen and (min-height: 512px) { | ||
h2 { | ||
text-align: center; | ||
} | ||
|
||
} | ||
|
||
ul { | ||
|
||
@media screen and (max-width: 512px) { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
padding: none; | ||
padding: 0; | ||
justify-content: space-between; | ||
|
||
|
||
} | ||
|
||
|
||
.skilli { | ||
list-style: none; | ||
|
||
&__name { | ||
text-transform: uppercase; | ||
|
||
&::before { | ||
content: ' '; | ||
} | ||
|
||
&::after { | ||
content: ' : '; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 512px) { | ||
width: clamp(45%, 1vw, 50%); | ||
padding: 5px; | ||
//border: 0.13rem dotted colors.$colorMain; | ||
background-color: colors.$colorTernary; | ||
border-radius: 10px; | ||
min-height: 90px; | ||
margin: 5px 0px; | ||
|
||
// &:nth-child(odd) { | ||
// background-color: #f0f0f0; | ||
// margin-right: 3px; | ||
// } | ||
&__name { | ||
text-transform: uppercase; | ||
|
||
&::before { | ||
content: ' '; | ||
} | ||
|
||
&::after { | ||
content: ' '; | ||
} | ||
} | ||
|
||
} | ||
|
||
} | ||
} | ||
} |
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,44 @@ | ||
[ | ||
{ | ||
"id": 1, | ||
"name": "frontend", | ||
"emoji": "👩🏼💼", | ||
"details": ["react", "redux", "vanilla", "styled components"] | ||
}, | ||
{ | ||
"id": 2, | ||
"name": "backend", | ||
"emoji": "👩🏼💻", | ||
"details": ["next", "remix", "rest", "sql", "serverless"] | ||
}, | ||
{ | ||
"id": 6, | ||
"name": "runtime", | ||
"emoji": "🧱", | ||
"details": ["node", "bun", "deno"] | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "web3", | ||
"emoji": "🔗", | ||
"details": ["solidity", "ethers", "hardhat", "foundry"] | ||
}, | ||
{ | ||
"id": 4, | ||
"name": "cms", | ||
"emoji": "🤖", | ||
"details": ["ghost creative design"] | ||
}, | ||
{ | ||
"id": 5, | ||
"name": "product", | ||
"emoji": "👜", | ||
"details": ["management", "storytelling", "agile scrum"] | ||
}, | ||
{ | ||
"id": 7, | ||
"name": "design", | ||
"emoji": "🍀", | ||
"details": ["figma","affinity designer","finalcut"] | ||
} | ||
] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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