summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-08-14 15:26:10 +0100
committerdiogo464 <[email protected]>2025-08-14 15:26:10 +0100
commitb5b8e31eacebb5a58becd633d1b6e21e678ed9af (patch)
treede73cfa8229e96da3db74c172d5dbfb522ef9615
parent1d50e800b68f18e5fa4d9f0410bc261c51381251 (diff)
feat: improve mobile responsiveness of drive header
- Stack FCT Drive title and auth buttons vertically on mobile - Add clickable link to /drive on FCT Drive title with hover effect - Maintain horizontal layout on desktop screens 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
-rw-r--r--frontend/components/drive/DriveHeader.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend/components/drive/DriveHeader.tsx b/frontend/components/drive/DriveHeader.tsx
index 718d031..ddea927 100644
--- a/frontend/components/drive/DriveHeader.tsx
+++ b/frontend/components/drive/DriveHeader.tsx
@@ -1,13 +1,14 @@
1import { HardDrive } from "lucide-react" 1import { HardDrive } from "lucide-react"
2import { AuthButtons } from "@/components/auth/AuthButtons" 2import { AuthButtons } from "@/components/auth/AuthButtons"
3import Link from "next/link"
3 4
4export async function DriveHeader() { 5export async function DriveHeader() {
5 return ( 6 return (
6 <div className="flex items-center justify-between"> 7 <div className="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between">
7 <div className="flex items-center gap-2"> 8 <Link href="/drive" className="flex items-center gap-2 hover:opacity-80 transition-opacity">
8 <HardDrive className="h-6 w-6" /> 9 <HardDrive className="h-6 w-6" />
9 <h1 className="text-2xl font-bold">FCT Drive</h1> 10 <h1 className="text-2xl font-bold">FCT Drive</h1>
10 </div> 11 </Link>
11 12
12 <AuthButtons /> 13 <AuthButtons />
13 </div> 14 </div>