From faab0b0fd542e35fa4222cb18e010dbb4d1cdd3f Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Fri, 4 Oct 2024 20:10:51 +0700 Subject: [PATCH] Update component and pages to responsive --- src/app/invest/page.tsx | 12 ++--- src/app/overview/page.tsx | 2 +- src/components/paymentMethod.tsx | 79 ++++++++++++++++++++++++-------- 3 files changed, 67 insertions(+), 26 deletions(-) diff --git a/src/app/invest/page.tsx b/src/app/invest/page.tsx index 80850fd..97ca4b3 100644 --- a/src/app/invest/page.tsx +++ b/src/app/invest/page.tsx @@ -75,24 +75,24 @@ export default function Invest() { }; return ( -
-

Invest on NVIDIA

+
+

Invest on NVIDIA

-

Investment Amount

+

Investment Amount

-
-

Payment Information

+
+

Payment Information

-
+

Terms and Services

diff --git a/src/app/overview/page.tsx b/src/app/overview/page.tsx index f34d3cc..cd07319 100644 --- a/src/app/overview/page.tsx +++ b/src/app/overview/page.tsx @@ -148,7 +148,7 @@ export default function Invest() {

Left to invest

diff --git a/src/components/paymentMethod.tsx b/src/components/paymentMethod.tsx index 36eccc6..634b5b6 100644 --- a/src/components/paymentMethod.tsx +++ b/src/components/paymentMethod.tsx @@ -2,26 +2,47 @@ import { Icons } from "./ui/icons"; import { Button } from "./ui/button"; -import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./ui/card"; +import { + Card, + CardContent, + CardDescription, + CardFooter, + CardHeader, + CardTitle, +} from "./ui/card"; import { Input } from "./ui/input"; import { Label } from "./ui/label"; import { RadioGroup, RadioGroupItem } from "./ui/radio-group"; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./ui/select"; +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "./ui/select"; export function CardsPaymentMethod() { return ( - + - Payment Method - Add a new payment method to your account. + Payment Method + + Add a new payment method to your account. + - -
- + +
+
-
- +
+
-
- +
+
-
- - + +
+
+ + +
+
+ + +