From c9c45bdb95e39c7439019d1b4f297c41d1070609 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 29 Aug 2023 08:21:04 +0000 Subject: [PATCH] Adding Navbar using React Bootstrap --- src/App.css | 38 -------------------------------------- src/App.js | 32 ++++++++++++++------------------ 2 files changed, 14 insertions(+), 56 deletions(-) diff --git a/src/App.css b/src/App.css index 74b5e05..e69de29 100644 --- a/src/App.css +++ b/src/App.css @@ -1,38 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/src/App.js b/src/App.js index 3784575..cb7c6bb 100644 --- a/src/App.js +++ b/src/App.js @@ -1,25 +1,21 @@ -import logo from './logo.svg'; +import "react-bootstrap/Container" +import "react-bootstrap/Navbar" +import "react-bootstrap/Nav" import './App.css'; +import Container from "react-bootstrap/Container"; +import { Navbar } from "react-bootstrap/esm"; function App() { return (
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
- ); -} + + + + +

React App

+ + ); + } + export default App;