Skip to content

Commit

Permalink
fix aligment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
surjithctly committed Apr 24, 2023
1 parent 665a2c2 commit ef9db00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/benefits.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import React from "react";
import Container from "./container";

const Benefits = (props) => {
const data = props.data
const { data } = props;
return (
<>
<Container className="flex flex-wrap mb-20 lg:gap-10 lg:flex-nowrap ">
<div
className={`flex items-center justify-center w-full lg:w-1/2 ${
data.imgPos === "right" ? "lg:order-1" : ""
props.imgPos === "right" ? "lg:order-1" : ""
}`}>
<div>
<Image
Expand Down Expand Up @@ -51,7 +51,7 @@ const Benefits = (props) => {
</Container>
</>
);
}
};

function Benefit(props) {
return (
Expand All @@ -75,4 +75,4 @@ function Benefit(props) {
);
}

export default Benefits;
export default Benefits;

0 comments on commit ef9db00

Please sign in to comment.