File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { GithubIcon } from "@/components/icons/github" ;
2+ import { SearchIcon } from "@/components/icons/search" ;
3+ import { VisualStudioCodeIcon } from "@/components/icons/vscode" ;
4+ import { WindowsIcon } from "@/components/icons/windows" ;
5+ import { cn } from "@/lib/utils" ;
6+
7+ const menuItems = [
8+ {
9+ name : 'Windows' ,
10+ href : '#' ,
11+ icon : WindowsIcon ,
12+ className : '' ,
13+ } ,
14+ {
15+ name : 'Search' ,
16+ href : '#' ,
17+ icon : SearchIcon ,
18+ className : 'text-gray-500 size-6' ,
19+ } ,
20+ {
21+ name : 'GitHub' ,
22+ href : '#' ,
23+ icon : GithubIcon ,
24+ className : 'text-gray-600 size-7' ,
25+ } ,
26+ {
27+ name : 'VS Code' ,
28+ href : '#' ,
29+ icon : VisualStudioCodeIcon ,
30+ className : 'text-blue-500 size-7 mt-0.5' ,
31+ } ,
32+ ] ;
33+
34+
35+ export default function HomePage ( ) {
36+ return (
37+ < main className = "min-h-screen relative bg-amber-50" >
38+ < footer className = "fixed bottom-0 inset-x-0 border-t backdrop-blur-sm border-black/5 bg-white/50" >
39+ < ul className = "flex w-full max-w-3xl mx-auto justify-center py-1.5 gap-1" >
40+ { menuItems . map ( ( item ) => (
41+ < li key = { item . name } >
42+ < a href = { item . href } className = "relative flex items-center justify-center size-9 rounded-lg hover:bg-white hover:shadow-lg duration-400 shadow-black/10 transition-colors" >
43+ < item . icon className = { cn ( 'size-7 text-gray-600' , item . className ) } />
44+ </ a >
45+ </ li >
46+ ) ) }
47+ </ ul >
48+ </ footer >
49+ </ main >
50+ ) ;
51+ }
You can’t perform that action at this time.
0 commit comments