ADD: main body page
This commit is contained in:
parent
bc5c67007f
commit
99b37dbd23
3
src/components/mainPage/index.js
Normal file
3
src/components/mainPage/index.js
Normal file
@ -0,0 +1,3 @@
|
||||
export {default as PayPal} from './paypal';
|
||||
export {default as Purchase} from './purchase';
|
||||
export {default as ShowCase} from './showCase';
|
13
src/components/mainPage/paypal.jsx
Normal file
13
src/components/mainPage/paypal.jsx
Normal file
@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
const PayPal = () => {
|
||||
return (
|
||||
<>
|
||||
<div className="container">
|
||||
<button className="bg-primary"> Pay with PayPal</button>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default PayPal;
|
18
src/components/mainPage/purchase.jsx
Normal file
18
src/components/mainPage/purchase.jsx
Normal file
@ -0,0 +1,18 @@
|
||||
import React from "react";
|
||||
|
||||
const Purchase = () => {
|
||||
return (
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-3">
|
||||
<span className="text-danger">
|
||||
30 days Risk free return with 100% refund if not satisfied. Free return shipping
|
||||
included.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Purchase;
|
4
src/components/mainPage/showCase.css
Normal file
4
src/components/mainPage/showCase.css
Normal file
@ -0,0 +1,4 @@
|
||||
.photo {
|
||||
height: auto;
|
||||
width: 200px;
|
||||
}
|
39
src/components/mainPage/showCase.jsx
Normal file
39
src/components/mainPage/showCase.jsx
Normal file
@ -0,0 +1,39 @@
|
||||
import React from "react";
|
||||
import "./showCase.css";
|
||||
import { plc, w2c } from "../../assets";
|
||||
|
||||
const ShowCase = () => {
|
||||
return (
|
||||
<div className="container border">
|
||||
<div className="row">
|
||||
<div className="col-2">
|
||||
<figure className="figure border">
|
||||
<img
|
||||
className="photo figure-img img-fluid rounded"
|
||||
src={plc}
|
||||
alt="product plc"
|
||||
/>
|
||||
<figcaption className="figure-caption">
|
||||
B1-14MR2................................
|
||||
</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div className="col-2" >
|
||||
<figure className="figure border">
|
||||
<img
|
||||
className="photo figure-img img-fluid rounded"
|
||||
src={w2c}
|
||||
alt="product w2c"
|
||||
/>
|
||||
<figcaption className="figure-caption">
|
||||
W2C ...................
|
||||
</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
export default ShowCase;
|
Loading…
Reference in New Issue
Block a user