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

Added hover effect animation to the 'Apply to Gsoc' #360

Open
wants to merge 2 commits 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
22 changes: 18 additions & 4 deletions src/components/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,25 @@ export function Banner() {
Learn how to apply for an opportunity to work on open-source projects and gain real-world experience through Google Summer of Code.
</p>
<div className="mt-5">
<Link href="/apply" legacyBehavior>
<a className="group relative rounded-lg inline-flex items-center overflow-hidden bg-white dark:bg-black px-8 py-3 text-black dark:text-white focus:outline-none font-mono font-semibold">
<Link href="/apply" legacyBehavior>
<a
className="group relative rounded-lg inline-flex items-center overflow-hidden bg-white dark:bg-black px-8 py-3 text-black dark:text-white focus:outline-none font-mono font-semibold
transition-all duration-300 ease-in-out
transform hover:scale-105 hover:shadow-lg
relative
before:absolute before:inset-0
before:bg-yellow-100 dark:before:bg-yellow-200
before:scale-x-0 before:origin-left
before:transition-transform before:duration-300 before:ease-in-out
hover:before:scale-x-100
hover:text-black dark:hover:text-black
focus:outline-none focus:ring-2 focus:ring-yellow-200 dark:focus:ring-yellow-300"
>
<span className="relative z-10">
Apply to GSoC with AOSSIE
</a>
</Link>
</span>
</a>
</Link>
</div>
</div>
</ContainerPattern>
Expand Down