Skip to content

Commit

Permalink
Adding a few changes for the social links in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
urbanobaz committed May 29, 2023
1 parent 1789fe9 commit 1c89a77
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
13 changes: 5 additions & 8 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,19 @@ export default function Home() {
<hr className="h-0.5 my-8 bg-blue-200 w-1/2 rounded" />
</div>
<ul className="flex justify-center" id="social">
<li className="mx-5">
<li className={styles.socialLink}>
<a href="https://twitter.com/ubaz_3">
<FontAwesomeIcon icon={faTwitter} />
</a>
</li>
<li className="mx-5">
<a className={styles.link} href="https://github.com/urbanobaz">
<li className={styles.socialLink}>
<a href="https://github.com/urbanobaz">
<i className="fab fa-github"></i>
<FontAwesomeIcon icon={faGithub} />
</a>
</li>
<li className="mx-5">
<a
className={styles.link}
href="https://www.linkedin.com/in/urbanobaz"
>
<li className={styles.socialLink}>
<a href="https://www.linkedin.com/in/urbanobaz">
<FontAwesomeIcon icon={faLinkedinIn} />
</a>
</li>
Expand Down
12 changes: 12 additions & 0 deletions styles/Main.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,18 @@
font-size: 0.9rem;
}

.socialLink {
height: 20px;
margin: 0 20px;
transform: scale(1);
transition: 0.2s;
}

.socialLink:hover {
transform: scale(1.25);
transition: 0.2s;
}

/* Responsiveness */

@media screen and (max-width: 899px) {
Expand Down

2 comments on commit 1c89a77

@vercel
Copy link

@vercel vercel bot commented on 1c89a77 May 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 1c89a77 Jun 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.