From d239d3f2c28e57e211ec340b126a8716b1999800 Mon Sep 17 00:00:00 2001 From: surajgoraya Date: Thu, 22 Aug 2024 19:19:00 -0400 Subject: [PATCH 1/2] feat: :lipstick: new colour for alerts --- src/app/lib/components/Alert.js | 12 +++++++----- tailwind.config.js | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/app/lib/components/Alert.js b/src/app/lib/components/Alert.js index e9f5f24..a352079 100644 --- a/src/app/lib/components/Alert.js +++ b/src/app/lib/components/Alert.js @@ -42,16 +42,18 @@ export default function Alert({ type === "warning" ? "bg-theme-red" : type === "changes" - ? "bg-theme-dark" + ? "bg-theme-orange" : "bg-theme-blue" } bg-theme-blue text-white p-4 flex flex-row gap-2 ${ heading ? "items-start" : "items-center" - } ${className}`} + } max-w-[100%] ${className}`} > {switchAlertType(type, heading)} -
- {heading ?

{heading}

: null} - {raw ? children :

{body}

} +
+ {heading ? ( +

{heading}

+ ) : null} +
{raw ? children :

{body}

}
); diff --git a/tailwind.config.js b/tailwind.config.js index 60cfca7..e479a86 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -13,6 +13,7 @@ module.exports = { "theme-off-white": "#D4D4D4", "theme-red": "#592321", // "theme-blue": "#4597BA", + "theme-orange": "#A74A07", "theme-blue": "#367691", "primary-text-light": "var(--primary-light)", "primary-text-dark": "var(--primary-dark)", From b3f59e5ed168eebb12af8489be3a47e8f6a880e0 Mon Sep 17 00:00:00 2001 From: surajgoraya Date: Thu, 22 Aug 2024 19:19:27 -0400 Subject: [PATCH 2/2] fix: :pencil: update the copy for hotel alert --- src/app/page.js | 268 +++++++++++++++++++++++++----------------------- 1 file changed, 142 insertions(+), 126 deletions(-) diff --git a/src/app/page.js b/src/app/page.js index cbd136d..e59efcf 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -5,13 +5,13 @@ import Container from "./lib/components/primitives/Container"; import Link from "./lib/components/primitives/Link"; import Section from "./lib/components/primitives/Section"; import { - DOCTORAL_CONSORTIUM_DATES, - EXPERIENCE_REPORTS_DATES, - POSTER_DEMOS_DATES, - STUDENT_RESEARCH_DATES, - MAIN_DEADLINES, - TECHNICAL_PAPERS_SUBPAGE_DEADLINES, - WORKSHOP_PROPOSAL_DATES, + DOCTORAL_CONSORTIUM_DATES, + EXPERIENCE_REPORTS_DATES, + POSTER_DEMOS_DATES, + STUDENT_RESEARCH_DATES, + MAIN_DEADLINES, + TECHNICAL_PAPERS_SUBPAGE_DEADLINES, + WORKSHOP_PROPOSAL_DATES, } from "./lib/config/importantdates.config"; import { createMetadata } from "./lib/utils/createMetadata"; import Alert from "./lib/components/Alert"; @@ -19,127 +19,143 @@ import { mergeDates } from "./lib/utils/mergeDates"; export const metadata = createMetadata({ title: "Home" }); export default function Home() { - // const mergedDates = mergeDates( - // TECHNICAL_PAPERS_SUBPAGE_DEADLINES, - // POSTER_DEMOS_DATES, - // EXPERIENCE_REPORTS_DATES, - // DOCTORAL_CONSORTIUM_DATES, - // STUDENT_RESEARCH_DATES, - // WORKSHOP_PROPOSAL_DATES - // ); + // const mergedDates = mergeDates( + // TECHNICAL_PAPERS_SUBPAGE_DEADLINES, + // POSTER_DEMOS_DATES, + // EXPERIENCE_REPORTS_DATES, + // DOCTORAL_CONSORTIUM_DATES, + // STUDENT_RESEARCH_DATES, + // WORKSHOP_PROPOSAL_DATES + // ); - return ( - <> -
- - -
- -

- {`Full details of our in-person and virtual conference experiences will be published as they become available. In the meantime, we have opened registration on the `} - - CVENT Registration Site - + return ( + <> +

+ + +
+ +

+ {`Full details of our in-person and virtual conference experiences will be published as they become available. In the meantime, we have opened registration on the `} + + CVENT Registration Site + - {` to support attendees who may need additional time to make plans (e.g., travel, visa).`} -

-
- -

- {`The hotel is offering ASSETS attendees a group rate of CAD$199 per night. Please use the `} - - {`ASSETS’24 Sheraton Hotel Newfoundland booking link`} - - {` to make your reservation.`} -

-
-
-
- -
-
-

{`The 26th International ACM SIGACCESS Conference on Computers and Accessibility.`}

-

{`The ASSETS conference is the premier forum for presenting research on the design, evaluation, use, and education related to computing for people with disabilities and older adults. For those in Europe and Oceania, ASSETS is rated as Core A — a designation for the top academic conferences that are "highly respected in a discipline area" (Core A; Top 16%).`}

-

- {`We invite high-quality original submissions on topics relevant to computing and accessibility. All contributions are peer-reviewed by an international Program Committee. Accepted papers and the abstracts for posters and demonstrations, experience reports, and the student research competition will be archived in the ACM Digital Library. Authors of selected papers will be invited to submit extended versions of their papers to a special issue of the`}{" "} - {`ACM Transactions on Accessible Computing (TACCESS)`} - . -

-
-
-
- -
-
-
-

- {`The ASSETS 2024 Conference will be held at `}{" "} - - Sheraton Hotel Newfoundland - {" "} - {`in downtown St. John's, Newfoundland and Labrador.`} -

-

- {`115 Cavendish Square, St. John's, Newfoundland and Labrador, Canada, A1C 3K2`} -

-
+ {` to support attendees who may need additional time to make plans (e.g., travel, visa).`} +

+ + + {/*
*/} +

+ {`The hotel is offering ASSETS attendees a group rate of CAD$199 per night. Please use the `} + + {`ASSETS'24 Sheraton Hotel Newfoundland booking link`} + + {` to make your reservation.`} +

+

+ {` If you find that the booking link says there is no availability + for your desired dates, we recommend emailing `} + + reservations@sheratonhotelnewfoundland.com + + {` to ask their help with checking availability and assisting with + the booking. Please tell them that you are booking for + ASSETS'24.`} +

+

+ {`For more information, please see the `} + {`Attending Overview`} + {` page.`} +

+ {/*
*/} +
+
+
+ +
+
+

{`The 26th International ACM SIGACCESS Conference on Computers and Accessibility.`}

+

{`The ASSETS conference is the premier forum for presenting research on the design, evaluation, use, and education related to computing for people with disabilities and older adults. For those in Europe and Oceania, ASSETS is rated as Core A — a designation for the top academic conferences that are "highly respected in a discipline area" (Core A; Top 16%).`}

+

+ {`We invite high-quality original submissions on topics relevant to computing and accessibility. All contributions are peer-reviewed by an international Program Committee. Accepted papers and the abstracts for posters and demonstrations, experience reports, and the student research competition will be archived in the ACM Digital Library. Authors of selected papers will be invited to submit extended versions of their papers to a special issue of the`}{" "} + {`ACM Transactions on Accessible Computing (TACCESS)`} + . +

+
+ +
+ +
+
+
+

+ {`The ASSETS 2024 Conference will be held at `}{" "} + + Sheraton Hotel Newfoundland + {" "} + {`in downtown St. John's, Newfoundland and Labrador.`} +

+

+ {`115 Cavendish Square, St. John's, Newfoundland and Labrador, Canada, A1C 3K2`} +

+
-
- The Sheraton Hotel Newfoundland building in front of a night sky. -
-
-
-
+
+ The Sheraton Hotel Newfoundland building in front of a night sky.
-
- - ); +
+ +
+ +
+ + ); }