From 65d71740a56aa0aa66fa9fd47b3f865193b33b2a Mon Sep 17 00:00:00 2001 From: Scharfcsh Date: Thu, 19 Dec 2024 22:16:46 +0530 Subject: [PATCH] fixed The horizontal overflow --- src/components/Business.jsx | 88 +++++++++++------------ src/components/Hero.jsx | 124 ++++++++++++++++---------------- src/components/Testimonials.jsx | 78 ++++++++++---------- 3 files changed, 145 insertions(+), 145 deletions(-) diff --git a/src/components/Business.jsx b/src/components/Business.jsx index 90234ef..ff48828 100644 --- a/src/components/Business.jsx +++ b/src/components/Business.jsx @@ -1,45 +1,45 @@ -import React from 'react' -import { features } from '../constants' -import styles, {layout} from '../styles' -import Button from './Button.jsx' - - -const FeatureCard=({icon, title,content, index})=>( -
-
- icon -
-
-

- {title} -

-

- {content} -

-
-
-) - - - -function Business() { - return ( -
-
-

You do the business,
we’ll handle the money.

- -

With the right credit card, you can improve your financial life by building credit, earning rewards and saving money. But with hundreds of credit cards on the market.

- -
-
- {features.map((feature,index )=>( - - ))} - -
-
- ) -} - +import React from 'react' +import { features } from '../constants' +import styles, {layout} from '../styles' +import Button from './Button.jsx' + + +const FeatureCard=({icon, title,content, index})=>( +
+
+ icon +
+
+

+ {title} +

+

+ {content} +

+
+
+) + + + +function Business() { + return ( +
+
+

You do the business,
we’ll handle the money.

+ +

With the right credit card, you can improve your financial life by building credit, earning rewards and saving money. But with hundreds of credit cards on the market.

+ +
+
+ {features.map((feature,index )=>( + + ))} + +
+
+ ) +} + export default Business \ No newline at end of file diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 3be0e7f..d4ce42e 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -1,62 +1,62 @@ -import React from "react"; -import styles from "../styles.js"; -import { discount, robot } from "../assets"; -import GetStarted from "./GetStarted.jsx"; - -function Hero() { - return ( -
-
-
- discount -

- 20% Discount For{" "} - 1 Month Account -

-
- -
-

- The Next -
- Generation{" "} -
-

-
- -
-
- -

- {" "} - Payment Method -

-

- Our team of experts uses a methodology to identify the credit cards - most likely to fit your needs. We examine annual percentage rates, - annual fees. -

-
-
- billing - -
- {/*
*/} -
- -
- -
- -
-
- ); -} - -export default Hero; +import React from "react"; +import styles from "../styles.js"; +import { discount, robot } from "../assets"; +import GetStarted from "./GetStarted.jsx"; + +function Hero() { + return ( +
+
+
+ discount +

+ 20% Discount For{" "} + 1 Month Account +

+
+ +
+

+ The Next +
+ Generation{" "} +
+

+
+ +
+
+ +

+ {" "} + Payment Method +

+

+ Our team of experts uses a methodology to identify the credit cards + most likely to fit your needs. We examine annual percentage rates, + annual fees. +

+
+
+ billing + +
+ {/*
*/} +
+ +
+ +
+ +
+
+ ); +} + +export default Hero; diff --git a/src/components/Testimonials.jsx b/src/components/Testimonials.jsx index 8c80474..70a0c28 100644 --- a/src/components/Testimonials.jsx +++ b/src/components/Testimonials.jsx @@ -1,39 +1,39 @@ -import React from "react"; -import { feedback } from "../constants"; -import styles, { layout } from "../styles"; -import FeedbackCard from "./FeedbackCard"; - -function Testimonials() { - return ( -
-
- {/*
*/} -
-

- What people are -
saying about us -

- -
-

- Everything you need to accept card payments and grow your business - anywhere on the planet. -

-
- -
-
- {feedback.map((card)=>( - - ))} -
-
- ); -} - -export default Testimonials; +import React from "react"; +import { feedback } from "../constants"; +import styles, { layout } from "../styles"; +import FeedbackCard from "./FeedbackCard"; + +function Testimonials() { + return ( +
+
+ {/*
*/} +
+

+ What people are +
saying about us +

+ +
+

+ Everything you need to accept card payments and grow your business + anywhere on the planet. +

+
+ +
+
+ {feedback.map((card)=>( + + ))} +
+
+ ); +} + +export default Testimonials;