Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions src/components/events/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ const Card = ({
time,
}: CardProps) => {
return (
<div className="flex w-full flex-row">
<div className="border-vsa-green-400 bg-vsa-green-300 flex w-1/4 flex-col justify-center rounded-l-md border-2 p-1 text-center text-white">
<p className="text-3xl font-bold">{month}</p>
<p className="text-3xl font-bold">{day}</p>
<p className="font-vsa-alt pt-3 text-lg">{time}</p>
<div className="flex w-full flex-col md:flex-row">
<div className="border-vsa-green-400 bg-vsa-green-300 flex w-full flex-row justify-around rounded-t-md border-2 p-3 text-center text-white md:w-1/4 md:flex-col md:justify-center md:rounded-l-md md:rounded-tr-none md:p-1">
Copy link
Collaborator

Choose a reason for hiding this comment

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

make the width on mobile slightly smaller

<p className="text-2xl font-bold md:text-3xl">{month}</p>
<p className="text-2xl font-bold md:text-3xl">{day}</p>
<p className="font-vsa-alt pt-0 text-base md:pt-3 md:text-lg">{time}</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

make sure this doesn't end up higher than the other text, keep it inline

</div>
<div className="border-vsa-green-400 bg-vsa-yellow-100 w-full rounded-r-md border-2 border-l-0 p-4 text-left">
<p className="text-vsa-pink-300 text-2xl font-bold">{title}</p>
<p className="text-lg font-bold text-black">{location}</p>
<p className="font-vsa-alt text-vsa-brown pt-3 text-sm">
<div className="border-vsa-green-400 bg-vsa-yellow-100 w-full rounded-b-md border-2 border-t-0 p-4 text-left md:rounded-r-md md:rounded-bl-none md:border-l-0 md:border-t-2">
<p className="text-vsa-pink-300 text-xl font-bold md:text-2xl">{title}</p>
<p className="text-base font-bold text-black md:text-lg">{location}</p>
<p className="font-vsa-alt text-vsa-brown pt-2 text-sm md:pt-3">
{description}
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/events/EventBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ interface BoardProps {

const EventsBoard = ({ title, text, children }: BoardProps) => {
return (
<div className="mb-14 w-full max-w-2xl text-center text-2xl">
<p className={` ${text} p-5 text-4xl`}>{title}</p>
<div className="mb-14 w-full max-w-2xl px-4 text-center text-2xl md:px-0">
<p className={` ${text} p-5 text-3xl md:text-4xl`}>{title}</p>
<div className="grid grid-cols-1 place-items-center gap-5">
{children}
</div>
Expand Down
Loading