From 63d5001bab2a7c85e0e4402f9bd011a0fd169877 Mon Sep 17 00:00:00 2001 From: Shirley Duong Date: Thu, 14 Nov 2024 20:43:46 -0800 Subject: [PATCH] responsify waiver form for iPad and mobile --- src/app/waiver/page.tsx | 55 +++++++++++++++++------------- src/components/home/FormHeader.tsx | 2 +- 2 files changed, 33 insertions(+), 24 deletions(-) diff --git a/src/app/waiver/page.tsx b/src/app/waiver/page.tsx index bafcf06..9fa7d98 100644 --- a/src/app/waiver/page.tsx +++ b/src/app/waiver/page.tsx @@ -16,9 +16,9 @@ const Page = () => { if (isSubmitted) { return ( -
+
{/* */} - Logo + Logo Waiver Submitted
); @@ -43,54 +43,54 @@ const Page = () => { action="https://docs.google.com/forms/u/0/d/e/1FAIpQLSfS4aJMDkT38HO6gdTpiS6ucxbZ84SJOMWLGQGbCBbxQ9BlsA/formResponse" onSubmit={() => (window.submitted = true)} target="hidden_iframe" - className="mt-5 w-[45%] space-y-4" + className="mt-5 w-[78%] space-y-4 md:w-[63%] lg:w-[45%]" > {/* Name Field */}
-
{/* Net ID Field */}
-
{/* Emergency Contact Field */}
-
{/* Terms and Agreements */} -
+

Before you box- Go to the front desk:

-
    +
    • - Sign in upon entrance
    • - Check in.out any borrowed gear
    • @@ -102,7 +102,7 @@ const Page = () => {

      Before you box- Go to the front desk:

      -
        +
        • - Shirts must be worn on the gym floor at all times.
        • - No cursing or foul language on the premises
        • @@ -127,7 +127,7 @@ const Page = () => {

        Ethics and Dicipline

        -
          +
          • - Do not use your newly acquired skills outside of the gym. We are not here to teach you to harm others. @@ -142,7 +142,7 @@ const Page = () => {

          Infractions

          -
            +
            • - All Students are expected to abide by the rules within tutoring and training. @@ -176,15 +176,18 @@ const Page = () => { className="mr-5 h-7 w-7 border-4 border-white hover:cursor-pointer" required /> -
-
+

Waiver of Liability

-
    +
    • ~ I (we), individually (or as Parent/Guardian(s) if applicable), understand and apprecite that participation in sports carries a @@ -223,12 +226,15 @@ const Page = () => { className="mr-5 h-7 w-7 border-4 border-white hover:cursor-pointer" required /> -
-
+
I (we) (or as the Parent/Guardian of the applicant) , hereby consent to the membership of said applicant at RAINCROSS BOXING ACADEMY, to which this form applies and for myself (oursleves) , my (our) heirs, @@ -248,17 +254,20 @@ const Page = () => { className="mr-5 h-7 w-7 border-4 border-white text-hlg-dark-gray hover:cursor-pointer" required /> -
{/* Signature Field */}
-
diff --git a/src/components/home/FormHeader.tsx b/src/components/home/FormHeader.tsx index e193d8e..432967e 100644 --- a/src/components/home/FormHeader.tsx +++ b/src/components/home/FormHeader.tsx @@ -1,6 +1,6 @@ const FormHeader = (props: { txt: string }) => { return ( -
+
{props.txt}
);