UPD: page layout change

This commit is contained in:
John Huang@tthqws02 2021-11-12 10:21:13 -05:00
parent 54e7512b77
commit 798a5e7bcc
4 changed files with 43 additions and 45 deletions

View File

@ -2,18 +2,14 @@ import React from 'react';
import './App.css'; import './App.css';
import { Nav } from './components/header'; import { Nav } from './components/header';
import { Footer } from './components/footer'; import { Footer } from './components/footer';
import { PayPal, Purchase, ShowCase } from './components/mainPage'; import { Landding } from './components/mainPage';
function App() { function App() {
return ( return (
<div className="page-container"> <div className="page-container">
<div className="content-wrap"> <div className="content-wrap">
<Nav /> <Nav />
<Landding />
<ShowCase />
<Purchase />
<PayPal />
</div> </div>
<Footer /> <Footer />
</div> </div>

View File

@ -3,6 +3,7 @@ import "./Footer.css";
const Footer = () => { const Footer = () => {
return ( return (
<div className="container">
<div className="main-footer"> <div className="main-footer">
<div className="container"> <div className="container">
<div className="row"> <div className="row">
@ -32,14 +33,13 @@ const Footer = () => {
</div> </div>
</div> </div>
<hr /> <hr />
<div className="row" > <div className="row">
<p className="col-sm"> <p className="col-sm">&copy; OEM Automation</p>
&copy; OEM Automation </div>
</p>
</div> </div>
</div> </div>
</div> </div>
); );
} };
export default Footer; export default Footer;

View File

@ -3,6 +3,7 @@ import { Navbar, Container } from 'react-bootstrap';
const Nav = () => { const Nav = () => {
return ( return (
<div className="container">
<Navbar bg="dark" variant="dark"> <Navbar bg="dark" variant="dark">
<Container> <Container>
<Navbar.Brand> <Navbar.Brand>
@ -10,6 +11,7 @@ const Nav = () => {
</Navbar.Brand> </Navbar.Brand>
</Container> </Container>
</Navbar> </Navbar>
</div>
); );
} }

View File

@ -4,7 +4,7 @@ import { plc, w2c } from "../../assets";
const ShowCase = () => { const ShowCase = () => {
return ( return (
<div className="container border"> <div className="container">
<div className="row"> <div className="row">
<div className="col-2"> <div className="col-2">
<figure className="figure border"> <figure className="figure border">