From 18673aebab637e8bae3b0ea1ce495a893cd50ca7 Mon Sep 17 00:00:00 2001 From: Lukas <69743171+quick007@users.noreply.github.com> Date: Thu, 29 Feb 2024 19:46:59 -0800 Subject: [PATCH] misc fixes Co-Authored-By: Bloxs <51055767+Blocksnmore@users.noreply.github.com> --- .prettierignore | 3 +- deno.jsonc | 2 +- emails/login.tsx | 5 +- islands/events/editing/showtimeSelector.tsx | 16 +-- islands/events/viewing/register/index.tsx | 42 +++--- islands/events/viewing/register/login.tsx | 6 +- islands/loginForm.tsx | 14 +- routes/api/events/ticket/index.ts | 10 +- routes/events/(pages)/attending/_layout.tsx | 2 +- routes/events/(pages)/attending/index.tsx | 10 +- routes/events/[id]/(no-layout)/index.tsx | 142 ++++++++++---------- 11 files changed, 126 insertions(+), 126 deletions(-) diff --git a/.prettierignore b/.prettierignore index 0b09f47..5586fe9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,5 @@ googlea82f3fcba9c8e379.html _fresh/ /db /static/output.css -/out \ No newline at end of file +/out +.react-email \ No newline at end of file diff --git a/deno.jsonc b/deno.jsonc index 9ee99a5..84a029d 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -33,5 +33,5 @@ "@react-email/components": "npm:@react-email/components" }, "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, - "exclude": ["**/_fresh/*"] + "exclude": ["**/_fresh/*", "./.react-email/*"] } diff --git a/emails/login.tsx b/emails/login.tsx index 53104ff..27c13e3 100644 --- a/emails/login.tsx +++ b/emails/login.tsx @@ -38,7 +38,10 @@ export default function LoginEmail({ otp = "123456" }: { otp: string }) { }} >
-- {emailInputted ? "To verify that you're you, please enter the code we emailed you below" : "We just emailed you a login code! Please enter it below."} + {emailInputted + ? "To verify that you're you, please enter the code we emailed you below" + : "We just emailed you a login code! Please enter it below."}
{event.showTimes.length > 1 && "Begins"}{" "}
- {event.showTimes[0].startTime
- ? (
- fmtDate(new Date(event.showTimes[0].startDate))
- )
- : (
- /* force dates to be the same across timezones if there's no startime */
-
The last day to get tickets is{" "}
-
- You're already registered for this event! Edit or view - ticket below. -
- -+ You're already registered for this event! Edit or view ticket + below. +
+ +