├── src ├── App.css ├── Image │ ├── 1 (1).jpeg │ ├── 1 (1).png │ ├── 1 (2).jpeg │ ├── 1 (2).png │ └── 1 (3).png ├── index.css ├── components │ ├── home.js │ ├── contact.js │ ├── about.js │ ├── Menu.js │ ├── PizzaCard.js │ ├── NavigationBar.js │ └── Carousels.js ├── index.js └── App.js ├── public ├── robots.txt ├── favicon.ico ├── logo192.png ├── logo512.png ├── manifest.json └── index.html ├── .gitignore ├── package.json └── README.md /src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/public/logo512.png -------------------------------------------------------------------------------- /src/Image/1 (1).jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/src/Image/1 (1).jpeg -------------------------------------------------------------------------------- /src/Image/1 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/src/Image/1 (1).png -------------------------------------------------------------------------------- /src/Image/1 (2).jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/src/Image/1 (2).jpeg -------------------------------------------------------------------------------- /src/Image/1 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/src/Image/1 (2).png -------------------------------------------------------------------------------- /src/Image/1 (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sukeshperiyasamy/React-bootstrap/HEAD/src/Image/1 (3).png -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); -------------------------------------------------------------------------------- /src/components/home.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const home = () => { 4 | return ( 5 |
6 |

Home

7 |
8 | ) 9 | } 10 | 11 | export default home 12 | -------------------------------------------------------------------------------- /src/components/contact.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const contact = () => { 4 | return ( 5 |
6 |

Contact

7 |
8 | ) 9 | } 10 | 11 | export default contact 12 | -------------------------------------------------------------------------------- /src/components/about.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | const About = () => { 4 | return ( 5 |
6 |

About Page

7 |

This is the About page content.

8 |
9 | ); 10 | } 11 | 12 | export default About; 13 | 14 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | import 'bootstrap/dist/css/bootstrap.min.css'; 6 | 7 | const root = ReactDOM.createRoot(document.getElementById('root')); 8 | root.render( 9 | <> 10 | 11 | 12 | 13 | 14 | ); 15 | 16 | 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /src/components/Menu.js: -------------------------------------------------------------------------------- 1 | import React, { useState } from 'react' 2 | import { Container, Row ,Col } from 'react-bootstrap' 3 | import PizzaCard from './PizzaCard' 4 | 5 | 6 | const Menu = () => { 7 | const [menu] = useState([1,2,3,4,5,6]) 8 | return ( 9 | 28 | ) 29 | } 30 | 31 | export default Menu 32 | -------------------------------------------------------------------------------- /src/components/PizzaCard.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import Button from 'react-bootstrap/Button'; 3 | import Card from 'react-bootstrap/Card'; 4 | 5 | const PizzaCard = () => { 6 | return ( 7 | 8 | 9 | 10 | Card Title 11 | 12 | Some quick example text to build on the card title and make up the 13 | bulk of the card's content. 14 | 15 |
16 | 17 |
18 | 19 | 20 |
21 |
22 | ) 23 | } 24 | 25 | export default PizzaCard 26 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | 2 | // import { BrowserRouter, Routes, Route } from "react-router-dom"; 3 | import './App.css'; 4 | import 'bootstrap/dist/css/bootstrap.min.css'; 5 | import "bootstrap-icons/font/bootstrap-icons.css"; 6 | import BasicExample from './components/NavigationBar' 7 | import Imageslider from "./components/Carousels" 8 | import Menu from './components/Menu' 9 | // import Contact from './components/contact' 10 | // import About from './components/about' 11 | function App() { 12 | return ( 13 | <> 14 | 15 | 16 | 17 | 18 | 19 | // 20 | // 21 | // } /> 22 | // } /> 23 | // } /> 24 | // 25 | // 26 | 27 | ); 28 | } 29 | 30 | export default App; 31 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "navbar", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.17.0", 7 | "@testing-library/react": "^13.4.0", 8 | "@testing-library/user-event": "^13.5.0", 9 | "bootstrap": "^5.3.2", 10 | "bootstrap-icons": "^1.11.1", 11 | "react": "^18.2.0", 12 | "react-bootstrap": "^2.8.0", 13 | "react-dom": "^18.2.0", 14 | "react-scripts": "5.0.1", 15 | "web-vitals": "^2.1.4" 16 | }, 17 | "scripts": { 18 | "start": "react-scripts start", 19 | "build": "react-scripts build", 20 | "test": "react-scripts test", 21 | "eject": "react-scripts eject" 22 | }, 23 | "eslintConfig": { 24 | "extends": [ 25 | "react-app", 26 | "react-app/jest" 27 | ] 28 | }, 29 | "browserslist": { 30 | "production": [ 31 | ">0.2%", 32 | "not dead", 33 | "not op_mini all" 34 | ], 35 | "development": [ 36 | "last 1 chrome version", 37 | "last 1 firefox version", 38 | "last 1 safari version" 39 | ] 40 | }, 41 | "devDependencies": { 42 | "react-router-dom": "^6.16.0" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/components/NavigationBar.js: -------------------------------------------------------------------------------- 1 | import Container from 'react-bootstrap/Container'; 2 | import Nav from 'react-bootstrap/Nav'; 3 | import Navbar from 'react-bootstrap/Navbar'; 4 | import "bootstrap-icons/font/bootstrap-icons.css"; 5 | 6 | function BasicExample() { 7 | return ( 8 | 9 | 10 |

