mobile
This commit is contained in:
1 parent
baf749caa8
commit
3b6f8cf5e4
7 files changed
+168
-24
No files matched your search
@@ -5,10 +5,12 @@ const linkClass = ({ isActive }: { isActive: boolean }) =>
|
||||
|
||||
export function Layout() {
|
||||
return (
|
||||
<div className="h-screen flex flex-col">
|
||||
<header className="flex items-center gap-4 px-4 py-2 border-b border-white/10 bg-panel">
|
||||
<h1 className="text-sm font-semibold tracking-wide text-white">🫀 Atlas 3D de Anatomia</h1>
|
||||
<nav className="flex gap-1">
|
||||
<div className="h-[100dvh] flex flex-col">
|
||||
<header className="flex items-center gap-2 sm:gap-4 px-2 sm:px-4 py-2 border-b border-white/10 bg-panel overflow-x-auto">
|
||||
<h1 className="text-sm font-semibold tracking-wide text-white whitespace-nowrap">
|
||||
🫀 <span className="hidden sm:inline">Atlas 3D de Anatomia</span>
|
||||
</h1>
|
||||
<nav className="flex gap-1 shrink-0">
|
||||
<NavLink to="/" end className={linkClass}>
|
||||
Atlas
|
||||
</NavLink>
|
||||
@@ -23,7 +25,7 @@ export function Layout() {
|
||||
href="https://github.com/LluisV/Z-Anatomy-Sample"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="ml-auto text-[11px] text-slate-500 hover:text-slate-300"
|
||||
className="ml-auto hidden md:inline-block text-[11px] text-slate-500 hover:text-slate-300 shrink-0"
|
||||
>
|
||||
Modelos 3D: projeto Z-Anatomy (CC BY-SA 4.0)
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user