diff --git a/src/components/FullscreenModal.tsx b/src/components/FullscreenModal.tsx index f1bf46d..a93811f 100644 --- a/src/components/FullscreenModal.tsx +++ b/src/components/FullscreenModal.tsx @@ -23,6 +23,7 @@ export function FullscreenModal({
diff --git a/src/components/nav/TopNav.tsx b/src/components/nav/TopNav.tsx new file mode 100644 index 0000000..0034eba --- /dev/null +++ b/src/components/nav/TopNav.tsx @@ -0,0 +1,71 @@ +import { css } from "@emotion/react"; + +const TOP_PANEL_HEIGHT = "3rem"; +const BORDER_COLOR = "#ededf290"; + +const breakpoints = [768]; +const mq = breakpoints.map((bp) => `@media (max-width: ${bp}px)`); + +export function TopNav() { + return ( +
+
+ + 🗺️ Map3d + +
+ +
+ +
+
+ ); +} diff --git a/src/ui/App.tsx b/src/ui/App.tsx index 7094296..d226e53 100644 --- a/src/ui/App.tsx +++ b/src/ui/App.tsx @@ -16,6 +16,7 @@ import { ChevronLeft, ChevronRight, Download } from "lucide-react"; import { useAreaStore } from "@/state/areaStore"; import { useActionStore } from "@/state/exportStore"; import { Modal } from "@/components/modal/Modal"; +import { TopNav } from "@/components/nav/TopNav"; const IconSize = css({ width: "14px", @@ -75,6 +76,8 @@ function App() { return (
+ +