Mj Sports Wear

11 | 12 | 13 | 22 | 23 |
24 |
25 | ); 26 | } 27 | 28 | export default BasicExample; -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | React App 28 | 29 | 30 | 31 |
32 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/components/Carousels.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import {Container ,Row , Col } from 'react-bootstrap' 3 | import Carousel from 'react-bootstrap/Carousel'; 4 | const Carousels = () => { 5 | return ( 6 | 7 | 8 | 9 | 10 | 11 | First slide 16 | 17 |
First slide label
18 |

Nulla vitae elit libero, a pharetra augue mollis interdum.

19 |
20 |
21 | 22 | Second slide 27 | 28 |
Second slide label
29 |

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

30 |
31 |
32 | 33 | Third slide 38 | 39 |
Third slide label
40 |

41 | Praesent commodo cursus magna, vel scelerisque nisl consectetur. 42 |

43 |
44 |
45 |
46 | 47 |
48 |
49 |

50 | Tshirt for every occasion 51 |

52 |

Lorem text

53 |
54 | 55 |
56 | ) 57 | } 58 | 59 | export default Carousels 60 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Create React App 2 | 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 4 | 5 | ## Available Scripts 6 | 7 | In the project directory, you can run: 8 | 9 | ### `npm start` 10 | 11 | Runs the app in the development mode.\ 12 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser. 13 | 14 | The page will reload when you make changes.\ 15 | You may also see any lint errors in the console. 16 | 17 | ### `npm test` 18 | 19 | Launches the test runner in the interactive watch mode.\ 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 21 | 22 | ### `npm run build` 23 | 24 | Builds the app for production to the `build` folder.\ 25 | It correctly bundles React in production mode and optimizes the build for the best performance. 26 | 27 | The build is minified and the filenames include the hashes.\ 28 | Your app is ready to be deployed! 29 | 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 31 | 32 | ### `npm run eject` 33 | 34 | **Note: this is a one-way operation. Once you `eject`, you can't go back!** 35 | 36 | If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 37 | 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. 39 | 40 | You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. 41 | 42 | ## Learn More 43 | 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 45 | 46 | To learn React, check out the [React documentation](https://reactjs.org/). 47 | 48 | ### Code Splitting 49 | 50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) 51 | 52 | ### Analyzing the Bundle Size 53 | 54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) 55 | 56 | ### Making a Progressive Web App 57 | 58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) 59 | 60 | ### Advanced Configuration 61 | 62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) 63 | 64 | ### Deployment 65 | 66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) 67 | 68 | ### `npm run build` fails to minify 69 | 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) 71 | --------------------------------------------------------------------------------