Jelajahi Sumber

added React homeWork 1

Natali Mitrofanova 2 tahun lalu
melakukan
232ea936d7
61 mengubah file dengan 17308 tambahan dan 0 penghapusan
  1. 23 0
      React-HW-1/.gitignore
  2. 70 0
      React-HW-1/README.md
  3. 16091 0
      React-HW-1/package-lock.json
  4. 38 0
      React-HW-1/package.json
  5. 19 0
      React-HW-1/public/index.html
  6. 5 0
      React-HW-1/src/App.css
  7. 26 0
      React-HW-1/src/App.js
  8. 36 0
      React-HW-1/src/components/Burger/Burger.css
  9. 11 0
      React-HW-1/src/components/Burger/Burger.js
  10. 45 0
      React-HW-1/src/components/ButtonDownloadApp/ButtonDownloadApp.css
  11. 16 0
      React-HW-1/src/components/ButtonDownloadApp/ButtonDownloadApp.js
  12. 36 0
      React-HW-1/src/components/ButtonGetApp/ButtonGetApp.css
  13. 13 0
      React-HW-1/src/components/ButtonGetApp/ButtonGetApp.js
  14. 56 0
      React-HW-1/src/components/ButtonSendMail/ButtonSendMail.css
  15. 14 0
      React-HW-1/src/components/ButtonSendMail/ButtonSendMail.js
  16. 30 0
      React-HW-1/src/components/ButtonWatchVideo/ButtonWatchVideo.css
  17. 15 0
      React-HW-1/src/components/ButtonWatchVideo/ButtonWatchVideo.js
  18. 20 0
      React-HW-1/src/components/ComunicationBlock/CommunicationBlock.css
  19. 14 0
      React-HW-1/src/components/ComunicationBlock/CommunicationBlock.js
  20. 14 0
      React-HW-1/src/components/Description/Description.css
  21. 18 0
      React-HW-1/src/components/Description/Description.js
  22. 21 0
      React-HW-1/src/components/FeatureBlock/FeatureBlock.css
  23. 15 0
      React-HW-1/src/components/FeatureBlock/FeatureBlock.js
  24. 16 0
      React-HW-1/src/components/FeaturesSection/FeaturesSection.css
  25. 22 0
      React-HW-1/src/components/FeaturesSection/FeaturesSection.js
  26. 26 0
      React-HW-1/src/components/FooterInformBlock/FooterInformBlock.css
  27. 32 0
      React-HW-1/src/components/FooterInformBlock/FooterInformBlock.js
  28. 9 0
      React-HW-1/src/components/FooterLinksBlock/FooterLinksBlock.css
  29. 19 0
      React-HW-1/src/components/FooterLinksBlock/FooterLinksBlock.js
  30. 9 0
      React-HW-1/src/components/FooterSection/FooterSection.css
  31. 17 0
      React-HW-1/src/components/FooterSection/FooterSection.js
  32. 14 0
      React-HW-1/src/components/Header/Header.css
  33. 16 0
      React-HW-1/src/components/Header/Header.js
  34. 63 0
      React-HW-1/src/components/IPhoneSection/IPhoneSection.css
  35. 34 0
      React-HW-1/src/components/IPhoneSection/IPhoneSection.js
  36. 9 0
      React-HW-1/src/components/InnerIntroSection/InnerIntroSection.css
  37. 20 0
      React-HW-1/src/components/InnerIntroSection/InnerIntroSection.js
  38. 0 0
      React-HW-1/src/components/IntroSection/IntroSection.css
  39. 17 0
      React-HW-1/src/components/IntroSection/IntroSection.js
  40. 17 0
      React-HW-1/src/components/Logo/Logo.css
  41. 11 0
      React-HW-1/src/components/Logo/Logo.js
  42. 23 0
      React-HW-1/src/components/NavBar/NavBar.css
  43. 17 0
      React-HW-1/src/components/NavBar/NavBar.js
  44. 35 0
      React-HW-1/src/components/PartnerSection/PartnerSection.css
  45. 27 0
      React-HW-1/src/components/PartnerSection/PartnerSection.js
  46. 18 0
      React-HW-1/src/components/SectionMail/SectionMail.css
  47. 16 0
      React-HW-1/src/components/SectionMail/SectionMail.js
  48. 12 0
      React-HW-1/src/components/ShortDescription/ShortDescription.css
  49. 15 0
      React-HW-1/src/components/ShortDescription/ShortDescription.js
  50. 13 0
      React-HW-1/src/components/SignatureSection/SignatureSection.css
  51. 12 0
      React-HW-1/src/components/SignatureSection/SignatureSection.js
  52. 38 0
      React-HW-1/src/components/SocialNetworksLinks/SocialNetworksLinks.css
  53. 17 0
      React-HW-1/src/components/SocialNetworksLinks/SocialNetworksLinks.js
  54. 38 0
      React-HW-1/src/data.js
  55. TEMPAT SAMPAH
      React-HW-1/src/img/DropboxLogo.png
  56. TEMPAT SAMPAH
      React-HW-1/src/img/EvernoteLogo.png
  57. TEMPAT SAMPAH
      React-HW-1/src/img/iPhone6.png
  58. TEMPAT SAMPAH
      React-HW-1/src/img/mountains.png
  59. TEMPAT SAMPAH
      React-HW-1/src/img/worldMap.png
  60. 19 0
      React-HW-1/src/index.css
  61. 11 0
      React-HW-1/src/index.js

