Skip to content

Commit

Permalink
Fix application button
Browse files Browse the repository at this point in the history
  • Loading branch information
aidantrabs committed Apr 7, 2024
1 parent 72531c7 commit c92d406
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
import { NavItems, Menu, Button } from '@components';
import { HawkHacksLogo } from '@assets';
import Hamburger from 'hamburger-react';
import { Link } from 'react-router-dom';
// import { Link } from 'react-router-dom';
import { logEvent, analytics } from '../../utils/Analytics';
import { Link as ScrollLink } from 'react-scroll';

Expand Down Expand Up @@ -49,18 +49,14 @@ const Navbar = () => {
</nav>

<div className="portal-btn hidden transition-all duration-500 ease-in-out lg:mr-32 lg:block">
<Link to="/coming-soon" className="block">
<Button
className="relative font-medium mx-auto block w-64 max-[1080px]:w-48 h-16 rounded-r-lg bg-gradient-to-b from-tbrand to-tbrand-hover before:absolute before:inset-0 before:bg-white before:opacity-0 before:transition before:duration-300 before:hover:opacity-10 sm:mx-0"
tabIndex={-1}
type="button"
onClick={() => {
logEvent(analytics, 'click_application_portal_button');
}}
>
<span className="whitespace-nowrap text-lg font-bold">Application Portal</span>
</Button>
</Link>
<Button
className="relative font-medium mx-auto block w-64 max-[1080px]:w-48 h-16 rounded-r-lg bg-gradient-to-b from-tbrand to-tbrand-hover before:absolute before:inset-0 before:bg-white before:opacity-0 before:transition before:duration-300 before:hover:opacity-10 sm:mx-0"
tabIndex={-1}
type="button"
onClick={handleSubmit}
>
<span className="whitespace-nowrap text-lg font-bold">Application Portal</span>
</Button>
</div>

<div className="banner-holder order-first w-12 lg:hidden"></div>
Expand Down

0 comments on commit c92d406

Please sign in to comment.