├── shivam-gym ├── src │ ├── Context │ │ └── AuthContext.jsx │ ├── Components │ │ ├── ShivamLogo.jpg │ │ ├── SecoundNavbar.css │ │ ├── SecoundNavbar.jsx │ │ ├── Navbar.css │ │ ├── Navbar.jsx │ │ ├── Footer.css │ │ └── Footer.jsx │ ├── Page │ │ ├── Login.module.css │ │ ├── SignUp.jsx │ │ ├── AllRoutes.jsx │ │ ├── Food.css │ │ ├── About.css │ │ ├── Login.jsx │ │ ├── Exercise.css │ │ ├── Food.jsx │ │ ├── Exercise.jsx │ │ ├── About.jsx │ │ ├── Home.css │ │ └── Home.jsx │ ├── setupTests.js │ ├── App.test.js │ ├── App.js │ ├── index.css │ ├── reportWebVitals.js │ ├── App.css │ ├── index.js │ └── logo.svg ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── index.html ├── .gitignore ├── package.json └── README.md └── README.md /shivam-gym/src/Context/AuthContext.jsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shivam-gym/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /shivam-gym/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivamt2107/MY_FITNESS_PAL-CLONE/HEAD/shivam-gym/public/favicon.ico -------------------------------------------------------------------------------- /shivam-gym/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivamt2107/MY_FITNESS_PAL-CLONE/HEAD/shivam-gym/public/logo192.png -------------------------------------------------------------------------------- /shivam-gym/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivamt2107/MY_FITNESS_PAL-CLONE/HEAD/shivam-gym/public/logo512.png -------------------------------------------------------------------------------- /shivam-gym/src/Components/ShivamLogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivamt2107/MY_FITNESS_PAL-CLONE/HEAD/shivam-gym/src/Components/ShivamLogo.jpg -------------------------------------------------------------------------------- /shivam-gym/src/Page/Login.module.css: -------------------------------------------------------------------------------- 1 | 2 | .FTButton{ 3 | /* border: 2px solid red; */ 4 | margin-top: 20px; 5 | padding: 20px; 6 | } 7 | 8 | .Footer{ 9 | border: 1px solid black; 10 | height: 20px; 11 | margin-top: 40px; 12 | } -------------------------------------------------------------------------------- /shivam-gym/src/Page/SignUp.jsx: -------------------------------------------------------------------------------- 1 | import React from "react" 2 | import SecoundNavbar from "../Components/SecoundNavbar" 3 | 4 | const SignUp=()=>{ 5 | return( 6 | <> 7 | 8 | 9 | 10 | ) 11 | } 12 | 13 | export default SignUp -------------------------------------------------------------------------------- /shivam-gym/src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /shivam-gym/src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import App from './App'; 3 | 4 | test('renders learn react link', () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /shivam-gym/src/App.js: -------------------------------------------------------------------------------- 1 | import './App.css'; 2 | import Navbar from '../src/Components/Navbar'; 3 | import AllRoutes from './Page/AllRoutes'; 4 | 5 | function App() { 6 | return ( 7 | <> 8 | 9 | 10 | 11 | 12 | ); 13 | } 14 | 15 | export default App; 16 | -------------------------------------------------------------------------------- /shivam-gym/src/Components/SecoundNavbar.css: -------------------------------------------------------------------------------- 1 | .SecoundNavbarDiv{ 2 | width: 100%; 3 | height: 56px; 4 | display: flex; 5 | align-items: center; 6 | background-color: #0066EE; 7 | color: whitesmoke; 8 | } 9 | 10 | .SecoundNavbarDiv h2{ 11 | border: 0px solid red; 12 | margin-left:90px; 13 | font-weight: 600; 14 | } -------------------------------------------------------------------------------- /shivam-gym/.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 | -------------------------------------------------------------------------------- /shivam-gym/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /shivam-gym/src/reportWebVitals.js: -------------------------------------------------------------------------------- 1 | const reportWebVitals = onPerfEntry => { 2 | if (onPerfEntry && onPerfEntry instanceof Function) { 3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 4 | getCLS(onPerfEntry); 5 | getFID(onPerfEntry); 6 | getFCP(onPerfEntry); 7 | getLCP(onPerfEntry); 8 | getTTFB(onPerfEntry); 9 | }); 10 | } 11 | }; 12 | 13 | export default reportWebVitals; 14 | -------------------------------------------------------------------------------- /shivam-gym/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 | -------------------------------------------------------------------------------- /shivam-gym/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /shivam-gym/src/Components/SecoundNavbar.jsx: -------------------------------------------------------------------------------- 1 | import React from "react" 2 | import { Link } from "react-router-dom"; 3 | import "./SecoundNavbar.css" 4 | 5 | const SecoundNavbar=()=>{ 6 | 7 | return( 8 | <> 9 | 10 |
11 |
12 |

ABOUT

13 |

FOOD

14 |

EXERCISE

15 |

APPS

16 |

COMMUNITY

17 |

BLOGS

18 |

PREMIUM

19 | 20 |
21 | 22 | 23 | ) 24 | } 25 | 26 | export default SecoundNavbar; -------------------------------------------------------------------------------- /shivam-gym/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 reportWebVitals from './reportWebVitals'; 6 | import { BrowserRouter } from "react-router-dom"; 7 | import { ChakraProvider } from '@chakra-ui/react' 8 | 9 | const root = ReactDOM.createRoot(document.getElementById('root')); 10 | root.render( 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ); 19 | 20 | // If you want to start measuring performance in your app, pass a function 21 | // to log results (for example: reportWebVitals(console.log)) 22 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 23 | reportWebVitals(); 24 | -------------------------------------------------------------------------------- /shivam-gym/src/Page/AllRoutes.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import { Routes, Route } from "react-router-dom" 3 | import Login from './Login' 4 | import Home from "./Home" 5 | import SignUp from './SignUp' 6 | import About from './About' 7 | import Food from './Food' 8 | import Exercise from './Exercise' 9 | 10 | 11 | function AllRoutes() { 12 | return ( 13 | <> 14 | 15 | 16 | 17 | 18 | } /> 19 | } /> 20 | }> 21 | }> 22 | }> 23 | }> 24 | 25 | 26 | 27 | ) 28 | } 29 | 30 | export default AllRoutes -------------------------------------------------------------------------------- /shivam-gym/src/Components/Navbar.css: -------------------------------------------------------------------------------- 1 | .Main-container { 2 | height: 50px; 3 | display: flex; 4 | /* border: 1px solid black; */ 5 | justify-content: center; 6 | align-items: center; 7 | width: 100%; 8 | flex-wrap: wrap; 9 | background-color: #f5f5f5; 10 | color: rgba(0, 0, 0, 0.87); 11 | box-shadow: 0 0 4px rgb(0 0 0 / 9%); 12 | background-color: #FFFFFF; 13 | color: #000000; 14 | top: 0px; 15 | } 16 | 17 | .logo-heading { 18 | font-size: 15px; 19 | display: block; 20 | width: 100%; 21 | margin-top: 0px; 22 | height: auto; 23 | color: #0066EE; 24 | font-weight: 400; 25 | line-height: 1.5; 26 | margin-left: 80px; 27 | font-family: "Inter", Helvetica, Arial, -apple-system, sans-serif; 28 | background-color: #fff; 29 | } 30 | 31 | .Login-btn { 32 | background-color: transparent; 33 | color: rgba(0, 0, 0, 0.87); 34 | font-size: 15px; 35 | font-weight: 600; 36 | margin-right: 80px; 37 | line-height: 1.5; 38 | font-family: "Inter", Helvetica, Arial, -apple-system, sans-serif; 39 | } -------------------------------------------------------------------------------- /shivam-gym/src/Components/Navbar.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import "./Navbar.css" 3 | import { Box, Button, ButtonGroup, Flex, Heading, Spacer, Text } from '@chakra-ui/react' 4 | import { Link } from 'react-router-dom' 5 | 6 | function Navbar() { 7 | return ( 8 | <> 9 | 10 | 11 | 12 | myfitnesspal 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | LOG IN 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | ) 31 | } 32 | 33 | export default Navbar -------------------------------------------------------------------------------- /shivam-gym/src/Components/Footer.css: -------------------------------------------------------------------------------- 1 | .FooterMainDiv{ 2 | /* border: 1px solid black; */ 3 | background-color: #F6F6F8; 4 | padding: 20px; 5 | margin-top: -40px; 6 | display: flex; 7 | -webkit-flex-direction: column; 8 | -ms-flex-direction: column; 9 | flex-direction: column; 10 | -webkit-align-items: center; 11 | -webkit-box-align: center; 12 | -ms-flex-align: center; 13 | align-items: center; 14 | font-size: 12px; 15 | text-align: center; 16 | justify-content: center; 17 | align-items: center; 18 | } 19 | 20 | .FooterLinksDiv{ 21 | /* border: 1px solid teal; */ 22 | display: flex; 23 | flex-wrap: wrap; 24 | justify-content: center; 25 | align-items: center; 26 | gap: 15px; 27 | font-weight: 400; 28 | flex-direction: row; 29 | margin-top: 10px; 30 | width: 48%; 31 | color: blue; 32 | font-size: 12px; 33 | 34 | } 35 | 36 | .FooterLinksDivPTag{ 37 | border: 0px solid black; 38 | margin-top: 10px; 39 | } 40 | 41 | .FooterNavbar{ 42 | /* border: 1px solid black; */ 43 | display:flex; 44 | width: 70%; 45 | font-size: 15px; 46 | font-weight: 720; 47 | justify-content: space-evenly; 48 | } 49 | 50 | -------------------------------------------------------------------------------- /shivam-gym/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shivam-gym", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@chakra-ui/icons": "^2.0.11", 7 | "@chakra-ui/react": "^2.3.7", 8 | "@emotion/react": "^11.10.5", 9 | "@emotion/styled": "^11.10.5", 10 | "@testing-library/jest-dom": "^5.16.5", 11 | "@testing-library/react": "^13.4.0", 12 | "@testing-library/user-event": "^13.5.0", 13 | "framer-motion": "^7.6.5", 14 | "react": "^18.2.0", 15 | "react-dom": "^18.2.0", 16 | "react-icons": "^4.6.0", 17 | "react-router-dom": "^6.4.3", 18 | "react-scripts": "5.0.1", 19 | "react-simple-image-slider": "^2.4.1", 20 | "web-vitals": "^2.1.4" 21 | }, 22 | "scripts": { 23 | "start": "react-scripts start", 24 | "build": "react-scripts build", 25 | "test": "react-scripts test", 26 | "eject": "react-scripts eject" 27 | }, 28 | "eslintConfig": { 29 | "extends": [ 30 | "react-app", 31 | "react-app/jest" 32 | ] 33 | }, 34 | "browserslist": { 35 | "production": [ 36 | ">0.2%", 37 | "not dead", 38 | "not op_mini all" 39 | ], 40 | "development": [ 41 | "last 1 chrome version", 42 | "last 1 firefox version", 43 | "last 1 safari version" 44 | ] 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /shivam-gym/src/Components/Footer.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import "./Footer.css" 3 | import { Link, Navigate } from "react-router-dom"; 4 | 5 | const Footer = () => { 6 | 7 | return ( 8 | <> 9 | 10 |
11 | 12 |
13 |

