Skip to content

Commit

Permalink
style: event cards
Browse files Browse the repository at this point in the history
  • Loading branch information
sonylomo committed Nov 15, 2023
1 parent a114809 commit 058704b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/APP/pages/events/sections/eventsSection/Events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@ function Events({ events, isVertical }) {
}}
>
<Link to={`/events/${id}`} className="cursor-pointer">
<img className="rounded-t-lg w-full" src={poster} alt={name} />
<img
className="rounded-t-lg w-full cover h-56 object-cover "
src={poster}
alt={name}
/>

<div className="p-5 text-[#323433]">
<h5 className="mb-2 text-sm font-semibold">{name}</h5>
<p className="mb-3 font-semibold text-xs whitespace-nowrap">
<p className="mb-3 font-medium text-xs whitespace-nowrap">
{format(new Date(date), "EEE, MMM d, yyyy")}{" "}
{format(
parse(start_time, "HH:mm:ss", new Date()),
Expand All @@ -57,7 +61,7 @@ function Events({ events, isVertical }) {
<p className="mb-3 font-normal text-xs">
{location}{" "}
{mode.toLowerCase() === "physical" && (
<span>{city}</span>
<span> {city}</span>
)}
</p>
<button
Expand Down

1 comment on commit 058704b

@vercel
Copy link

@vercel vercel bot commented on 058704b Nov 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

syt-web-redesign – ./

syt-web-redesign-git-main-sytweb.vercel.app
syt-web-redesign.vercel.app
syt-web-redesign-sytweb.vercel.app

Please sign in to comment.