diff --git a/app/dashboard/blinks/[blinkid]/CreateBlinkForm.tsx b/app/dashboard/blinks/[blinkid]/CreateBlinkForm.tsx index 754f659..3d51b0d 100644 --- a/app/dashboard/blinks/[blinkid]/CreateBlinkForm.tsx +++ b/app/dashboard/blinks/[blinkid]/CreateBlinkForm.tsx @@ -154,25 +154,32 @@ function CreateBlinkForm({ } return ( -
-
-
- Mocked Preview -
-
- NOTE: Edit & Click add button to reflect change here +
+
+
+
+ Mocked Preview +
+
+ Open In Desktop For Better View +
+
+ NOTE: Edit & Click add button to reflect change here +
-
+
-
{mainHeading.title}
-
{mainHeading.description}
+
{mainHeading.title}
+
+ {mainHeading.description} +
{blinkButtonElement?.map((e) => { return ( @@ -180,23 +187,23 @@ function CreateBlinkForm({ })}
{blinkInputElement && ( -
+
-
)}
-
+
-
+
Button Element
@@ -221,10 +228,10 @@ function CreateBlinkForm({ ); })}
-
+
-
+
-
+
Input Area
-
- -
-
+ +
- +
+ + +
-
+
Blink Name
-
+
Main Heading
-
+
Wallet Address *
-
+
Blink Image{" "} - + * (JPG Only)
@@ -435,7 +443,7 @@ function CreateBlinkForm({ } }} accept=".jpg" - className="block w-full mt-5 text-lg text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400" + className="block w-full lg:mt-5 mt-2 text-sm lg:text-lg text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400" />
@@ -475,7 +483,7 @@ function CreateBlinkForm({ await handleSubmit(); setLoading(false); }} - className="text-xl p-6" + className="lg:text-xl lg:p-6" disabled={blinkButtonElement.length == 0 && blinkInputElement == null} > Update & Save diff --git a/app/dashboard/blinks/[blinkid]/createblink.css b/app/dashboard/blinks/[blinkid]/createblink.css index 1a57c7c..a5a3dce 100644 --- a/app/dashboard/blinks/[blinkid]/createblink.css +++ b/app/dashboard/blinks/[blinkid]/createblink.css @@ -1,11 +1,10 @@ -.main { +/* .main { display: grid; grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; -} +} */ .main-child-2 { margin: auto; - width: 60%; margin-top: 0; } diff --git a/app/dashboard/blinks/[blinkid]/page.tsx b/app/dashboard/blinks/[blinkid]/page.tsx index 9227ecc..b08ac57 100644 --- a/app/dashboard/blinks/[blinkid]/page.tsx +++ b/app/dashboard/blinks/[blinkid]/page.tsx @@ -17,8 +17,8 @@ async function CreateBlinkForm({ params }: { params: { blinkid: string } }) { ? `${process.env.NEXTAUTH_URL}/api/blink/${params.blinkid}` : `${process.env.NEXTAUTH_URL}/api/createblinklive/${params.blinkid}`; return ( -
-
+
+
-
+
Current Blink