From aa7de9fa738723bcb2b364593578df74372b2ce4 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Wed, 9 Oct 2024 11:33:57 +0700 Subject: [PATCH] Refactor component and page structure for responsiveness and improve form layout --- src/app/business/apply/page.tsx | 110 +++++++++++++++++++++++++++----- 1 file changed, 95 insertions(+), 15 deletions(-) diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index ce84094..c9fc720 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -1,4 +1,5 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { @@ -16,6 +17,7 @@ import { useEffect, useState } from "react"; export default function Apply() { let supabase = createSupabaseClient(); const [industry, setIndustry] = useState([]); + const [isInUS, setIsInUS] = useState(""); const fetchIndustry = async () => { let { data: BusinessType, error } = await supabase @@ -57,20 +59,23 @@ export default function Apply() { All requested information in this section is required.

{/* form */} -
- {/* company name */} - -
- - - This should be the name your company uses on your
- website and in the market. -
+ + {/* company name */} +
+
+ +
+ + + This should be the name your company uses on your
+ website and in the market. +
+
-
- {/* industry */} + {/* industry */} +
@@ -89,8 +94,83 @@ export default function Apply() { - This should be the name your company uses on your
- website and in the market. + Choose the industry that best aligns with your business. +
+
+
+ {/* How much money has your company raised to date? */} +
+ +
+ + + The sum total of past financing, including angel or venture{" "} +
+ capital, loans, grants, or token sales. +
+
+
+ {/* Is your company incorporated in the United States? */} +
+ +
+
+ + +
+ + Only companies that are incorporated or formed in the US are{" "} +
+ eligible to raise via Reg CF. If your company is incorporated{" "} +
+ outside the US, we still encourage you to apply. +
+
+
+ + {/* Is your product available (for sale) in market? */} +
+ +
+
+ + +
+ + Only check this box if customers can access, use, or buy your{" "} +
+ product today.