+ 23 - 0
React-HW-1/.gitignore

@@ -0,0 +1,23 @@
+# 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*

+ 70 - 0
React-HW-1/README.md

@@ -0,0 +1,70 @@
+# Getting Started with Create React App
+
+This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
+
+## Available Scripts
+
+In the project directory, you can run:
+
+### `npm start`
+
+Runs the app in the development mode.\
+Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
+
+The page will reload if you make edits.\
+You will also see any lint errors in the console.
+
+### `npm test`
+
+Launches the test runner in the interactive watch mode.\
+See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
+
+### `npm run build`
+
+Builds the app for production to the `build` folder.\
+It correctly bundles React in production mode and optimizes the build for the best performance.
+
+The build is minified and the filenames include the hashes.\
+Your app is ready to be deployed!
+
+See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
+
+### `npm run eject`
+
+**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
+
+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.
+
+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.
+
+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.
+
+## Learn More
+
+You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
+
+To learn React, check out the [React documentation](https://reactjs.org/).
+
+### Code Splitting
+
+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)
+
+### Analyzing the Bundle Size
+
+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)
+
+### Making a Progressive Web App
+
+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)
+
+### Advanced Configuration
+
+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)
+
+### Deployment
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
+
+### `npm run build` fails to minify
+
+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)

File diff ditekan karena terlalu besar
+ 16091 - 0
React-HW-1/package-lock.json


+ 38 - 0
React-HW-1/package.json

@@ -0,0 +1,38 @@
+{
+  "name": "tomorrow",
+  "version": "0.1.0",
+  "private": true,
+  "dependencies": {
+    "@testing-library/jest-dom": "^5.14.1",
+    "@testing-library/react": "^11.2.7",
+    "@testing-library/user-event": "^12.8.3",
+    "react": "^17.0.2",
+    "react-dom": "^17.0.2",
+    "react-scripts": "4.0.3",
+    "web-vitals": "^1.1.2"
+  },
+  "scripts": {
+    "start": "react-scripts start",
+    "build": "react-scripts build",
+    "test": "react-scripts test",
+    "eject": "react-scripts eject"
+  },
+  "eslintConfig": {
+    "extends": [
+      "react-app",
+      "react-app/jest"
+    ]
+  },
+  "browserslist": {
+    "production": [
+      ">0.2%",
+      "not dead",
+      "not op_mini all"
+    ],
+    "development": [
+      "last 1 chrome version",
+      "last 1 firefox version",
+      "last 1 safari version"
+    ]
+  }
+}

+ 19 - 0
React-HW-1/public/index.html

@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="theme-color" content="#000000" />
+    <meta
+      name="description"
+      content="Web site created using create-react-app"
+    />
+    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css"
+          integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
+    <title>React App</title>
+  </head>
+  <body>
+    <noscript>You need to enable JavaScript to run this app.</noscript>
+    <div id="root"></div>
+  </body>
+</html>

+ 5 - 0
React-HW-1/src/App.css

@@ -0,0 +1,5 @@
+.App{
+    max-width: 1600px;
+    height: fit-content;
+    margin: 0 auto;
+}

+ 26 - 0
React-HW-1/src/App.js

@@ -0,0 +1,26 @@
+import './App.css';
+import IntroSection from "./components/IntroSection/IntroSection";
+import FeaturesSection from "./components/FeaturesSection/FeaturesSection";
+import IPhoneSection from "./components/IPhoneSection/IPhoneSection";
+import PartnerSection from "./components/PartnerSection/PartnerSection";
+import FooterSection from "./components/FooterSection/FooterSection";
+import SectionMail from "./components/SectionMail/SectionMail";
+import SignatureSection from "./components/SignatureSection/SignatureSection"
+
+function App() {
+    return (
+        <div className="App">
+            <IntroSection/>
+            <FeaturesSection/>
+            <IPhoneSection/>
+            <PartnerSection/>
+            <SectionMail/>
+            <FooterSection/>
+            <SignatureSection/>
+        </div>
+    );
+}
+
+export default App;
+
+

+ 36 - 0
React-HW-1/src/components/Burger/Burger.css

@@ -0,0 +1,36 @@
+.BurgerLine{
+    width: 20px;
+    height: 2px;
+    background-color: #1b1c1e;
+    top: 5px;
+    position: absolute;
+}
+
+.BurgerLine::before {
+    content: "";
+    width: 20px;
+    height: 2px;
+    display: block;
+    background-color: #1b1c1e;
+    position: absolute;
+    top: -5px;
+}
+
+.BurgerLine::after {
+    content: "";
+    display: block;
+    width: 20px;
+    height: 2px;
+    background-color: #1b1c1e;
+    position: absolute;
+    top: 5px;
+}
+.Burger{
+    min-width: 20px;
+    height: 12px;
+    position: relative;
+    top: 2px;
+}
+.Burger:hover{
+    cursor: pointer;
+}

