@@ -5,41 +5,30 @@ import { Toaster } from "@/components/ui/toaster";
5
5
import Home from "@/pages/home" ;
6
6
import CalendarView from "@/pages/calendar-view" ;
7
7
import MeView from "@/pages/me-view" ;
8
- import { ListTodo , Calendar , User , Plus } from "lucide-react" ;
9
- import { Button } from "@/components/ui/button" ;
8
+ import { ListTodo , Calendar , User } from "lucide-react" ;
10
9
11
10
function Navigation ( ) {
12
11
const [ location ] = useLocation ( ) ;
13
12
14
13
return (
15
- < nav className = "fixed bottom-0 left-0 right-0 bg-background border-t py-3 shadow-lg " >
16
- < div className = "container max-w-5xl mx-auto flex justify-around items-center relative " >
14
+ < nav className = "fixed bottom-0 left-0 right-0 bg-background border-t py-2 " >
15
+ < div className = "container max-w-5xl mx-auto flex justify-around items-center" >
17
16
< Link href = "/" >
18
- < a className = { `flex flex-col items-center gap-1.5 min-w-[64px] ${ location === "/" ? "text-primary" : "text-muted-foreground" } ` } >
19
- < ListTodo className = "h-6 w-6 " />
20
- < span className = "text-xs font-medium " > Tasks</ span >
17
+ < a className = { `flex flex-col items-center gap-1 ${ location === "/" ? "text-primary" : "text-muted-foreground" } ` } >
18
+ < ListTodo className = "h-5 w-5 " />
19
+ < span className = "text-xs" > Tasks</ span >
21
20
</ a >
22
21
</ Link >
23
22
< Link href = "/calendar" >
24
- < a className = { `flex flex-col items-center gap-1.5 min-w-[64px] ${ location === "/calendar" ? "text-primary" : "text-muted-foreground" } ` } >
25
- < Calendar className = "h-6 w-6 " />
26
- < span className = "text-xs font-medium " > Calendar</ span >
23
+ < a className = { `flex flex-col items-center gap-1 ${ location === "/calendar" ? "text-primary" : "text-muted-foreground" } ` } >
24
+ < Calendar className = "h-5 w-5 " />
25
+ < span className = "text-xs" > Calendar</ span >
27
26
</ a >
28
27
</ Link >
29
-
30
- { /* Floating Action Button for adding tasks */ }
31
- < Button
32
- size = "icon"
33
- className = "absolute -top-6 left-1/2 -translate-x-1/2 h-12 w-12 rounded-full shadow-lg"
34
- >
35
- < Plus className = "h-6 w-6" />
36
- < span className = "sr-only" > Add Task</ span >
37
- </ Button >
38
-
39
28
< Link href = "/me" >
40
- < a className = { `flex flex-col items-center gap-1.5 min-w-[64px] ${ location === "/me" ? "text-primary" : "text-muted-foreground" } ` } >
41
- < User className = "h-6 w-6 " />
42
- < span className = "text-xs font-medium " > Me</ span >
29
+ < a className = { `flex flex-col items-center gap-1 ${ location === "/me" ? "text-primary" : "text-muted-foreground" } ` } >
30
+ < User className = "h-5 w-5 " />
31
+ < span className = "text-xs" > Me</ span >
43
32
</ a >
44
33
</ Link >
45
34
</ div >
@@ -49,15 +38,15 @@ function Navigation() {
49
38
50
39
function Router ( ) {
51
40
return (
52
- < div className = "min-h-screen bg-background pb-20 " >
53
- < header className = "py-4 px-4 border-b bg-background/80 backdrop-blur-sm fixed top-0 left-0 right-0 z-10 " >
41
+ < div className = "min-h-screen bg-background pb-16 " >
42
+ < header className = "py-6 px-4 border-b" >
54
43
< div className = "container max-w-5xl mx-auto flex justify-center items-center" >
55
- < h1 className = "text-2xl font-bold bg-gradient-to-r from-primary to-primary/70 bg-clip-text text-transparent animate-in fade-in slide-in-from-bottom-4 duration-1000" >
44
+ < h1 className = "text-3xl font-bold bg-gradient-to-r from-primary to-primary/70 bg-clip-text text-transparent animate-in fade-in slide-in-from-bottom-4 duration-1000" >
56
45
TaskByte
57
46
</ h1 >
58
47
</ div >
59
48
</ header >
60
- < main className = "container max-w-5xl mx-auto px-4 pt-16 " >
49
+ < main className = "container max-w-5xl mx-auto px-4" >
61
50
< Switch >
62
51
< Route path = "/" component = { Home } />
63
52
< Route path = "/calendar" component = { CalendarView } />
0 commit comments