PHP Classes

File: pizzerine/src/App.js

Recommend this page to a friend!
  Classes of Hillary Kollan   React Laravel Stripe MailJet Pizza Ordering   pizzerine/src/App.js   Download  
File: pizzerine/src/App.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: React Laravel Stripe MailJet Pizza Ordering
Web application to process orders of Pizza
Author: By
Last change:
Date: 1 year ago
Size: 1,451 bytes
 

Contents

Class file image Download
import './App.css'; import {BrowserRouter as Router, Route, Routes} from 'react-router-dom'; import Navbar from './components/Navbar/Navbar'; import Home from './components/Home/Home'; import About from './components/About/About'; import Contact from './components/Contact/Contact'; import Menu from './components/Menu/Menu'; import Footer from './components/Footer/Footer'; import Admin from './components/Admin/Admin'; import AdminOrders from './components/Admin/AdminOrders'; import AdminLogout from './components/Admin/AdminLogout'; import StripeContainer from './components/Checkout/StripeContainer'; import AdminPizzaTypes from './components/Admin/AdminPizzaTypes'; function App() { return ( <div className="App"> <Router> <Navbar /> <Routes> <Route exact path="/" element={<Home />}/> <Route path="/about" element={<About />}/> <Route path="/contact" element={<Contact />}/> <Route path="/menu" element={<Menu />}/> <Route path="/admin" element={<Admin />}/> <Route path="/all/orders" element={<AdminOrders />}/> <Route path="/pizza/types" element={<AdminPizzaTypes />}/> <Route path="/checkout/" element={<StripeContainer />}/> <Route path="/logout/" element={<AdminLogout />}/> </Routes> <Footer /> </Router> </div> ); } export default App;