+ 11 - 0
React-HW-1/src/components/Burger/Burger.js

@@ -0,0 +1,11 @@
+import './Burger.css';
+
+function Burger() {
+    return (
+        <div className='Burger'>
+            <div className="BurgerLine"/>
+        </div>
+    )
+}
+
+export default Burger;

+ 45 - 0
React-HW-1/src/components/ButtonDownloadApp/ButtonDownloadApp.css

@@ -0,0 +1,45 @@
+.wrapperButtonDownload {
+    display: flex;
+    align-items: center;
+    padding: 0 20px 0;
+    border-radius: 7px;
+    background-color: #231f20;
+    height: 42px;
+    margin-bottom: 42px;
+    box-sizing: border-box;
+    width: fit-content;
+}
+
+.wrapperButtonDownload .fa-apple {
+    color: #FFF;
+}
+
+.downloadTextWrapper p {
+    color: #fff;
+    margin: 0;
+    font-size: 10px;
+    letter-spacing: .9px;
+}
+
+.downloadTextWrapper .AppStore {
+    font-size: 15px;
+    font-weight: bold;
+    letter-spacing: .5px;
+
+}
+
+
+.wrapperButtonDownload:hover {
+    cursor: pointer;
+    background-color: transparent;
+    border: 1px solid black;
+}
+
+.wrapperButtonDownload:hover p {
+    color: black;
+}
+
+
+.wrapperButtonDownload:hover .fa-apple {
+    color: black;
+}

+ 16 - 0
React-HW-1/src/components/ButtonDownloadApp/ButtonDownloadApp.js

@@ -0,0 +1,16 @@
+import './ButtonDownloadApp.css';
+
+function ButtonDownloadApp() {
+    return (
+        <div className="wrapperButtonDownload">
+            <i className="fab fa-apple"></i>
+            <div className="downloadTextWrapper">
+                <p>Download on the</p>
+                <p className="AppStore">App Store</p>
+            </div>
+        </div>
+
+    );
+}
+
+export default ButtonDownloadApp;

+ 36 - 0
React-HW-1/src/components/ButtonGetApp/ButtonGetApp.css

@@ -0,0 +1,36 @@
+.getApp {
+    width: 132px;
+    height: 42px;
+    border-radius: 21px;
+    background-color: #267df4;
+    border: none;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    cursor: pointer;
+}
+
+.fa-apple {
+    font-size: 21px;
+    margin: -6px 14px 0 0;
+    color: #fff;
+}
+
+.textButton {
+    font-size: 16px;
+    color: #fff;
+}
+
+.getApp:hover {
+    background-color: transparent;
+    border: 1px solid #267df4;
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
+}
+
+.getApp:hover .textButton {
+    color: #267df4;
+}
+
+.getApp:hover .fa-apple {
+    color: #267df4;
+}

+ 13 - 0
React-HW-1/src/components/ButtonGetApp/ButtonGetApp.js

@@ -0,0 +1,13 @@
+import './ButtonGetApp.css'
+
+function ButtonGetApp (){
+    return(
+        <button className="getApp">
+            <i className="fab fa-apple"></i>
+            <p className="textButton">Get App</p>
+        </button>
+
+    )
+}
+
+export default ButtonGetApp;

+ 56 - 0
React-HW-1/src/components/ButtonSendMail/ButtonSendMail.css

@@ -0,0 +1,56 @@
+.buttonEmailWrapper {
+    display: flex;
+    width: 502px;
+    border: solid 1px;
+    border-radius: 25px;
+    justify-content: end;
+
+}
+
+.sendEmail {
+    padding-left: 20px;
+    width: 100%;
+    border: none;
+    outline: none;
+    background: transparent;
+    font-size: 16px;
+    color: rgba(38, 41, 44, 0.7);
+    opacity: 0.7;
+}
+
+.btnSubscribe {
+    min-width: 164px;
+    height: 42px;
+    background-color: #6fc754;
+    border-radius: 21px;
+    border: none;
+    display: flex;
+    align-items: center;
+    margin: 2px;
+    padding: 0;
+}
+
+.btnSubscribe p {
+    font-size: 16px;
+    color: #fff;
+    margin-left: 31px;
+    margin-right: 18px;
+
+}
+
+
+.btnSubscribe:hover {
+    background-color: transparent;
+    border: 1px solid #6fc754;
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
+    cursor: pointer;
+}
+
+.btnSubscribe:hover  p {
+    color: #6fc754;
+}
+
+.btnSubscribe:hover .fa-arrow-right {
+    color: #6fc754;
+}
+

+ 14 - 0
React-HW-1/src/components/ButtonSendMail/ButtonSendMail.js

@@ -0,0 +1,14 @@
+import './ButtonSendMail.css';
+
+function ButtonSendMail() {
+    return (
+        <div className="buttonEmailWrapper">
+            <input className="sendEmail" type="email" placeholder="Your e-mail" value=""/>
+                <button className="btnSubscribe">
+                    <p>Subscribe</p> <i className="fas fa-arrow-right"></i>
+                </button>
+        </div>
+);
+}
+
+export default ButtonSendMail;

