Skip to content

Commit

Permalink
fix: nav links and button
Browse files Browse the repository at this point in the history
  • Loading branch information
SANTHSIM22 committed Nov 4, 2024
1 parent 13fc6ac commit 3797895
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/edil-ozi/text-glitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const TextGlitchEffect: FC<Props> = ({ textOne, textTwo, className }) => {
)}
>
<span className="invisible whitespace-nowrap">{textOne}</span>
<span className="absolute left-0 top-0 text-whiteTheme md:text-whiteTheme transition-transform duration-300 ease-in-out group-hover:-translate-y-full whitespace-nowrap">
<span className="absolute left-0 top-0 text-blackTheme md:text-blackTheme transition-transform duration-300 ease-in-out group-hover:-translate-y-full whitespace-nowrap">
{textOne}
</span>
<span className="absolute left-0 top-0 translate-y-full transition-transform duration-300 ease-in-out group-hover:translate-y-0 text-redTheme whitespace-nowrap">
Expand Down
13 changes: 8 additions & 5 deletions src/components/widget/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import { ScrollTrigger } from "gsap/ScrollTrigger";
import { tedxsjecAssetsPrefix } from "@/lib/utils";
import React from "react";
import Link from "next/link";
import SocialLinks from "../common/social-links";
import NavItem from "../navbar/nav-items";

import { Button } from "../ui/button";
const Nav = () => {
gsap.registerPlugin(ScrollTrigger);

Expand Down Expand Up @@ -172,9 +171,13 @@ const Nav = () => {
<NavItem textOne="CONTACT" textTwo="CONTACT" onClick={() => handleClick('contact')} />
<li className="list-none listo overflow-hidden leading-[1] font-bold text-white mt-[30px]">
<Link href="/">
<button className="px-8 shadow-sm py-5 rounded-md bg-[#EB0028]">
REGISTER
</button>
<Button
size="lg"
className="bg-red-600 hover:bg-red-700 text-white py-4 "
>
Registrations Open Soon
{/* <ArrowRight className="ml-2" /> */}
</Button>
</Link>
</li>
</ul>
Expand Down

0 comments on commit 3797895

Please sign in to comment.