Skip to content

Commit 108b3e1

Browse files
committed
finished all
1 parent d0822e3 commit 108b3e1

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

src/components/Contributors/contributors.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ function Contribute() {
1111
id="container"
1212
className="py-4 mb-4 col-span-12 md:col-span-6 xl:col-span-4 px-2 md:px-6 border-l-4 rounded-lg items-start bg-dark-secondary flex flex-col flex mt-8 items-center gap-2 px-3 py-2 border border-gray rounded-lg hover:border-primary hover:text-primary">
1313
<h1>{data.name}</h1>
14-
<img src={data.image} />
14+
<img className='pfp' src={data.image} />
1515
<div className="links">
16-
<a href={data.github}>Github</a>
17-
<a href={data.twiter}>Twiter</a>
16+
<a className='spf-link' href={data.github}>Github</a>
17+
<a className='spf-link' href={data.twiter}>Twiter</a>
18+
{/* spf-link : abbreviation of (specific-link) for css */}
1819
</div>
1920
</div>
2021
)

src/components/Contributors/css/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
top: 20%;
1212
}
1313

14-
a {
14+
.spf-link {
1515
padding: 1.4rem;
1616
}
1717

18-
img {
18+
.pfp {
1919
position: relative;
2020
top: 5%;
2121
left: 11%;

src/components/Contributors/css/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
display: inline;
1212
top:20%;
1313
}
14-
a{
14+
.spf-link{
1515
padding: 1.4rem;
1616
}
17-
img{
17+
.pfp{
1818
position: relative;
1919
top: 5%;
2020
left: 11%;

0 commit comments

Comments
 (0)