+ 30 - 0
React-HW-1/src/components/ButtonWatchVideo/ButtonWatchVideo.css

@@ -0,0 +1,30 @@
+.ButtonWatchVideo {
+    width: 205px;
+    height: 50px;
+    border-radius: 25px;
+    border: solid 1px rgba(38, 39, 45, .1);
+    background-color: transparent;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+}
+
+.WatchVideo {
+    font-size: 16px;
+    color: #26272d;
+    margin: 0;
+}
+
+.Play {
+    padding-right: 15px;
+    border: 7px solid transparent;
+    border-left: 10px solid #26272d;
+    display: block;
+    width: 0;
+    height: 0;
+}
+
+.ButtonWatchVideo:hover {
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
+    cursor: pointer;
+}

+ 15 - 0
React-HW-1/src/components/ButtonWatchVideo/ButtonWatchVideo.js

@@ -0,0 +1,15 @@
+import './ButtonWatchVideo.css';
+
+function ButtonWatchVideo() {
+    return (
+
+            <div className="ButtonWatchVideo">
+                <div className="Play"/>
+                <p className="WatchVideo">Watch video</p>
+            </div>
+
+
+    );
+}
+
+export default ButtonWatchVideo;

+ 20 - 0
React-HW-1/src/components/ComunicationBlock/CommunicationBlock.css

@@ -0,0 +1,20 @@
+.rightList {
+
+    display: flex;
+    justify-content: space-around;
+    max-width: 318px;
+    min-width: 318px;
+    height: 42px;
+    align-items: center;
+}
+
+.rightList li {
+    padding-left: 31px;
+    margin: 0;
+    list-style: none;
+}
+
+.rightList li:hover {
+    cursor: pointer;
+    opacity: 0.5;
+}

+ 14 - 0
React-HW-1/src/components/ComunicationBlock/CommunicationBlock.js

@@ -0,0 +1,14 @@
+import './CommunicationBlock.css';
+import ButtonGetApp from "../ButtonGetApp/ButtonGetApp";
+
+function CommunicationBlock (){
+    return (
+        <ul className="rightList">
+            <li>Help</li>
+            <li>Contacts</li>
+            <li><ButtonGetApp/></li>
+
+        </ul>
+    )
+}
+export default CommunicationBlock;

+ 14 - 0
React-HW-1/src/components/Description/Description.css

@@ -0,0 +1,14 @@
+.descriptionTitle {
+    padding-top: 128px;
+    font-size: 62px;
+    color: #26272d;
+    margin: 0;
+}
+
+.descriptionText {
+    font-size: 20px;
+    color: #8c8f94;
+    max-width: 780px;
+    text-align: center;
+    margin: 40px 0 62px 0;
+}

+ 18 - 0
React-HW-1/src/components/Description/Description.js

@@ -0,0 +1,18 @@
+import './Description.css';
+
+
+function Description(props) {
+    return (
+        <>
+            <h3 className="descriptionTitle">{props.title}</h3>
+            <p className="descriptionText">The sight of the tumblers restored Bob Sawyer to a degree of equanimity which he
+                had not
+                possessed since his interview with his landlady. His face brightened up, and he began to feel quite
+                convivial.</p>
+        </>
+    );
+}
+
+export default Description;
+
+

+ 21 - 0
React-HW-1/src/components/FeatureBlock/FeatureBlock.css

@@ -0,0 +1,21 @@
+.featureBlock{
+
+    max-width: 45%;
+}
+
+.fa-expeditedssl{
+    font-size: 42px;
+    color: #267df4;
+}
+.featureBlockTitle{
+    font-size: 26px;
+    color: #27272d;
+    font-weight: 300;
+    margin-top: 48px;
+    margin-bottom: 45px;
+}
+
+.featureBlockText {
+    font-size: 18px;
+    color: #8c8f94;
+}

+ 15 - 0
React-HW-1/src/components/FeatureBlock/FeatureBlock.js

@@ -0,0 +1,15 @@
+import './FeatureBlock.css';
+
+function FeatureBlock(props){
+    return(
+        <div className="featureBlock">
+            <i className={props.icon}/>
+            <h4 className="featureBlockTitle">{props.title}</h4>
+            <p className="featureBlockText">{props.text1}
+            </p>
+            <p className="featureBlockText">{props.text2}</p>
+        </div>
+    );
+}
+
+export default FeatureBlock;

+ 16 - 0
React-HW-1/src/components/FeaturesSection/FeaturesSection.css

@@ -0,0 +1,16 @@
+.featuresSection{
+    padding-top: 122px;
+    width: 100%;
+    height: fit-content;
+    background-color: #fff;
+    position: relative;
+
+
+    }
+.innerFeaturesSection{
+    border-bottom: solid 1px rgba(38, 39, 45, .1);
+    display: flex;
+    justify-content: space-between;
+    padding-bottom: 126px;
+    margin: 0 248px;
+}

