Skip to content

Commit

Permalink
Merge pull request #122 from ASSETS-Conference/dev
Browse files Browse the repository at this point in the history
fix: fix notice prop in datelist
  • Loading branch information
surajgoraya authored Apr 30, 2024
2 parents 31448b1 + ef536a3 commit ce46bcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/app/authors/doctoral-consortium/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ export default function WorkshopProposals() {
title={"Important Dates and How to Apply"}
spacing={"bottom-only"}
>
<Alert
{/* <Alert
className={"mb-2"}
isNotice
body={`All deadlines are 11:59 P.M. Anywhere on Earth (UTC -12:00).`}
/>
<DateList dates={DOCTORAL_CONSORTIUM_DATES} />
/> */}
<DateList dates={DOCTORAL_CONSORTIUM_DATES} notice={'All deadlines are 11:59 P.M. Anywhere on Earth (UTC -12:00).'} />
<p>
Each Doctoral Consortium applicant must submit a package of
application materials and also request a letter of recommendation from
Expand Down
2 changes: 1 addition & 1 deletion src/app/lib/components/DateList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react";
export function DateList({ dates, notice}) {
return dates && dates.length ? (
<>
{notice ? <p className="pl-4 flex items-center gap-3"><p className=" bg-theme-blue text-white ml-[-1rem] p-2 font-bold">Notice:</p>{notice}</p> : null}
{notice ? <div className="pl-4 flex flex-row items-center gap-3"><p className=" bg-theme-blue text-white ml-[-1rem] p-2 font-bold">Notice:</p><p className="mb-[1rem]">{notice}</p></div> : null}
{dates.map((date, i, all) => {
return (
<MonthContainer
Expand Down

0 comments on commit ce46bcc

Please sign in to comment.