ABOUT

14 |

FOOD

15 |

EXERCISE

16 |

APPS

17 |

COMMUNITY

18 |

BLOG

19 |

PREMIUM

20 | 21 | 22 |
23 | 24 |
25 |

Calorie Counter

26 |

Blog

27 |

Terms

28 |

Privacy

29 |

Contact Us

30 |

API

31 |

Jobs

32 |

Feedback

33 |

Community Guidelines

34 |

Ad Choices

35 |

Do Not Sell My Personal Information

36 | 37 | 38 | 39 | 40 | 41 | 42 |
43 | 44 |

© 2022 MyFitnessPal, Inc.

45 |
46 | 47 | 48 | 49 | ) 50 | 51 | } 52 | 53 | export default Footer -------------------------------------------------------------------------------- /shivam-gym/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | MyFitnesspal 28 | 29 | 30 | 31 |
32 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /shivam-gym/src/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shivam-gym/src/Page/Food.css: -------------------------------------------------------------------------------- 1 | .FoodMainDiv{ 2 | /* border: 1px solid black; */ 3 | height: 500px; 4 | } 5 | 6 | .foodSearchDiv{ 7 | /* border: 1px solid teal; */ 8 | width: 80%; 9 | margin: auto; 10 | margin-top: 20px; 11 | height: auto; 12 | display: grid; 13 | grid-template-columns: 70% 30%; 14 | gap: 2px; 15 | } 16 | 17 | .foodSearchDiv>div{ 18 | border: 0px solid red; 19 | } 20 | 21 | .FoodImgDiv img{ 22 | width: 90%; 23 | margin: auto; 24 | margin-top: 20px; 25 | /* border: 1px solid black; */ 26 | } 27 | 28 | .FoodAnaLysHTwo{ 29 | font-size: 2rem; 30 | text-align: center; 31 | font-weight: 800; 32 | line-height: 1.15; 33 | font-family: "Inter",Helvetica,Arial,-apple-system,sans-serif; 34 | } 35 | 36 | .FoodAnaLysPTag{ 37 | width: 70%; 38 | margin: auto; 39 | font-size: 1rem; 40 | font-weight: 600; 41 | line-height: 1.625; 42 | text-align: center; 43 | line-height: 1.8; 44 | padding-top: 12px; 45 | } 46 | 47 | .RecipeAnaLysHTwo{ 48 | font-size: 1.8rem; 49 | text-align: center; 50 | font-weight: 800; 51 | line-height: 1.15; 52 | font-family: "Inter",Helvetica,Arial,-apple-system,sans-serif; 53 | } 54 | 55 | .Recipes_section_DivFoodPage{ 56 | display: flex; 57 | /* border: 1px solid black; */ 58 | gap: 30px; 59 | width: 90%; 60 | margin: auto; 61 | margin-top: 20px; 62 | padding:20px ; 63 | margin-bottom: 80px; 64 | } 65 | 66 | .Recipes_section_DivFoodPage>div{ 67 | /* border: 1px solid black; */ 68 | width: 90%; 69 | height: auto; 70 | padding-bottom: 10px; 71 | border-radius: 20px 20px 20px 20px; 72 | box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; 73 | } 74 | .recipeImg{ 75 | border-radius: 20px 20px 0px 0px; 76 | height: 210px; 77 | width: 100%; 78 | /* border: 1px solid black; */ 79 | } 80 | 81 | .recipe_tag{ 82 | /* border: 1px solid black; */ 83 | text-align: center; 84 | font-size: 18px; 85 | font-weight: 550; 86 | line-height: 1.5; 87 | padding: 10px; 88 | font-family: "Inter",Helvetica,Arial,-apple-system,sans-serif; 89 | color: #212121; 90 | line-height: 1.4; 91 | margin: 0px; 92 | margin-top: 10px; 93 | 94 | } 95 | 96 | .FooterOnFoodPage{ 97 | margin-top: 36rem; 98 | } 99 | 100 | 101 | .foodSearchDiv>div:nth-child(2){ 102 | margin-left: 20px; 103 | border: 0px solid black; 104 | display: grid; 105 | height: 950px; 106 | gap: 70px; 107 | grid-template-columns: repeat(1,1fr); 108 | } 109 | 110 | .SideAdDiv div{ 111 | display: grid; 112 | grid-template-columns: repeat(1,1fr); 113 | gap: 20px; 114 | border: 0px solid black; 115 | box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px; 116 | height: 460px; 117 | } 118 | 119 | .SideAdDiv div>img{ 120 | height: 460px; 121 | width: 100%; 122 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Welcome to MyFitnessPal 2 |

MyFitnessPal is allows users to track calories, monitor progress toward weight-management goals, and gain support from an online community..

3 | 4 | ## [Deployed URL]( https://reliable-kataifi-f68fe6.netlify.app/) 5 | 6 | ## Indivisual Project 7 | - Shivam Gote (My Linkedin profile :- https://www.linkedin.com/in/shivam-gote/) 8 |
9 | 10 | 11 |
12 |

💻 Tech Stack

13 |
14 | html5 15 | css3 16 | javascript 17 | reactjs 18 | chakra-ui 19 |
20 |
21 | 22 | 23 | 24 |

Tools

25 | git 26 | github 27 | vscode 28 | 29 | 30 |
31 |
32 | 33 | 34 | 35 | ## Let's Dive into What we have made 36 | 37 | ## Home Page : 38 | ![Screenshot (1787)](https://user-images.githubusercontent.com/104616395/209703522-6f1f2b3b-f839-4ccb-9812-02a8172e3a27.png) 39 |
40 | 41 | 42 | ## Login Page : 43 | ![Screenshot (1788)](https://user-images.githubusercontent.com/104616395/209703892-5f95fc30-f38e-4c28-8846-245aee5bfcc1.png) 44 | 45 |
46 |

Users can Login using Login Authentication with thier registered Email address .

47 |
48 | 49 | 50 | ## About : 51 | ![Screenshot (1789)](https://user-images.githubusercontent.com/104616395/209704226-905dcc4e-1d8a-4210-bf63-7850ffd07875.png) 52 | 53 |
54 |

Users can enter their basic data after doing first time login .

55 |
56 | 57 | 58 | ## Food: 59 | ![Screenshot (1790)](https://user-images.githubusercontent.com/104616395/209704333-a0b0ab14-82c2-43e0-9c43-b185bae1170e.png) 60 |
61 |

Users can track and log their workouts from this section .

62 |
63 | 64 | 65 | ## Exercise: 66 | ![Screenshot (1791)](https://user-images.githubusercontent.com/104616395/209704430-18d8701f-48c9-446a-ac7d-ac89ce1b7d18.png) 67 | 68 |
69 |

This page contains wefit workout routine plans where users can access all free and elite workouts and users are also provided with search, filter, categories, and navigate functionality across all pages .

70 |
71 | 72 | 73 | 74 | 75 | ### Thank you 76 | 77 | -------------------------------------------------------------------------------- /shivam-gym/src/Page/About.css: -------------------------------------------------------------------------------- 1 | .MainContainer { 2 | padding: 10px; 3 | } 4 | 5 | .LoseSectionDiv { 6 | width: 80%; 7 | margin: auto; 8 | height: 20px; 9 | 10 | } 11 | 12 | .LoseSectionHeader { 13 | color: #0a5282; 14 | font-size: 23px; 15 | font-weight: bolder; 16 | margin: 10px 0 20px; 17 | padding-bottom: 11px; 18 | border-bottom: 1px solid #e6e6e6; 19 | } 20 | 21 | .LoseSectionPTagSection { 22 | /* border: 1px solid black; */ 23 | width: 95%; 24 | height: auto; 25 | display: grid; 26 | gap: 2px; 27 | grid-template-columns: 70% 35%; 28 | } 29 | 30 | .LoseSectionPTagSection>div { 31 | border: 0px solid red; 32 | } 33 | 34 | .LossPTagOrigin { 35 | font-size: 14px; 36 | color: #120012; 37 | line-height: 18px; 38 | font-weight: 500; 39 | margin-bottom: 18px; 40 | font-family: Arial, sans-serif; 41 | } 42 | 43 | .HowDoesItWorkDiv { 44 | background-color: #f6f6f6; 45 | border: 2px solid #cbcbcb; 46 | background-image: url(https://www.myfitnesspal.com/assets/img-about-us.png); 47 | padding: 180px 43px 46px 162px; 48 | background-repeat: no-repeat; 49 | } 50 | 51 | .HowDoesTag { 52 | /* border: 1px solid black; */ 53 | margin-top: -10rem; 54 | } 55 | 56 | .HowDoesHTwoTag { 57 | color: #0a5282; 58 | font-size: 16px; 59 | font-weight: bold; 60 | margin-bottom: 10px; 61 | } 62 | 63 | .HowDoesThePTag { 64 | font-size: 15px; 65 | line-height: 18px; 66 | margin-bottom: 10px; 67 | font-family: Arial, sans-serif; 68 | } 69 | 70 | 71 | .WithFreeSection { 72 | /* border: 1px solid black; */ 73 | margin-top: 30px; 74 | } 75 | 76 | .WithFreeHTwoTag { 77 | color: #0a5282; 78 | font-size: 18px; 79 | margin-bottom: 15px; 80 | font-weight: bold; 81 | } 82 | 83 | .WithFreePTag { 84 | /* border: 1px solid black; */ 85 | font-size: 14px; 86 | line-height: 18px; 87 | margin-bottom: 10px; 88 | font-family: Arial, sans-serif; 89 | } 90 | 91 | .WaitSection { 92 | border: 0px solid black; 93 | margin-top: 50px; 94 | height: 50px; 95 | } 96 | 97 | 98 | .StartLosing { 99 | background-color: #f6f6f6; 100 | border: 2px solid #cbcbcb; 101 | margin-top: 5px; 102 | background-image: url(https://www.myfitnesspal.com/assets/img-about-us-2.png); 103 | padding: 180px 43px 0px 162px; 104 | background-repeat: no-repeat; 105 | } 106 | 107 | .JoinBtn { 108 | background-color: rgb(21, 144, 21); 109 | border: 1px solid rgb(52, 219, 85); 110 | padding: 7px; 111 | width: 40%; 112 | margin: auto; 113 | margin-left: 100px; 114 | margin-top: 10px; 115 | border-radius: 10px; 116 | color: white; 117 | } 118 | 119 | .FooterAbout { 120 | margin-top: 80rem; 121 | } 122 | .LoseSectionPTagSection>div:nth-child(2){ 123 | height: 400px; 124 | margin-top: -10px; 125 | margin-left: 10px; 126 | border: 3px solid #f3f1f1;; 127 | box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; 128 | } 129 | 130 | .AboutLoginHead{ 131 | margin-top: 20px; 132 | text-align: center; 133 | font-size: 21px; 134 | font-weight: 800; 135 | } 136 | 137 | .InputFormDiv{ 138 | /* border: 1px solid black; */ 139 | width: 90%; 140 | margin: auto; 141 | } -------------------------------------------------------------------------------- /shivam-gym/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 | -------------------------------------------------------------------------------- /shivam-gym/src/Page/Login.jsx: -------------------------------------------------------------------------------- 1 | import React from "react" 2 | import SecoundNavbar from "../Components/SecoundNavbar"; 3 | import { 4 | Flex, 5 | Heading, 6 | Input, 7 | Button, 8 | FormControl, 9 | FormLabel, 10 | Switch, 11 | useColorMode, 12 | useColorModeValue, 13 | HStack, 14 | Text, 15 | } from '@chakra-ui/react'; 16 | import { FaFacebook, FaTwitter } from 'react-icons/fa'; 17 | import style from "../Page/Login.module.css" 18 | import Footer from "../Components/Footer"; 19 | import { Link } from "react-router-dom"; 20 | 21 | 22 | 23 | function Login() { 24 | 25 | 26 | const { toggleColorMode } = useColorMode(); 27 | const formBackground = useColorModeValue('gray.100', 'gray.700'); 28 | 29 | 30 | return ( 31 | <> 32 | 33 | 34 | 35 |
36 | 37 | 38 | 48 | Member Login 49 | 58 | 66 | 69 | 70 | 71 | Enable Dark Mode? 72 | 73 | 79 | 80 | 81 | 82 | 85 | 88 | 89 | Not a member yet? Sign up now! 90 | 91 | 92 | 93 |
94 | 95 |