mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-05-09 04:41:44 -05:00
16 lines
381 B
TypeScript
16 lines
381 B
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { usePathname } from "next/navigation";
|
|
|
|
export default function MobileFooterSpacer() {
|
|
const pathname = usePathname();
|
|
const isHackPage = pathname?.startsWith("/hack/") || false;
|
|
if (!isHackPage) return null;
|
|
return (
|
|
<div className="md:hidden h-[200px] pb-[env(safe-area-inset-bottom)]" aria-hidden="true" />
|
|
);
|
|
}
|
|
|
|
|