+ 22 - 0
React-HW-1/src/components/FeaturesSection/FeaturesSection.js

@@ -0,0 +1,22 @@
+import './FeaturesSection.css'
+import FeatureBlock from "../FeatureBlock/FeatureBlock"
+import { data } from "../../data"
+
+function FeaturesSection() {
+    return (
+        <div className="featuresSection">
+            <div className="innerFeaturesSection">
+                {data.features.map((item) => {
+                    return <FeatureBlock
+                        icon={item.icon}
+                        title={item.title}
+                        text1={item.text1}
+                        text2={item.text2}
+                    />
+                })}
+            </div>
+        </div>
+    )
+}
+
+export default FeaturesSection;

+ 26 - 0
React-HW-1/src/components/FooterInformBlock/FooterInformBlock.css

@@ -0,0 +1,26 @@
+.wrapperFooterInformBlock .titleInformList {
+    font-size: 15px;
+    color: #26272d;
+    font-weight: bold;
+    letter-spacing: 1.2px;
+    line-height: 1.83;
+    padding-bottom: 26px;
+}
+
+.wrapperFooterInformBlock ul {
+    list-style: none;
+}
+.wrapperFooterInformBlock{
+    min-width: 550px;
+    display: flex;
+    justify-content: space-around;
+}
+.wrapperFooterInformBlock li {
+    color: #8c8f94;
+    line-height: 2.25;
+    font-size: 16px;
+}
+.wrapperFooterInformBlock li:hover{
+    color: #000;
+    cursor: pointer;
+}

+ 32 - 0
React-HW-1/src/components/FooterInformBlock/FooterInformBlock.js

@@ -0,0 +1,32 @@
+import './FooterInformBlock.css';
+
+function FooterInformBlock() {
+    return (
+        <div className="wrapperFooterInformBlock">
+
+            <ul>
+                <li className="titleInformList">Learn More</li>
+                <li>How it works?</li>
+                <li>Meeting tools</li>
+                <li>Live striming</li>
+                <li>Contat method</li>
+            </ul>
+            <ul>
+                <li className="titleInformList">About us</li>
+                <li>About us</li>
+                <li>Features</li>
+                <li>Privacy police</li>
+                <li>Terms & Conditions</li>
+            </ul>
+            <ul>
+                <li className="titleInformList">Support</li>
+                <li>F.A.Q.</li>
+                <li>Contact us</li>
+                <li>Live chat</li>
+                <li>Phone call</li>
+            </ul>
+        </div>
+    );
+}
+
+export default FooterInformBlock;

+ 9 - 0
React-HW-1/src/components/FooterLinksBlock/FooterLinksBlock.css

@@ -0,0 +1,9 @@
+.footerLinksWrapper{
+    max-width: 245px;
+
+}
+.footerLinksText{
+    font-size: 14px;
+    color:  #8c8f94;
+    margin: 34px 0 32px;
+}

+ 19 - 0
React-HW-1/src/components/FooterLinksBlock/FooterLinksBlock.js

@@ -0,0 +1,19 @@
+import './FooterLinksBlock.css';
+import Logo from "../Logo/Logo";
+import ButtonDownloadApp from "../ButtonDownloadApp/ButtonDownloadApp";
+import SocialNetworksLinks from "../SocialNetworksLinks/SocialNetworksLinks"
+
+function FooterLinksBlock() {
+    return (
+        <div className="footerLinksWrapper">
+            <Logo/>
+            <p className="footerLinksText">It was some time before he obtained any answer,
+                and the reply, when made, was unpropitious.</p>
+            <ButtonDownloadApp/>
+            <SocialNetworksLinks/>
+
+        </div>
+    );
+}
+
+export default FooterLinksBlock;

+ 9 - 0
React-HW-1/src/components/FooterSection/FooterSection.css

@@ -0,0 +1,9 @@
+.footerWrapper{
+    border-bottom: solid 1px rgba(38, 39, 45, .1);
+    padding-bottom: 50px;
+    display: flex;
+    justify-content: space-between;
+}
+.footerSection{
+    padding: 90px 310px 10px 215px;
+}

+ 17 - 0
React-HW-1/src/components/FooterSection/FooterSection.js

@@ -0,0 +1,17 @@
+import './FooterSection.css';
+import FooterInformBlock from "../FooterInformBlock/FooterInformBlock";
+import FooterLinksBlock from "../FooterLinksBlock/FooterLinksBlock";
+
+
+function FooterSection() {
+    return (
+        <div className="footerSection">
+            <div className="footerWrapper">
+                <FooterLinksBlock/>
+                <FooterInformBlock/>
+            </div>
+        </div>
+    );
+}
+
+export default FooterSection;

+ 14 - 0
React-HW-1/src/components/Header/Header.css

@@ -0,0 +1,14 @@
+.Header{
+    width: 100%;
+    box-sizing: border-box;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+    background-color: #f4f4f5;
+    padding: 44px 216px 0;
+
+}
+p{
+    font-size: 16px;
+    color: #26272d;
+}

+ 16 - 0
React-HW-1/src/components/Header/Header.js

