Skip to content

Commit

Permalink
Reorganized variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hannagracec committed Jan 19, 2024
1 parent 71dd9a3 commit 4575863
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions components/PastEventsCarousel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,21 @@ import Link from "next/link";
import 'swiper/css/navigation';

const CAROUSEL_CONTAINER = styles.swiperContainer;
const TILE_CONTAINER = 'flex flex-col xl:h-[650px] lg:h-[700px] md:flex-column md:h-[820px] rounded-[1.875rem] p-[1.875rem] h-[900px]';
const TILE_TEXT_CONTAINER = 'basis-3/5 md:basis-3/5 lg:basis-3/5 text-center md:py-10 ';
const TILE_TEXT_SPACING = 'lg:space-y-48 py-5';
const ARROW_INIT = { left: 'swiper-button-prev', right: 'swiper-button-next' };
const LEFT_NAVIGATION_ARROW = styles.swiperButtonPrev;
const RIGHT_NAVIGATION_ARROW = styles.swiperButtonNext;

const TILE_CONTAINER = 'flex flex-col xl:h-[650px] lg:h-[700px] md:flex-column md:h-[820px] rounded-[1.875rem] p-[1.875rem] h-[900px]';
const TILE_IMAGE_CONTAINER = "flex flex-row justify-center md:flex-row md:justify-around lg:justify-center relative";
const TILE_TEXT_CONTAINER = 'basis-3/5 md:basis-3/5 lg:basis-3/5 text-center md:py-10 ';
const TILE_TEXT_SPACING = 'lg:space-y-48 py-5';

const PAST_EVENTS_CONTAINER = 'bg-[#00D3A9] pb-10';
const PAST_EVENTS_CONTENT = 'px-10 md:px-24 lg:px-48 py-20';
const PAST_EVENTS_HEADER = "flex flex-row";

const LONG_SQUIGGLY_LINE_SVG = "/svgs/events/long_events_squiggly_line.svg";


const TILE_IMAGE_CONTAINER = "flex flex-row justify-center md:flex-row md:justify-around lg:justify-center relative";


const PastEventsTile = ({ event }) => (
<Tile classes={TILE_CONTAINER}>
<div className="basis-3/5 md:basis-3/5 lg:basis-3/5 text-center md:py-10 sm:hidden">
Expand Down

0 comments on commit 4575863

Please sign in to comment.