Skip to content

Commit

Permalink
feat: Completed header and search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydelal13 committed Jul 25, 2024
1 parent 420f634 commit 3559b8f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 62 deletions.
24 changes: 0 additions & 24 deletions web/src/components/EventCard.tsx

This file was deleted.

55 changes: 17 additions & 38 deletions web/src/pages/Event.tsx
Original file line number Diff line number Diff line change
@@ -1,47 +1,26 @@
import EventCard from "../components/EventCard";
import { EventType } from "../utils/FrontendTypes";
import Navbar from "../components/Navbar";
import cupcake from "../assets/cupcake.svg";


export default function Event() {
return (
<>
<div className="max-w-screen h-auto bg-light-pink py-8 px-4 sm:px-8">
<h1 className="text-3xl sm:text-4xl md:text-5xl font-bold font-raleway text-brown">
Events Page
</h1>
<div className="flex flex-col md:flex-row gap-x-16 p-5 sm:gap-y-16 ">
<div className="w-full md:w-1/3 text-center">
{/* fix small padding issue */}
<EventCard
event={{
name: "test",
date: "test",
description: "test",
image: "test",
}}
/>
</div>
<div className="w-full md:w-1/3 text-center">
<EventCard
event={{
name: "test",
date: "test",
description: "test",
image: "test",
}}
/>
</div>
<div className="w-full md:w-1/3 text-center">
<EventCard
event={{
name: "test",
date: "test",
description: "test",
image: "test",
}}
/>
</div>
<Navbar />

<div className="max-w-screen bg-light-pink h-96 p-10">
<div className="w-full h-auto flex justify-between">
<h1 className="pt-5 text-brown text-4xl font-raleway font-bold">Events</h1>
<img className="h-24" src={cupcake} alt="Cupcake" />
</div>
<div className="w-full h-auto">
<input
type="text"
className="bg-white w-full h-14 px-5 rounded-2xl focus:outline-none focus:ring-2 focus:ring-pink"
placeholder="Search Events..."
/>
</div>
</div>

</>
);
}

0 comments on commit 3559b8f

Please sign in to comment.