toggleDrawerOpen()}
diff --git a/src/Components/Navbar/Navbar.tsx b/src/Components/Navbar/Navbar.tsx
index 8bbe721..9125eef 100644
--- a/src/Components/Navbar/Navbar.tsx
+++ b/src/Components/Navbar/Navbar.tsx
@@ -40,40 +40,29 @@ export const navLinks = [
export default function Navbar() {
const dispatch = useAppDispatch();
- // const { isWalletConnected, isMobileScreen } = useAppSelector((state) => ({
- // isWalletConnected: state.wallet.isConnected,
- // isMobileScreen: state.ui.isMobileScreen
- // }));
const isLargeScreen = useMediaQuery(MEDIA_QUERIES.isLarge)
useEffect(() => {
const nav = document.querySelector("nav");
-
- let oldPadding = '';
if (nav) {
const navStyles = getComputedStyle(nav);
if (navStyles.display !== "none") {
dispatch(setNavHeight(nav.clientHeight));
- oldPadding = document.body.style.paddingTop
- document.body.style.paddingTop = `${nav.clientHeight}px`;
}
}
- return () => {
- document.body.style.paddingTop = oldPadding
- }
}, [dispatch])
return (
- <>
+
{(isLargeScreen) ?
:
}
- >
+
);
}
diff --git a/src/features/Hackathons/Components/SortByFilter/SortByFilter.tsx b/src/features/Hackathons/Components/SortByFilter/SortByFilter.tsx
index 06434c4..037b88c 100644
--- a/src/features/Hackathons/Components/SortByFilter/SortByFilter.tsx
+++ b/src/features/Hackathons/Components/SortByFilter/SortByFilter.tsx
@@ -38,36 +38,19 @@ export default function SortByFilter({ filterChanged }: Props) {
return (
- <>
- {
- isMdScreen ?
-
- < p className="text-body2 font-bolder text-black mb-16" > Sort By
-
- {filters.map((f, idx) => - filterClicked(f.value)}
- role='button'
- >
- {f.text}
-
)}
-
-
- :
-
filterClicked(o ? o.value : null)} />
- }>
+
+ {filters.map((f, idx) => - filterClicked(f.value)}
+ role='button'
+ >
+ {f.text}
+
)}
+
)
}
diff --git a/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx b/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx
index 817afe6..11370b6 100644
--- a/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx
+++ b/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx
@@ -7,6 +7,7 @@ import HackathonsList from '../../Components/HackathonsList/HackathonsList'
import SortByFilter from '../../Components/SortByFilter/SortByFilter'
import styles from './styles.module.scss'
import { Helmet } from 'react-helmet'
+import { Fulgur } from 'src/Components/Ads/Fulgur'
export default function HackathonsPage() {
@@ -54,6 +55,9 @@ export default function HackathonsPage() {
>
List Your Hackathon
+
+
+