ADD: main body page

This commit is contained in:
John Huang@tthqws02 2021-11-09 08:11:57 -05:00
parent bc5c67007f
commit 99b37dbd23
5 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,3 @@
export {default as PayPal} from './paypal';
export {default as Purchase} from './purchase';
export {default as ShowCase} from './showCase';

View 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;

View 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;

View File

@ -0,0 +1,4 @@
.photo {
height: auto;
width: 200px;
}

View 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;