From c93b05ab45b18239cc0c1ef436b1424bbc3b0345 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Wed, 9 Oct 2024 15:41:35 +0700 Subject: [PATCH] Refactor component and page structure for responsiveness, add textarea component for project description and pitch deck --- src/app/business/apply/page.tsx | 58 +++++++++++++++++++++++++++++---- src/components/ui/textarea.tsx | 24 ++++++++++++++ 2 files changed, 75 insertions(+), 7 deletions(-) create mode 100644 src/components/ui/textarea.tsx diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index 1878fdd..5ac5ad8 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -13,6 +13,7 @@ import { } from "@/components/ui/select"; import { createSupabaseClient } from "@/lib/supabase/clientComponentClient"; import { useEffect, useState } from "react"; +import { Textarea } from "@/components/ui/textarea"; export default function Apply() { let supabase = createSupabaseClient(); @@ -20,8 +21,9 @@ export default function Apply() { const [isInUS, setIsInUS] = useState(""); const [isForSale, setIsForSale] = useState(""); const [isGenerating, setIsGenarting] = useState(""); - const [pitch, setPitch] = useState(""); + const [businessPitch, setBusinessPitch] = useState(""); const [projectType, setProjectType] = useState([]); + const [projectPitch, setProjectPitch] = useState(""); const communitySize = [ "N/A", "0-5K", @@ -245,15 +247,15 @@ export default function Apply() {
- +