@@ -0,0 +1,16 @@
+import './Header.css';
+import NavBar from "../NavBar/NavBar";
+import Logo from "../Logo/Logo";
+import CommunicationBlock from "../ComunicationBlock/CommunicationBlock";
+
+function Header() {
+    return (
+        <div className="Header">
+            <NavBar/>
+            <Logo/>
+            <CommunicationBlock/>
+        </div>
+    );
+}
+
+export default Header;

+ 63 - 0
React-HW-1/src/components/IPhoneSection/IPhoneSection.css

@@ -0,0 +1,63 @@
+.iPhoneSection{
+    width: 100%;
+    margin-top: 127px;
+    display: flex;
+    justify-content: center;
+}
+.iphoneImg{
+    margin-top: -47px;
+    width: 50%;
+    max-width: 800px;
+    height: 839px;
+    margin-right: 113px;
+}
+.iPhoneInfo{
+    padding-top: 97px;
+    width: 50%;
+}
+.buttonWrapper{
+    display: flex;
+    margin-top: 75px;
+}
+.blueBtn{
+    width: 202px;
+    height: 42px;
+    background-color: #267df4;
+    border-radius: 21px;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+    border: none;
+}
+.blueBtn p {
+    margin-left: 26px;
+    font-size: 16px;
+    color: #fff;
+
+}
+
+.fa-arrow-right {
+    color: #fff;
+    margin-right: 18px;
+    border-radius: 1.5px;
+    font-size: 14px;
+}
+.whiteBtn{
+    margin-left: 20px;
+    width: 142px;
+    height: 42px;
+    border-radius: 21px;
+    border: solid 1px rgba(38, 39, 45, .1);
+    background-color: transparent;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    font-size: 16px;
+    color: #26272d;
+}
+
+
+.iPhoneSection button:hover {
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
+    cursor: pointer;
+}

+ 34 - 0
React-HW-1/src/components/IPhoneSection/IPhoneSection.js

@@ -0,0 +1,34 @@
+import './IPhoneSection.css';
+import iPhone from '../../img/iPhone6.png'
+import ShortDescription from "../ShortDescription/ShortDescription";
+import {data} from "../../data";
+
+function IPhoneSection() {
+    return (
+        <div className="iPhoneSection">
+            <div className="iphoneImg">
+                <img src={iPhone} alt="pictureOfPhone"/>
+            </div>
+
+            <div className="iPhoneInfo">
+                <ShortDescription
+                    title={data.shortDescription[0].title}
+                    text1={data.shortDescription[0].text1}
+                    text2={data.shortDescription[0].text2}
+                />
+                <div className="buttonWrapper">
+                    <button className="blueBtn">
+                        <p>Try to hack us</p>
+                        <i className="fas fa-arrow-right"></i>
+                    </button>
+                    <button className="whiteBtn">Learn more</button>
+                </div>
+            </div>
+
+        </div>
+
+
+    );
+}
+
+export default IPhoneSection;

+ 9 - 0
React-HW-1/src/components/InnerIntroSection/InnerIntroSection.css

@@ -0,0 +1,9 @@
+.InnerIntroSection{
+    width: 100%;
+    height: 929px;
+    background-image: url(../../img/mountains.png);
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    background-color: #ededee;
+}

+ 20 - 0
React-HW-1/src/components/InnerIntroSection/InnerIntroSection.js

@@ -0,0 +1,20 @@
+import './InnerIntroSection.css';
+import Description from "../Description/Description";
+import ButtonWatchVideo from "../ButtonWatchVideo/ButtonWatchVideo";
+
+
+function InnerIntroSection() {
+    return (
+        <>
+            <div className="InnerIntroSection">
+                <Description title={"What happens tomorrow?"}/>
+                <ButtonWatchVideo/>
+            </div>
+
+        </>
+    );
+}
+
+export default InnerIntroSection;
+
+

+ 0 - 0
React-HW-1/src/components/IntroSection/IntroSection.css


+ 17 - 0
React-HW-1/src/components/IntroSection/IntroSection.js

@@ -0,0 +1,17 @@
+import './IntroSection.css';
+import Header from "../Header/Header";
+import InnerIntroSection from "../InnerIntroSection/InnerIntroSection";
+
+
+function IntroSection() {
+    return (
+        <div className="IntroSection">
+            <Header/>
+            <InnerIntroSection/>
+        </div>
+    );
+}
+
+export default IntroSection;
+
+

+ 17 - 0
React-HW-1/src/components/Logo/Logo.css

@@ -0,0 +1,17 @@
+.logo {
+    display: inline;
+    text-align: center;
+    cursor: default;
+}
+
+.logo p {
+    margin-left: 0;
+    margin-right: 0;
+    display: inline;
+    font-size: 16px;
+    color: #26272d;
+}
+
+.new {
+    font-weight: bold;
+}

+ 11 - 0
React-HW-1/src/components/Logo/Logo.js

@@ -0,0 +1,11 @@
+import './Logo.css';
+
+function Logo (){
+    return(
+        <div className="logo">
+            <p className="new">NEW</p>
+            <p>PROVIDENCE</p>
+        </div>
+    )
+}
+export default Logo;

