Skip to content

Commit

Permalink
style changes in project
Browse files Browse the repository at this point in the history
  • Loading branch information
devaggarwal-1 committed Jan 31, 2024
1 parent e9516bc commit ee4eef8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Footer() {
<div className='footer'>
<hr />
<div className="container">
<p><FontAwesomeIcon icon={faCode} /> with <FontAwesomeIcon icon={faHeart} /> by Dev Aggarwal</p>
<p><FontAwesomeIcon icon={faCode} /> with <FontAwesomeIcon icon={faHeart} style={{ color: "red" }} /> by Dev Aggarwal</p>
</div>
</div>
)
Expand Down
5 changes: 2 additions & 3 deletions src/components/Projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ function Projects() {
repoNames.map(async (repo, index) => {
const response = await fetch(`${API}/repos/devaggarwal-1/${repo}`)
const repoInfo = await response.json();
console.log(index)
setProjectsArray((prev) => [...prev, { name: repoInfo.name, url: repoInfo.html_url, updated: repoInfo.updated_at, desc: repoDesc[index] }])

await setProjectsArray((prev) => [...prev, { name: repoInfo.name, url: repoInfo.html_url, updated: repoInfo.updated_at, desc: repoDesc[index] }])
})

} catch (error) {
Expand All @@ -36,7 +36,6 @@ function Projects() {
}, [])


console.log(projectsArray)

return (
<section className="projects" id="projects">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Skills.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ function Skills() {
<h2>My Skills</h2>

<ul className='skills_list'>
{skills.map((skill) => (
<li className='skills_list-item btn btn--plain'>
{skills.map((skill, i) => (
<li className='skills_list-item btn btn--plain' key={i}>
{skill}
</li>
))}
Expand Down

0 comments on commit ee4eef8

Please sign in to comment.