1+ import { Button } from "@workspace/ui/components/button" ;
2+ import {
3+ InputGroup ,
4+ InputGroupAddon ,
5+ InputGroupInput ,
6+ } from "@workspace/ui/components/input-group" ;
7+ import { BookOpen , LayoutTemplate , Search , Smartphone } from "lucide-react" ;
8+ import {
9+ Select ,
10+ SelectContent ,
11+ SelectGroup ,
12+ SelectItem ,
13+ SelectLabel ,
14+ SelectTrigger ,
15+ SelectValue ,
16+ } from "@workspace/ui/components/select" ;
17+ import RecentActivity from "./components/recentActivity" ;
18+
119export default function MyProject ( ) {
2- return (
3- < div className = "w-full flex flex-col" > My Project</ div >
4- )
5- }
20+ return (
21+ < div className = "w-full flex flex-col gap-8 py-8" >
22+ < div className = "flex flex-row items-center gap-4" >
23+ < InputGroup className = "w-full max-w-sm bg-white shadow-md h-10" >
24+ < InputGroupInput
25+ id = "input-group-url"
26+ placeholder = "Search Documents"
27+ />
28+ < InputGroupAddon align = { "inline-start" } >
29+ < Search />
30+ </ InputGroupAddon >
31+ </ InputGroup >
32+
33+ < p className = "text-gray-500 text-sm" > Project Type</ p >
34+ < Button
35+ variant = { "outline" }
36+ className = "bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
37+ >
38+ All
39+ </ Button >
40+ < Button
41+ variant = { "outline" }
42+ className = "flex flex-row gap-2 items-center bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
43+ >
44+ < LayoutTemplate />
45+ Web App
46+ </ Button >
47+ < Button
48+ variant = { "outline" }
49+ className = "flex flex-row gap-2 items-center bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
50+ >
51+ < BookOpen />
52+ Research
53+ </ Button >
54+ < Button
55+ variant = { "outline" }
56+ className = "flex flex-row gap-2 items-center bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
57+ >
58+ < Smartphone />
59+ Mobile
60+ </ Button >
61+ </ div >
62+
63+ < div className = "flex flex-row items-center justify-between w-full" >
64+ < div className = "flex flex-row gap-4 items-center w-full" >
65+ < p className = "text-gray-500 text-sm" > Status</ p >
66+ < Button
67+ variant = { "outline" }
68+ className = "bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
69+ >
70+ Any Status
71+ </ Button >
72+ < Button
73+ variant = { "outline" }
74+ className = "bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
75+ >
76+ Draft
77+ </ Button >
78+ < Button
79+ variant = { "outline" }
80+ className = "bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
81+ >
82+ In Progress
83+ </ Button >
84+ < Button
85+ variant = { "outline" }
86+ className = "bg-white text-medium px-3 rounded-xl border-gray-300 hover:shadow-md cursor-pointer hover:translate-y-1"
87+ >
88+ Generated
89+ </ Button >
90+ </ div >
91+
92+ < div className = "flex flex-row items-center gap-3 justify-end w-full" >
93+ < p className = "text-sm text-gray-500" > Short by</ p >
94+ < Select defaultValue = "lastedited" >
95+ < SelectTrigger className = "w-full max-w-48 bg-white shadow-md border-gray-300 cursor-pointer" >
96+ < SelectValue />
97+ </ SelectTrigger >
98+ < SelectContent align = "start" side = "bottom" >
99+ < SelectGroup >
100+ < SelectLabel > Filter</ SelectLabel >
101+ < SelectItem value = "lastedited" > Last Edited</ SelectItem >
102+ < SelectItem value = "1hour" > 1 Hour</ SelectItem >
103+ < SelectItem value = "1day" > 1 Day</ SelectItem >
104+ </ SelectGroup >
105+ </ SelectContent >
106+ </ Select >
107+ </ div >
108+ </ div >
109+
110+ < RecentActivity />
111+ </ div >
112+ ) ;
113+ }
0 commit comments