@@ -32,51 +32,56 @@ const ProjectsPage = () => {
3232 className = "min-h-screen m-10"
3333 >
3434 < div className = "max-w-7xl mx-auto" >
35- < div className = "grid justify-center md:flex md:justify-between p-3 text-center" >
36- < h1 className = "text-4xl font-bold text-gray-900 mb-4" > Breakpoint;</ h1 >
37- < a
38- className = "flex justify-self-center h-fit w-fit p-2 bg-black rounded-md text-white"
39- href = "https://github.com/Ranger-NF/Breakpoint?tab=readme-ov-file#how-to-add-your-project"
40- >
41- < PlusIcon />
42- Add my project
43- </ a >
44- </ div >
45- { /* Search and Filter Section */ }
46- < div className = "flex flex-wrap justify-center gap-4 mb-8" >
47- < div className = "relative flex-grow " >
48- < Search
49- className = "absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"
50- size = { 20 }
51- />
52- < input
53- type = "text"
54- placeholder = "Search projects..."
55- className = "pl-10 pr-4 py-2 w-full border rounded-lg"
56- value = { searchTerm }
57- onChange = { ( e ) => setSearchTerm ( e . target . value ) }
58- />
35+ < div className = "" >
36+ < div className = "grid justify-center md:flex md:justify-between text-center" >
37+ < h1 className = "text-4xl font-bold text-gray-900 mb-4" >
38+ Breakpoint;
39+ </ h1 >
40+ < a
41+ className = "flex justify-self-center h-fit w-fit p-2 bg-black rounded-md text-white"
42+ href = "https://github.com/FOSS-Cell-GECPKD/Breakpoint?tab=readme-ov-file#how-to-add-your-project"
43+ >
44+ < PlusIcon />
45+ Add my project
46+ </ a >
5947 </ div >
6048
61- < select
62- className = "border rounded-lg px-4 py-2 bg-white"
63- value = { selectedTag }
64- onChange = { ( e ) => setSelectedTag ( e . target . value ) }
65- >
66- < option value = "" > All Tags</ option >
67- { allTags . map ( ( tag ) => (
68- < option
69- key = { tag }
70- value = { tag }
71- className = "text-red bg-white border border-black"
72- >
73- { tag }
74- </ option >
75- ) ) }
76- </ select >
49+ { /* Search and filter */ }
50+ < div className = "flex flex-wrap justify-center gap-4 mb-8" >
51+ < div className = "relative flex-grow " >
52+ < Search
53+ className = "absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"
54+ size = { 20 }
55+ />
56+ < input
57+ type = "text"
58+ placeholder = "Search projects..."
59+ className = "pl-10 pr-4 py-2 w-full border rounded-lg"
60+ value = { searchTerm }
61+ onChange = { ( e ) => setSearchTerm ( e . target . value ) }
62+ />
63+ </ div >
64+
65+ < select
66+ className = "border rounded-lg px-4 py-2 bg-white"
67+ value = { selectedTag }
68+ onChange = { ( e ) => setSelectedTag ( e . target . value ) }
69+ >
70+ < option value = "" > All Tags</ option >
71+ { allTags . map ( ( tag ) => (
72+ < option
73+ key = { tag }
74+ value = { tag }
75+ className = "text-red bg-white border border-black"
76+ >
77+ { tag }
78+ </ option >
79+ ) ) }
80+ </ select >
81+ </ div >
7782 </ div >
7883
79- { /* Projects Grid */ }
84+ { /* Projects grid */ }
8085 < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" >
8186 { filteredProjects . map ( ( project ) => (
8287 < a
0 commit comments