File size: 908 Bytes
9580dce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"use client";

import { Brain } from "lucide-react";

/**
 * MobileNav — top bar shown on small screens (md:hidden).
 * Navigation is handled by BottomTabNav; this just provides the app
 * branding header so content doesn't sit flush against the status bar.
 */
export function MobileNav() {
  return (
    <header
      className="md:hidden fixed top-0 left-0 right-0 z-40 flex items-center px-4 py-3 border-b"
      style={{
        background: "var(--surface-1)",
        borderColor: "rgba(255,255,255,0.06)",
        paddingTop: "calc(0.75rem + env(safe-area-inset-top))",
      }}
    >
      <div className="flex items-center gap-2">
        <Brain size={20} style={{ color: "var(--primary)" }} />
        <span
          className="font-bold text-base tracking-tight"
          style={{ fontFamily: "var(--font-mono)" }}
        >
          RotNot
        </span>
      </div>
    </header>
  );
}