first commit
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
import React from "react";
|
||||
import Image from "next/image";
|
||||
const brandContent = [
|
||||
{
|
||||
colClass: `line-one`,
|
||||
imgList: [
|
||||
{
|
||||
img: "logo-47",
|
||||
},
|
||||
{
|
||||
img: "logo-48",
|
||||
},
|
||||
{
|
||||
img: "logo-49",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
colClass: `line-two`,
|
||||
imgList: [
|
||||
{
|
||||
img: "logo-50",
|
||||
},
|
||||
{
|
||||
img: "logo-51",
|
||||
},
|
||||
{
|
||||
img: "logo-52",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
const BrandSix = () => {
|
||||
return (
|
||||
<div className="row">
|
||||
{brandContent.map((val, i) => (
|
||||
<div className="col-sm-6" key={i}>
|
||||
<div className={val.colClass}>
|
||||
{val.imgList.map((brand, i) => (
|
||||
<div
|
||||
className="icon d-flex align-items-center justify-content-center"
|
||||
key={i}
|
||||
>
|
||||
<Image width={197} height={130} style={{maxHeight:'36%',maxWidth:'92%',objectFit:'contain'}} src={`/images/logo/${brand.img}.png`} alt="brand" />
|
||||
</div>
|
||||
// /.icon
|
||||
))}
|
||||
</div>
|
||||
{/* /.line-two */}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default BrandSix;
|
||||
Reference in New Issue
Block a user