Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: scale the footer icons on hover #1732

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 21 additions & 10 deletions components/UI/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ import Form from "./Form";
import axios from "axios";
import { useState } from "react";
import NewTwitterLogo from "./NewTwitterlogo";
import { RiYoutubeFill, RiGithubFill, RiTwitterFill, RiLinkedinFill } from "react-icons/ri";
import {
RiYoutubeFill,
RiGithubFill,
RiTwitterFill,
RiLinkedinFill,
} from "react-icons/ri";
const Contact = () => {
const [submitted, setSubmitted] = useState(false);
const handleSubmit = async (event) => {
Expand Down Expand Up @@ -36,7 +41,6 @@ const Contact = () => {
<Container>
<Row className="flex justify-between flex-col md:flex-row ">
<Col lg="4" md="6">

<h3 className="mt-4 mb-4 text-2xl">Connect with me</h3>

<ul className={`${classes.contact__info__list}`}>
Expand All @@ -53,7 +57,10 @@ const Contact = () => {
</a>
</span>
<p>
<a className="hover:text-[#01d293]" href="mailto:[email protected]">
<a
className="hover:text-[#01d293]"
href="mailto:[email protected]"
>
[email protected]
</a>
</p>
Expand All @@ -62,32 +69,31 @@ const Contact = () => {

<div className={`${classes.social__links}`}>
<Link
className="hover:text-[#01d293] duration-300"
className="hover:text-[#01d293] hover:scale-150 duration-300"
aria-label="Youtube Channel"
href="https://youtube.com/@piyushgargdev"
target="_blank"
>
<RiYoutubeFill />
</Link>
<Link
className="hover:text-[#01d293] duration-300"
className="hover:text-[#01d293] hover:scale-150 duration-300"
aria-label="Github Profile"
href="https://github.com/piyushgarg-dev"
target="_blank"
>
<RiGithubFill />
</Link>
<Link
className="hover:text-[#01d293] duration-300"
className="hover:text-[#01d293] hover:scale-150 duration-300"
aria-label="Twitter Account"
href="https://twitter.com/piyushgarg_dev"
target="_blank"
>

<NewTwitterLogo />
</Link>
<Link
className="hover:text-[#01d293] duration-300"
className="hover:text-[#01d293] hover:scale-150 duration-300"
aria-label="LinedIn Account"
href="https://www.linkedin.com/in/piyushgarg195/"
target="_blank"
Expand All @@ -103,9 +109,14 @@ const Contact = () => {
</div>
) : (
<>
<div className="mt-4 mb-4 text-2xl"><SectionSubtitle subtitle="Contact me" /></div>
<div className="mt-4 mb-4 text-2xl">
<SectionSubtitle subtitle="Contact me" />
</div>

<form className="flex flex-col space-y-4" onSubmit={handleSubmit}>
<form
className="flex flex-col space-y-4"
onSubmit={handleSubmit}
>
<input
className="text-md border-transparent rounded-lg block w-full p-2.5 bg-[#171f38] placeholder-gray-400 text-white"
type="text"
Expand Down
Loading