Skip to content
This repository was archived by the owner on May 4, 2025. It is now read-only.

Commit fae51dd

Browse files
committed
Added footer
1 parent 9bab282 commit fae51dd

File tree

3 files changed

+66
-41
lines changed

3 files changed

+66
-41
lines changed

src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Footer from "./components/footer";
12
import Intro from "./components/intro";
23
import ProjectsPage from "./components/projects";
34

@@ -6,6 +7,7 @@ const ProjectShowcase = () => {
67
<div className="relative">
78
<Intro />
89
<ProjectsPage />
10+
<Footer />
911
</div>
1012
);
1113
};

src/components/footer.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const Footer = () => {
2+
return (
3+
<div className="flex justify-around text-center p-3">
4+
<span className="font-thin">
5+
Made with 💭 by{" "}
6+
<a
7+
href="https://github.com/FOSS-Cell-GECPKD"
8+
target="_blank"
9+
className="underline"
10+
>
11+
FOSS GEC Palakkad
12+
</a>
13+
</span>
14+
</div>
15+
);
16+
};
17+
18+
export default Footer;

src/components/projects.tsx

Lines changed: 46 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)