Skip to content

Commit

Permalink
fixup lint err
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahongsf committed Apr 29, 2024
1 parent f24d1df commit 4fea37b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 11 additions & 1 deletion src/components/nodes/pages/summer-course/summer-course-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@ const SummerCoursePage = ({node, ...props}: Props) => {
>
<div className="flex flex-col justify-center items-center border-archway-dark border-b rs-pb-4 rs-mx-6">
{/* {node.sumCourseStartDate && node.sumCourseEndDate &&
<div>{node.sumCourseStartDate} — {node.sumCourseEndDate}</div>
<div>
{node.sumCourseStartDate.toLocaleDateString("en-US", {
month: "long",
day: "numeric",
year: "numeric"
})} — {node.sumCourseEndDate.toLocaleDateString("en-US", {
month: "long",
day: "numeric",
year: "numeric"
})}
</div>
} */}
<H1 className="font-normal font-roboto w-[900px] text-center">
{node.title}
Expand Down
6 changes: 1 addition & 5 deletions src/components/patterns/arch-banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,9 @@ type Props = HtmlHTMLAttributes<HTMLDivElement> & {
* Eagerly load the banner image.
*/
eagerLoadImage?: Maybe<boolean>
/**
* Position of the text over the image.
*/
overlayPosition?: Maybe<"left" | "right">
}

const ArchBanner = ({imageUrl, imageAlt, eagerLoadImage, isSection, overlayPosition, children, ...props}: Props) => {
const ArchBanner = ({imageUrl, imageAlt, eagerLoadImage, isSection, children, ...props}: Props) => {
const BannerWrapper: ElementType = isSection ? "section" : "div";

return (
Expand Down

0 comments on commit 4fea37b

Please sign in to comment.