diff --git a/public/icons/locationIcon.svg b/public/icons/locationIcon.svg new file mode 100644 index 0000000..94fb406 --- /dev/null +++ b/public/icons/locationIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/icons/timeIcon.svg b/public/icons/timeIcon.svg new file mode 100644 index 0000000..dea1ba9 --- /dev/null +++ b/public/icons/timeIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/app/events/page.tsx b/src/app/events/page.tsx index 6d9ecf7..3f3321f 100644 --- a/src/app/events/page.tsx +++ b/src/app/events/page.tsx @@ -1,7 +1,16 @@ +import EventCard from "@/components/events/event"; + const Events = () => { return ( -
- This is the Events Page +
+
); }; diff --git a/src/components/events/event.tsx b/src/components/events/event.tsx new file mode 100644 index 0000000..7a6b381 --- /dev/null +++ b/src/components/events/event.tsx @@ -0,0 +1,50 @@ +import Image from "next/image"; +import locationIcon from "@/public/icons/locationIcon.svg"; +import timeIcon from "@/public/icons/timeIcon.svg"; + +const EventCard = (props: { + day: string; + date: string; + title: string; + location: string; + time: string; + description: string; +}) => { + return ( +
+
+
+ {props.day} +
+
+ {props.date} +
+
+
+
+ {props.title} +
+
+
+ Location Icon + {props.location} +
+
+ Time Icon + {props.time} +
+
+
+ {props.description} +
+
+
+ ); +}; + +export default EventCard;