Compare commits

..

6 Commits

Author SHA1 Message Date
John Huang@tthqws02
ac970950ac UPD: gitignore 2021-11-09 08:12:48 -05:00
John Huang@tthqws02
f02b8564d5 UPD: draft body 2021-11-09 08:12:29 -05:00
John Huang@tthqws02
99b37dbd23 ADD: main body page 2021-11-09 08:11:57 -05:00
John Huang@tthqws02
bc5c67007f UPD: move Nav to a directory structure 2021-11-09 08:11:28 -05:00
John Huang@tthqws02
dde5d5dedc UPD: move footer to a directory structure 2021-11-09 08:10:40 -05:00
John Huang@tthqws02
9bbf60bd0f ADD: image assets included 2021-11-09 08:09:28 -05:00
24 changed files with 92 additions and 2 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.history/

View File

@ -1,6 +1,8 @@
import React from 'react';
import './App.css';
import Nav from './components/Nav';
import Footer from './components/Footer';
import { Nav } from './components/header';
import { Footer } from './components/footer';
import { PayPal, Purchase, ShowCase } from './components/mainPage';
function App() {
return (
@ -9,6 +11,9 @@ function App() {
<Nav />
{/* Not sure what to put for body content yet */}
<ShowCase />
<Purchase />
<PayPal />
</div>
<Footer />

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

BIN
src/assets/images/W2C.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

3
src/assets/index.js Normal file
View File

@ -0,0 +1,3 @@
import plc from "./images/B1-14MR2-D24.jpg";
import w2c from "./images/W2C.jpg";
export { plc, w2c };

View File

@ -0,0 +1,2 @@
export {default as Footer} from './Footer';

View File

@ -1,3 +1,4 @@
import React from 'react';
import { Navbar, Container } from 'react-bootstrap';
const Nav = () => {

View File

@ -0,0 +1 @@
export {default as Nav} from './Nav';

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;