+ 23 - 0
React-HW-1/src/components/NavBar/NavBar.css

@@ -0,0 +1,23 @@
+.navBarMenu{
+    padding: 0;
+    margin-left: 30px;
+    display: flex;
+    justify-content: space-around;
+}
+.navBarMenu li{
+    display: inline;
+    list-style: none;
+    padding-right: 41px;
+}
+.navBarMenu li:hover{
+    cursor: pointer;
+    opacity: 0.5;
+}
+.navBar {
+    min-width: 318px;
+    max-width: 318px;
+    display: flex;
+    justify-content: flex-start;
+    align-items: center;
+
+}

+ 17 - 0
React-HW-1/src/components/NavBar/NavBar.js

@@ -0,0 +1,17 @@
+import './NavBar.css';
+import Burger from "../Burger/Burger"
+
+function NavBar() {
+    return (
+        <div className="navBar">
+            <Burger/>
+            <ul className="navBarMenu">
+                <li>Tour</li>
+                <li>Features</li>
+                <li>Pricing</li>
+            </ul>
+        </div>
+    )
+}
+
+export default NavBar;

+ 35 - 0
React-HW-1/src/components/PartnerSection/PartnerSection.css

@@ -0,0 +1,35 @@
+.partnerInformBlock{
+    width: 40%;
+    margin-left: 215px;
+
+    max-width: 469px;
+    margin-right: 75px;
+}
+.partnerList{
+    margin-top: 68px;
+    font-size: 12px;
+    font-weight: bold;
+    color: #26272d;
+    margin-top: 68px;
+    margin-bottom: 31px;
+}
+.partnerLogoWrapper{
+    display: flex;
+    justify-content: space-between;
+    width: 300px;
+
+}
+.mapBlock {
+    height: 496px;
+
+    width: 60%;
+}
+
+.mapBlock {
+    background-image: url(../../img/worldMap.png);
+}
+.partnerWrapper{
+    display: flex;
+    padding-bottom: 100px;
+    margin-top: 90px;
+}

+ 27 - 0
React-HW-1/src/components/PartnerSection/PartnerSection.js

@@ -0,0 +1,27 @@
+import './PartnerSection.css';
+import ShortDescription from "../ShortDescription/ShortDescription";
+import {data} from "../../data";
+import DropBox from '../../img/DropboxLogo.png';
+import Evernote from '../../img/EvernoteLogo.png';
+
+function PartnerSection() {
+    return (
+        <div className="partnerWrapper">
+            <div className="partnerInformBlock">
+                <ShortDescription
+                    title={data.shortDescription[1].title}
+                    text1={data.shortDescription[1].text1}
+                    text2={data.shortDescription[1].text2}
+                />
+                <p className="partnerList">PARTNERS</p>
+                <div className="partnerLogoWrapper">
+                    <img src={DropBox} alt="DropBoxLogo"/>
+                    <img src={Evernote} alt="EvernoteLogo"/>
+                </div>
+            </div>
+            <div className="mapBlock"></div>
+        </div>
+    );
+}
+
+export default PartnerSection;

+ 18 - 0
React-HW-1/src/components/SectionMail/SectionMail.css

@@ -0,0 +1,18 @@
+.sectionMail {
+    padding: 0 215px ;
+}
+
+.mailSectionWrapper {
+    border-bottom: solid 1px rgba(38, 39, 45, .1);
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    align-items: center;
+    padding-bottom: 85px;
+}
+
+.mailSectionTitle {
+    font-size: 42px;
+    line-height: 1.24;
+    color: #26292c;
+}

+ 16 - 0
React-HW-1/src/components/SectionMail/SectionMail.js

@@ -0,0 +1,16 @@
+import './SectionMail.css';
+import ButtonSendMail from "../ButtonSendMail/ButtonSendMail";
+
+function SectionMail() {
+    return (
+        <div className="sectionMail">
+            <div className="mailSectionWrapper">
+                <p className="mailSectionTitle">Subscribe our newsletters</p>
+                <ButtonSendMail/>
+
+            </div>
+        </div>
+    );
+}
+
+export default SectionMail;

+ 12 - 0
React-HW-1/src/components/ShortDescription/ShortDescription.css

@@ -0,0 +1,12 @@
+.ShortDescriptionWrapper h3{
+    font-size: 42px;
+    color: #26272d;
+}
+.ShortDescriptionWrapper p{
+    max-width: 469px;
+    font-size: 20px;
+    color: #8c8f94;
+}
+.iPhoneParagraph{
+    margin-top: 73px;
+}

+ 15 - 0
React-HW-1/src/components/ShortDescription/ShortDescription.js

@@ -0,0 +1,15 @@
+import './ShortDescription.css';
+
+function ShortDescription(props) {
+    return (
+        <div className="ShortDescriptionWrapper">
+            <h3>{props.title}</h3>
+            <p className="iPhoneParagraph">
+                {props.text1}</p>
+            <p>{props.text2}</p>
+
+        </div>
+    );
+}
+
+export default ShortDescription;

