Compare commits
6 Commits
457f244135
...
ac970950ac
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ac970950ac | ||
![]() |
f02b8564d5 | ||
![]() |
99b37dbd23 | ||
![]() |
bc5c67007f | ||
![]() |
dde5d5dedc | ||
![]() |
9bbf60bd0f |
1
.gitignore
vendored
@ -22,3 +22,4 @@
|
|||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
.history/
|
@ -1,6 +1,8 @@
|
|||||||
|
import React from 'react';
|
||||||
import './App.css';
|
import './App.css';
|
||||||
import Nav from './components/Nav';
|
import { Nav } from './components/header';
|
||||||
import Footer from './components/Footer';
|
import { Footer } from './components/footer';
|
||||||
|
import { PayPal, Purchase, ShowCase } from './components/mainPage';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
@ -9,6 +11,9 @@ function App() {
|
|||||||
<Nav />
|
<Nav />
|
||||||
|
|
||||||
{/* Not sure what to put for body content yet */}
|
{/* Not sure what to put for body content yet */}
|
||||||
|
<ShowCase />
|
||||||
|
<Purchase />
|
||||||
|
<PayPal />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
BIN
src/assets/images/B1-14MR2-D24-45Degree.jpg
Normal file
After Width: | Height: | Size: 941 KiB |
BIN
src/assets/images/B1-14MR2-D24.jpg
Normal file
After Width: | Height: | Size: 530 KiB |
BIN
src/assets/images/CreditCardSize original.JPG
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
src/assets/images/CreditCardSize.jpg
Normal file
After Width: | Height: | Size: 340 KiB |
BIN
src/assets/images/FatekSOC MCU.JPG
Normal file
After Width: | Height: | Size: 2.2 MiB |
BIN
src/assets/images/FatekSOC-MCU.png
Normal file
After Width: | Height: | Size: 6.5 MiB |
BIN
src/assets/images/Industrial Grade Components.JPG
Normal file
After Width: | Height: | Size: 2.0 MiB |
BIN
src/assets/images/W2C blue.JPG
Normal file
After Width: | Height: | Size: 2.7 MiB |
BIN
src/assets/images/W2C white.JPG
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
src/assets/images/W2C+B1-14M.jpg
Normal file
After Width: | Height: | Size: 353 KiB |
BIN
src/assets/images/W2C.jpg
Normal file
After Width: | Height: | Size: 366 KiB |
3
src/assets/index.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import plc from "./images/B1-14MR2-D24.jpg";
|
||||||
|
import w2c from "./images/W2C.jpg";
|
||||||
|
export { plc, w2c };
|
2
src/components/footer/index.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
export {default as Footer} from './Footer';
|
@ -1,3 +1,4 @@
|
|||||||
|
import React from 'react';
|
||||||
import { Navbar, Container } from 'react-bootstrap';
|
import { Navbar, Container } from 'react-bootstrap';
|
||||||
|
|
||||||
const Nav = () => {
|
const Nav = () => {
|
1
src/components/header/index.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
export {default as Nav} from './Nav';
|
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
@ -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
@ -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
@ -0,0 +1,4 @@
|
|||||||
|
.photo {
|
||||||
|
height: auto;
|
||||||
|
width: 200px;
|
||||||
|
}
|
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;
|