Repository: devmahmud/material-ui-portfolio Branch: master Commit: 0e15e71cd64a Files: 21 Total size: 32.3 KB Directory structure: gitextract_4l3ugflj/ ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── public/ │ ├── index.html │ ├── manifest.json │ └── robots.txt └── src/ ├── App.css ├── App.js ├── App.test.js ├── components/ │ ├── Contact.js │ ├── Footer.js │ ├── Header.js │ ├── Navbar.js │ ├── Particles.js │ ├── Portfolio.js │ ├── Resume.js │ └── index.js ├── index.js ├── serviceWorker.js └── setupTests.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies /node_modules /.pnp .pnp.js # testing /coverage # production /build # misc .DS_Store .env.local .env.development.local .env.test.local .env.production.local npm-debug.log* yarn-debug.log* yarn-error.log* ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2020 Mahmudul Alam Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================ ## Material UI Portfolio A portfolio single page application using React and Material UI ### Demo of this site available here [Material-UI-Portfolio Demo](https://materialui-portfolio.netlify.app/) #### Installing Clone the repository using following command or download ``` git clone https://github.com/devmahmud/material-ui-portfolio.git ``` #### To install dependency ``` npm install ``` #### To start the server ``` npm start ``` #### For Production Build ``` npm run build ``` Server will be available at http://127.0.0.1:3000 in your browser # Project snapshot ## Home page ![image](https://user-images.githubusercontent.com/19981097/86140838-218ec980-bb13-11ea-87c5-504d68c8d2a4.png) ## Sidebar ![image](https://user-images.githubusercontent.com/19981097/86140963-4aaf5a00-bb13-11ea-854e-012077dd6101.png) ## Resume ![image](https://user-images.githubusercontent.com/19981097/86141072-6fa3cd00-bb13-11ea-98d4-459d59af8a15.png) ## Portfolio ![image](https://user-images.githubusercontent.com/19981097/86141235-9f52d500-bb13-11ea-9d7b-44b982a6fd3f.png) ## Contact ![image](https://user-images.githubusercontent.com/19981097/86141330-bf829400-bb13-11ea-9070-ecd62027078f.png) ## Author
Mahmudul alam Email: expelmahmud@gmail.com
========Thank You !!!========= ================================================ FILE: package.json ================================================ { "name": "portfolio", "version": "0.1.0", "private": true, "dependencies": { "@material-ui/core": "^4.10.2", "@material-ui/icons": "^4.9.1", "@material-ui/styles": "^4.10.0", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.5.0", "@testing-library/user-event": "^7.2.1", "i": "^0.3.6", "npm": "^6.14.5", "react": "^16.13.1", "react-dom": "^16.13.1", "react-particles-js": "^3.2.1", "react-router-dom": "^5.2.0", "react-scripts": "3.4.1", "react-typed": "^1.2.0" }, "scripts": { "start": "react-scripts --openssl-legacy-provider start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": "react-app" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } } ================================================ FILE: public/index.html ================================================ Portfolio
================================================ FILE: public/manifest.json ================================================ { "short_name": "React App", "name": "Create React App Sample", "icons": [ { "src": "favicon.ico", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, { "src": "logo192.png", "type": "image/png", "sizes": "192x192" }, { "src": "logo512.png", "type": "image/png", "sizes": "512x512" } ], "start_url": ".", "display": "standalone", "theme_color": "#000000", "background_color": "#ffffff" } ================================================ FILE: public/robots.txt ================================================ # https://www.robotstxt.org/robotstxt.html User-agent: * Disallow: ================================================ FILE: src/App.css ================================================ body { background: url(coffee-apple.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } ================================================ FILE: src/App.js ================================================ import React from "react"; import { Route, Switch } from "react-router-dom"; import CssBaseline from "@material-ui/core/CssBaseline"; import Home from "./components"; import Resume from "./components/Resume"; import Navbar from "./components/Navbar"; import Portfolio from "./components/Portfolio"; import Contact from "./components/Contact"; import "./App.css"; function App() { return ( ); } export default App; ================================================ FILE: src/App.test.js ================================================ import React from 'react'; import { render } from '@testing-library/react'; import App from './App'; test('renders learn react link', () => { const { getByText } = render(); const linkElement = getByText(/learn react/i); expect(linkElement).toBeInTheDocument(); }); ================================================ FILE: src/components/Contact.js ================================================ import React from "react"; import { makeStyles, withStyles } from "@material-ui/core/styles"; import Box from "@material-ui/core/Box"; import TextField from "@material-ui/core/TextField"; import Typography from "@material-ui/core/Typography"; import Grid from "@material-ui/core/Grid"; import Button from "@material-ui/core/Button"; import Send from "@material-ui/icons/Send"; const useStyles = makeStyles((theme) => ({ contactContainer: { background: "#233", height: "100vh", }, heading: { color: "tomato", textAlign: "center", textTransform: "uppercase", marginBottom: "1rem", }, form: { top: "50%", left: "50%", transform: "translate(-50%, -50%)", position: "absolute", }, input: { color: "#fff", }, button: { marginTop: "1rem", color: "tomato", borderColor: "tan", }, field: { margin: "1rem 0rem", }, })); const InputField = withStyles({ root: { "& label.Mui-focused": { color: "tomato", }, "& label": { color: "tan", }, "& .MuiOutlinedInput-root": { "& fieldset": { borderColor: "tan", }, "&:hover fieldset": { borderColor: "tan", }, "&.Mui-focused fieldset": { color: "#fff", borderColor: "tan", }, }, }, })(TextField); const Contact = () => { const classes = useStyles(); return ( Hire or Contact me... ); }; export default Contact; ================================================ FILE: src/components/Footer.js ================================================ import React from "react"; import { makeStyles } from "@material-ui/core/styles"; import BottomNavigation from "@material-ui/core/BottomNavigation"; import BottomNavigationAction from "@material-ui/core/BottomNavigationAction"; import Facebook from "@material-ui/icons/Facebook"; import Twitter from "@material-ui/icons/Twitter"; import Instagram from "@material-ui/icons/Instagram"; const useStyles = makeStyles({ bottomNavContainer: { background: "#222", height: "55px", overflow: "hidden", }, root: { "& .MuiSvgIcon-root": { fill: "tan", "&:hover": { fill: "tomato", fontSize: "1.8rem", }, }, }, }); const Footer = () => { const classes = useStyles(); return ( } className={classes.root} /> } className={classes.root} /> } className={classes.root} /> ); }; export default Footer; ================================================ FILE: src/components/Header.js ================================================ import React from "react"; import Typography from "@material-ui/core/Typography"; import Avatar from "@material-ui/core/Avatar"; import Grid from "@material-ui/core/Grid"; import Box from "@material-ui/core/Box"; import Typed from "react-typed"; import { makeStyles } from "@material-ui/core/styles"; import avatar from "../avatar.png"; const useStyles = makeStyles((theme) => ({ avatar: { width: theme.spacing(15), height: theme.spacing(15), margin: theme.spacing(1), }, title: { color: "tomato", }, subtitle: { color: "tan", textTransform: "uppercase", }, typedContainer: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-50%)", width: "100vw", textAlign: "center", zIndex: 1, }, })); const Header = () => { const classes = useStyles(); return ( ); }; export default Header; ================================================ FILE: src/components/Navbar.js ================================================ import React, { useState } from "react"; import { Link } from "react-router-dom"; import Drawer from "@material-ui/core/Drawer"; import Box from "@material-ui/core/Box"; import AppBar from "@material-ui/core/AppBar"; import Toolbar from "@material-ui/core/Toolbar"; import IconButton from "@material-ui/core/IconButton"; import List from "@material-ui/core/List"; import ListItem from "@material-ui/core/ListItem"; import ListItemIcon from "@material-ui/core/ListItemIcon"; import ListItemText from "@material-ui/core/ListItemText"; import Avatar from "@material-ui/core/Avatar"; import Divider from "@material-ui/core/Divider"; import Typography from "@material-ui/core/Typography"; import ArrowBack from "@material-ui/icons/ArrowBack"; import AssignmentInd from "@material-ui/icons/AssignmentInd"; import Home from "@material-ui/icons/Home"; import Apps from "@material-ui/icons/Apps"; import ContactMail from "@material-ui/icons/ContactMail"; import { makeStyles } from "@material-ui/core/styles"; import avatar from "../avatar.png"; import Footer from "../components/Footer"; const useStyles = makeStyles((theme) => ({ appbar: { background: "#222", margin: 0, }, arrow: { color: "tomato", }, title: { color: "tan", }, menuSliderContainer: { width: 250, background: "#511", height: "100%", }, avatar: { display: "block", margin: "0.5rem auto", width: theme.spacing(13), height: theme.spacing(13), }, listItem: { color: "tan", }, })); const menuItems = [ { listIcon: , listText: "Home", listPath: "/" }, { listIcon: , listText: "Resume", listPath: "/resume" }, { listIcon: , listText: "Portfolio", listPath: "/portfolio" }, { listIcon: , listText: "Contact", listPath: "/contact" }, ]; const Navbar = () => { const [open, setOpen] = useState(false); const classes = useStyles(); const sideList = () => ( {menuItems.map((item, i) => ( setOpen(false)} component={Link} to={item.listPath} > {item.listIcon} ))} ); return ( setOpen(true)}> Portfolio setOpen(false)}> {sideList()}