Skip to content

Commit

Permalink
Merge pull request #117 from IEEEUCSC/main
Browse files Browse the repository at this point in the history
Add
  • Loading branch information
Udeesha-Prabhashana authored Feb 5, 2024
2 parents 2d928c4 + 2f62424 commit 84723ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Frontend/src/Components/NavBar/Navabr2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,26 @@ const Navbar: React.FC = () => {
<div className="flex flex-col md:flex-row justify-between items-right ml-0 mt-2 mr-1 md:mr-1 mb-1 md:mb-1 px-2 md:px-9 py-5 md:pt-3 md:pb-10">
<div className="flex items-center">
<a href="/" className="block md:hidden">
<HashLink smooth to="/#">
<img
className="relative inline-block h-15 w-9 ml-8 mt-0"
src={mobileLogo}
alt="mobile-logo"
/>
/>
</HashLink>
</a>

<a
href="https://hackaholics.ucscieee.lk/"
href="/"
className="hidden md:block mt-1"
>
<HashLink smooth to="/#">
<img
className="absolute inline-block h-14 ml-0 mt-0 "
src={logo}
alt="wie-logo"
/>
</HashLink>
</a>

<div className="md:hidden mt-2 flex justify-end items-end absolute top-5 right-10">
Expand Down
2 changes: 1 addition & 1 deletion Frontend/src/Components/Timer/Time.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Countdown: React.FC<{ targetDate: Date }> = ({ targetDate }) => {
}, 1000);

return () => clearInterval(timer);
}, [targetDate]);
}, [targetDate , calculateTimeRemaining]);

return (
<div className="flex flex-col md:flex-row items-center content-center justify-center h-screen">
Expand Down

0 comments on commit 84723ef

Please sign in to comment.