+ 13 - 0
React-HW-1/src/components/SignatureSection/SignatureSection.css

@@ -0,0 +1,13 @@
+.signatureSection {
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    padding-bottom: 30px;
+}
+
+.signatureSection {
+    opacity: 0.5;
+    color: #8c8f94;
+    letter-spacing: 1.9px;
+    margin-top: 0;
+}

+ 12 - 0
React-HW-1/src/components/SignatureSection/SignatureSection.js

@@ -0,0 +1,12 @@
+import './SignatureSection.css';
+
+function SignatureSection() {
+    return (
+        <div className="signatureSection">
+            <p>Mitrofanova Natali</p>
+            <p>2021</p>
+        </div>
+    );
+}
+
+export default SignatureSection;

+ 38 - 0
React-HW-1/src/components/SocialNetworksLinks/SocialNetworksLinks.css

@@ -0,0 +1,38 @@
+.wrapperSocialNetworksLinks{
+ width: 222px;
+    display: flex;
+    justify-content: space-between;
+}
+.wrapperSocialNetworksLinks i{
+    opacity: 0.3;
+    color: #26272d;
+}
+.wrapperSocialNetworksLinks i:hover{
+    opacity: 1;
+    cursor: pointer;
+}
+
+.iconTwitter{
+    width: 17px;
+    height: 14px;
+}
+.iconFacebook{
+    width: 9px;
+    height: 18px;
+}
+.iconGoogle{
+    width: 24px;
+    height: 15px;
+}
+.iconTumblr{
+    width: 10px;
+    height: 16px;
+}
+.iconPinterest{
+    width: 14px;
+    height: 17px;
+}
+.iconLinkedin{
+    width: 16px;
+    height: 15px;
+}

+ 17 - 0
React-HW-1/src/components/SocialNetworksLinks/SocialNetworksLinks.js

@@ -0,0 +1,17 @@
+import './SocialNetworksLinks.css'
+
+function SocialNetworksLinks() {
+    return (
+        <div className="wrapperSocialNetworksLinks">
+            <i className="fab fa-twitter iconTwitter"/>
+            <i className="fab fa-facebook-f iconFacebook"/>
+            <i className="fab fa-google-plus-g iconGoogle"/>
+            <i className="fab fa-tumblr iconTumblr"/>
+            <i className="fab fa-pinterest-p iconPinterest"/>
+            <i className="fab fa-linkedin-in iconLinkedin"/>
+        </div>
+
+    );
+}
+
+export default SocialNetworksLinks;

+ 38 - 0
React-HW-1/src/data.js

@@ -0,0 +1,38 @@
+export const data = {
+    "features":[
+        {
+            "icon": "fab fa-expeditedssl",
+            "title": "Real-time all the time",
+            "text1": "Thus much I thought proper to tell you in relation to yourself, and to" +
+                " the trust I reposed in you.",
+            "text2":"Just then her head struck against the roof of the hall: in fact she was" +
+                " now more than nine feet high, and she at once took up the little golden key" +
+                " and hurried off to the garden door.",
+        },
+        {
+            "icon": "fas fa-stopwatch fa-expeditedssl",
+            "title": "Adopt without any obstacles",
+            "text1": "This sounded a very good reason, and Alice was quite pleased to know it." +
+                " 'I never thought of that before!' she said.",
+            "text2":"This I have produced as a scantling of Jack’s great eloquence and the force of" +
+                " his reasoning upon such abstruse matters.",
+        },
+    ],
+
+    "shortDescription":[
+        {
+            "title":"Your day is protected",
+            "text1": "There have not been any since we have lived here, said my mother.",
+            "text2": "We thought - Mr. Copperfield thought - it was quite a large rookery;" +
+                " but the nests were very old ones, and the birds have deserted them a long while.",
+        },
+        {
+            "title":"We are almost everywhere",
+            "text1":"Now the races of these two have been for some ages utterly extinct," +
+                " and besides to discourse any further of them would not be at all to my purpose.",
+            "text2":" Thus much I thought proper to tell you in relation to yourself, and to the trust I reposed in you.",
+        },
+
+    ]
+
+}

TEMPAT SAMPAH
React-HW-1/src/img/DropboxLogo.png


TEMPAT SAMPAH
React-HW-1/src/img/EvernoteLogo.png


TEMPAT SAMPAH
React-HW-1/src/img/iPhone6.png


TEMPAT SAMPAH
React-HW-1/src/img/mountains.png


TEMPAT SAMPAH
React-HW-1/src/img/worldMap.png


+ 19 - 0
React-HW-1/src/index.css

@@ -0,0 +1,19 @@
+body {
+  margin: 0;
+  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
+    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
+    sans-serif;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+code {
+  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
+    monospace;
+}
+ul{
+  margin: 0;
+}
+a{
+  text-decoration: none;
+}

+ 11 - 0
React-HW-1/src/index.js

@@ -0,0 +1,11 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import './index.css';
+import App from './App';
+
+ReactDOM.render(
+  <React.StrictMode>
+    <App />
+  </React.StrictMode>,
+  document.getElementById('root')
+);