Browse Source

React_верстка done

Levshin95 1 year ago
parent
commit
b9fbf015d3

+ 23 - 0
React_верстка/.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_верстка/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 your browser.
+
+The page will reload when you make changes.\
+You may 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 suppressed because it is too large
+ 28545 - 0
React_верстка/package-lock.json


+ 38 - 0
React_верстка/package.json

@@ -0,0 +1,38 @@
+{
+  "name": "myproject",
+  "version": "0.1.0",
+  "private": true,
+  "dependencies": {
+    "@testing-library/jest-dom": "^5.16.5",
+    "@testing-library/react": "^13.3.0",
+    "@testing-library/user-event": "^13.5.0",
+    "react": "^18.2.0",
+    "react-dom": "^18.2.0",
+    "react-scripts": "5.0.1",
+    "web-vitals": "^2.1.4"
+  },
+  "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"
+    ]
+  }
+}

BIN
React_верстка/public/favicon.ico


+ 43 - 0
React_верстка/public/index.html

@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
+    <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="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
+    <!--
+      manifest.json provides metadata used when your web app is installed on a
+      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
+    -->
+    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
+    <!--
+      Notice the use of %PUBLIC_URL% in the tags above.
+      It will be replaced with the URL of the `public` folder during the build.
+      Only files inside the `public` folder can be referenced from the HTML.
+
+      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
+      work correctly both with client-side routing and a non-root public URL.
+      Learn how to configure a non-root public URL by running `npm run build`.
+    -->
+    <title>React App</title>
+  </head>
+  <body>
+    <noscript>You need to enable JavaScript to run this app.</noscript>
+    <div id="root"></div>
+    <!--
+      This HTML file is a template.
+      If you open it directly in the browser, you will see an empty page.
+
+      You can add webfonts, meta tags, or analytics to this file.
+      The build step will place the bundled scripts into the <body> tag.
+
+      To begin the development, run `npm start` or `yarn start`.
+      To create a production bundle, use `npm run build` or `yarn build`.
+    -->
+  </body>
+</html>

BIN
React_верстка/public/logo192.png


BIN
React_верстка/public/logo512.png


+ 25 - 0
React_верстка/public/manifest.json

@@ -0,0 +1,25 @@
+{
+  "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"
+}

+ 3 - 0
React_верстка/public/robots.txt

@@ -0,0 +1,3 @@
+# https://www.robotstxt.org/robotstxt.html
+User-agent: *
+Disallow:

+ 537 - 0
React_верстка/src/App.css

@@ -0,0 +1,537 @@
+* {
+  box-sizing: border-box;
+}
+
+body {
+  font-family: 'Roboto', sans-serif;
+  font-size: 16px;
+  line-height: 1.6;
+  color: #727272;
+  margin: 0;
+}
+
+html {
+  box-sizing: border-box;
+}
+
+.wrapper {
+  width: 100%;
+  position: relative;
+  overflow: hidden;
+}
+
+img {
+  max-width: 100%;
+  height: auto;
+  vertical-align: top;
+}
+
+ul,
+ol {
+  padding-left: 0;
+  margin: 0;
+  list-style: none;
+}
+
+p {
+  margin-bottom: 20px;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+  margin-top: 0;
+  color: #000;
+  line-height: 1.15;
+  font-weight: 500;
+}
+
+h1 {
+  font-size: 48px;
+}
+
+h2 {
+  font-size: 32px;
+}
+
+h3 {
+  font-size: 21px;
+  color: #ffff;
+}
+
+h4 {
+  font-size: 13px;
+  color: #ffff;
+}
+
+.container {
+  max-width: 1180px;
+  padding: 0 15px;
+  margin: 0 auto;
+}
+
+.btn {
+  display: inline-block;
+  border: 1px solid #34547a;
+  background: #34547a;
+  color: white;
+  text-transform: uppercase;
+  padding: 23px 50px;
+  line-height: 1;
+  text-decoration: none;
+}
+
+.btn:hover {
+  transition: opacity .3s ease-in;
+  opacity: .7;
+}
+
+/* header */
+
+.header {
+  padding: 25px 0;
+  background: #EEEFF1;
+  position: relative;
+}
+
+.header-wrap {
+  display: flex;
+  align-items: center;
+}
+
+.logo {
+  display: inline-block;
+  width: 96px;
+  height: 60px;
+  margin: 42px 0 0 113px
+}
+
+.nav {
+  display: flex;
+  flex-grow: 1;
+  justify-content: flex-end;
+  align-items: center;
+  margin-left: 15px;
+}
+
+.burger {
+  display: none;
+}
+
+.burger-checkbox {
+  opacity: 0;
+  visibility: hidden;
+  position: absolute;
+  left: -9999px;
+}
+
+.burger:before,
+.burger span,
+.burger:after {
+  position: absolute;
+  right: 0;
+  left: 0;
+  background: #000;
+  height: 2px;
+}
+
+.burger::before {
+  content: '';
+  top: 0;
+}
+
+.burger span {
+  top: 8px;
+}
+
+.burger::after {
+  content: '';
+  bottom: 0;
+}
+
+.burger-checkbox:checked+.burger span {
+  opacity: 0;
+}
+
+.burger-checkbox:checked+.burger::before {
+  transition: transform .3s ease-in;
+  transform: rotate(-45deg);
+  top: 8px;
+}
+
+.burger-checkbox:checked+.burger::after {
+  transition: transform .3s ease-in;
+  transform: rotate(45deg);
+  bottom: 8px;
+}
+
+.burger-checkbox:checked~.header-list {
+  transition: opacity .3s ease-in;
+  opacity: 1;
+  visibility: visible;
+}
+
+.header-list {
+  position: static;
+  display: flex;
+  align-items: center;
+  opacity: 1;
+  visibility: visible;
+}
+
+.header-item+.header-item {
+  padding-left: 15px;
+}
+
+.header-item {
+  padding-bottom: 15px;
+}
+
+.header-item a {
+  color: black;
+  text-decoration: none;
+}
+
+/* .header-item + .header-item {
+  padding-left: 15px;
+} */
+
+.header-item a:hover {
+  color: red;
+}
+
+/* section 1 */
+
+.section-banner {
+  background: #EEEFF1;
+  padding: 116px 0;
+}
+
+.banner-wrap {
+  display: flex;
+  align-items: center;
+  margin: 0 -65px;
+}
+
+.col {
+  padding: 0 65px;
+  width: 50%;
+}
+
+.col--img {
+  display: flex;
+  justify-content: flex-end;
+}
+
+.section-banner .tittle {
+  margin-bottom: 60px;
+}
+
+.section-banner .holder {
+  padding-bottom: 40px;
+}
+
+.lorem-banner {
+  padding-bottom: 40px;
+}
+
+/* section 2 */
+
+.section-lorem {
+  display: flex;
+  justify-content: center;
+}
+
+.banner {
+  max-width: 570px;
+  padding: 119px 15px 100px;
+  margin: 0;
+  text-align: center;
+}
+
+.about-me {
+  padding: 0 0 30px;
+}
+
+/* section 3 */
+
+.section-project {
+  display: flex;
+  justify-content: space-evenly;
+  background: #34547A;
+  height: 250px;
+  align-items: center;
+}
+
+.project {
+  display: flex;
+}
+
+.img-project {
+  width: 46px;
+  height: 50px;
+}
+
+.text-project {
+  color: #ffff;
+  display: flex;
+  flex-direction: column;
+  padding-left: 15px;
+}
+
+.proj {
+  margin: -20px 0 0;
+}
+
+/* section 4 */
+
+.section-skill {
+  padding: 100px 0;
+}
+
+.skill-row {
+  display: flex;
+  align-items: center;
+}
+
+.skill-col {
+  width: 50%;
+}
+
+.skill-descr {
+  padding-right: 20px;
+}
+
+.skill-img {
+  background-repeat: no-repeat;
+  background-size: cover;
+  background-position: center;
+  padding-top: 34.6%;
+}
+
+.skill-descr .tittle {
+  margin-bottom: 50px;
+}
+
+.skill-box {
+  max-width: 445px;
+}
+
+.skill-this {
+  margin-bottom: 30px;
+}
+
+.skill-label {
+  display: block;
+  margin-bottom: 20px3;
+}
+
+.skill-loader {
+  background: #c4c4c4;
+  height: 4px;
+  position: relative;
+}
+
+.skill-load {
+  position: absolute;
+  top: 0;
+  bottom: 0;
+  left: 0;
+  background: #34547a;
+}
+
+/* sectoion 5 */
+
+.section-work {
+  padding: 100px 0;
+  width: 100%;
+  background: #EEEFF1;
+}
+
+.work {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  padding: 0 10px;
+}
+
+.text-work {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+}
+
+.lorem {
+  max-width: 560px;
+  text-align: center;
+  padding: 0 10px;
+}
+
+.img-work {
+  max-width: 1100px;
+  max-height: 600px;
+  position: relative;
+  padding-top: 57px;
+}
+
+.img-work .play {
+  content: '';
+  position: absolute;
+  top: 50%;
+  left: 50%;
+  transform: translate(-50%, -50%);
+  background-size: cover;
+  background-position: center;
+  width: 100px;
+  height: 100px;
+}
+
+
+/* section 6 */
+
+.section-gallery .row {
+  display: flex;
+  flex-wrap: wrap;
+}
+
+.section-gallery .gal {
+  flex-basis: 25%;
+  padding-top: 25%;
+  background-size: cover;
+  background-position: center;
+  position: relative;
+}
+
+.section-gallery .gal:hover::before,
+.section-gallery .gal:hover::after {
+  transition: opacity .3s ease-in;
+  opacity: 1;
+  visibility: visible;
+}
+
+.section-gallery .gal::before {
+  content: '';
+  position: absolute;
+  top: 0;
+  right: 0;
+  bottom: 0;
+  left: 0;
+  background-color: rgba(52, 84, 122, .8);
+  opacity: 0;
+  visibility: hidden;
+}
+
+.section-gallery .gal::after {
+  content: '';
+  position: absolute;
+  top: 50%;
+  left: 50%;
+  transform: translate(-50%, -50%);
+  background: url(img/okko.svg) no-repeat; 
+  background-size: cover;
+  background-position: center;
+  width: 100px;
+  height: 58px;
+  opacity: 0;
+  visibility: hidden;
+}
+
+/* section 7 */
+
+.section-brand {
+  display: flex;
+  justify-content: space-evenly;
+  padding: 72px 0;
+}
+
+.img-label {
+  width: 255px;
+  height: 120px;
+}
+
+/* section 8 */
+
+.section-input {
+  padding: 100px 0;
+  background: #EEEFF1;
+  display: flex;
+  justify-content: center;
+}
+
+.form {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  max-width: 540px;
+}
+
+.text-form {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+}
+
+
+.input-form {
+  margin-top: 65px;
+  display: flex;
+  width: 100%;
+}
+
+.input-name {
+  flex-basis: 50%;
+  height: 50px;
+  padding-left: 20px;
+  margin-right: 20px;
+}
+
+.input-mail {
+  flex-basis: 50%;
+  height: 50px;
+  padding-left: 20px;
+}
+
+.message-form {
+  padding-top: 20px;
+  display: flex;
+  justify-content: center;
+}
+
+.textarea {
+  width: 540px;
+  height: 170px;
+  padding-top: 17px;
+  padding-left: 20px;
+}
+
+.btn-form {
+  padding-top: 50px;
+}
+
+/* footer */
+
+.footer {
+  display: flex;
+  justify-content: space-around;
+  padding: 20px;
+  background: #34547A;
+}
+
+.footer-name {
+  padding-top: 50px;
+}
+
+.footer-logo {
+  padding-top: 65px;
+}
+
+.logo-vk {
+  padding-left: 21px;
+}
+
+
+
+/* Portrait tablets and small desktops */

+ 258 - 0
React_верстка/src/App.js

@@ -0,0 +1,258 @@
+import './App.css';
+import wd from './img/WD.svg';
+import frame from './img/Frame.svg'
+import group from './img/Group.png'
+import imgSkill from './img/skills.png'
+import code from './img/code.jpg'
+import vector from './img/Vector.png'
+import img1 from './img/img1.jpg'
+import img2 from './img/img2.jpg'
+import microsoft from './img/microsoft.svg'
+import vk from './img/vk.svg'
+
+const HeaderItem = ({children = 'Главная', url = '#'}) => 
+    <li class="header-item">
+        <a href={url}>{children}</a>
+    </li>
+
+const Header = () => 
+    <header class="header">
+    <div class="container">
+        <div class="header-wrap">
+        <a class="logo" href="#">
+            <img class="wd" src={wd} alt="logo" />
+        </a>
+        <nav class="nav">
+            <input type="checkbox" id="burger" class="burger-checkbox" />
+            <label for="burger" class="burger">
+                <span></span>
+            </label>
+            <ul class="header-list">
+            <HeaderItem>
+                Главная
+            </HeaderItem>
+            <HeaderItem>
+                Об Авторе
+            </HeaderItem>
+            <HeaderItem>
+                Работы
+            </HeaderItem>
+            <HeaderItem>
+                Процесс
+            </HeaderItem>
+            <HeaderItem>
+                Контакты
+            </HeaderItem>
+            </ul>
+        </nav>
+        </div>
+    </div>
+    </header>
+
+const Main = () =>
+    <main class="main">
+        <SectionBanner />
+        <SectionLorem />
+        <SectionProject />
+        <SectionSkill />
+        <SectionWork />
+        <SectionGallery />
+        <SectionBrand />
+        <SectionInput />
+    </main>
+
+const SectionBanner = () =>
+    <section class="section-banner">
+        <div class="container">
+            <div class="banner-wrap">
+                <div class="col col--img">
+                    <img src={frame} alt="image description" />
+                </div>
+                <div class="col col--discription">
+                    <header class="section-header">
+                    <h1 class="tittle">Дизайн и верстка</h1>
+                    </header>
+                    <div class="holder">
+                    <p class="lorem-banner">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum является
+                        стандартной "рыбой" для текстов на латинице с начала XVI века.</p>
+                    <a href="#" class="btn">НАПИСАТЬ МНЕ</a>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </section>
+
+const SectionLorem = () =>
+    <section class="section-lorem">
+        <div class="banner">
+            <h2 class="about-me">Обо мне</h2>
+            <p class="lorem">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum
+            является стандартной "рыбой" для текстов на латинице с начала XVI века.</p>
+        </div>
+    </section>
+
+const SectionProject = () => 
+    <section class="section-project">
+        <Project />
+        <Project />
+        <Project />
+        <Project />
+        <Project />
+        <Project />
+    </section>
+
+const Project = () =>
+    <div class="project">
+        <div class="img-project">
+            <img src={group} alt="image description" />
+        </div>
+        <div class="text-project">
+            <h3>40+</h3>
+        <p class="proj">проектов</p>
+        </div>
+    </div>
+
+const SectionSkill = () =>
+    <section class="section-skill">
+        <div class="container">
+            <div class="skill-row">
+                <div class="skill-col skill-descr">
+                    <header class="section-header">
+                        <h2 class="tittle">Мои Навыки</h2>
+                    </header>
+                    <div class="skill-box">
+                        <SkillBox />
+                        <SkillBox />
+                        <SkillBox />
+                    </div>
+                </div>
+                <div class="skill-col skill-img">
+                    <img src={imgSkill} alt="image description" />
+                </div>
+            </div>
+        </div>
+    </section>
+    
+const SkillBox = () =>
+    <div class="skill-this">
+        <span class="skill-label">Adobe Photoshop</span>
+        <div class="skill-loader">
+            <div class="skill-load" /* style="width: 75%;" */></div>
+        </div>
+    </div>
+
+const SectionWork = () =>
+    <section class="section-work">
+        <div class="work">
+            <div class="text-work">
+                <h2 class="present">Как я работаю</h2>
+                <p class="lorem">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum
+                является стандартной "рыбой" для текстов на латинице с начала XVI века.</p>
+            </div>
+            <div class="img-work">
+                <img src={code} alt="image description" class="code-img" />
+                <img src={vector} alt="image description" class="play" />
+            </div>
+        </div>
+    </section>
+
+const SectionGallery = () =>
+    <section class="section-gallery">
+        <div class="row">
+            <Gallery1> 
+                {img1} 
+            </Gallery1>
+            <Gallery1> 
+                {img2} 
+            </Gallery1>
+            <Gallery1> 
+                {img1} 
+            </Gallery1>
+            <Gallery1> 
+                {img2} 
+            </Gallery1>
+            <Gallery1> 
+                {img2} 
+            </Gallery1>
+            <Gallery1> 
+                {img1} 
+            </Gallery1>
+            <Gallery1> 
+                {img2} 
+            </Gallery1>
+            <Gallery1> 
+                {img1} 
+            </Gallery1>
+        </div>
+    </section>
+
+const Gallery1 = ({children = {img1}, url = '#'}) =>
+    <a href={url} class="gal">
+        <img src={children} alt="image description" class="play" />
+    </a>
+
+const SectionBrand = () =>
+    <section class="section-brand">
+        <MicrososftImg />
+        <MicrososftImg />
+        <MicrososftImg />
+        <MicrososftImg />
+    </section>
+
+const MicrososftImg = () =>
+    <img src={microsoft} alt="image description" class="img-label" />
+
+const SectionInput = () =>
+    <section class="section-input">
+        <div class="form">
+            <div class="text-form">
+                <h2 class="present-form">Хотите веб-сайт?</h2>
+                <p class="lorem">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum
+                является стандартной "рыбой" для текстов на латинице с начала XVI века.</p>
+            </div>
+            <div class="input-form">
+                <input class="input-name" type="text" placeholder="Ваше имя" />
+                <input class="input-mail" type="text" placeholder="Ваш e-mail" />
+            </div>
+            <div class="message-form">
+                <textarea class="textarea" name="#" id="text-mail" cols="30" rows="10" placeholder="Сообщение"></textarea>
+            </div>
+            <div class="btn-form">
+                <a href="#" class="btn">Отправить</a>
+            </div>
+        </div>
+    </section>
+
+const Footer = () =>
+    <footer class="footer">
+        <div class="footer-name">
+            <h3>Иван Иванов</h3>
+            <h4>(с) 2018. Все права защищены.</h4>
+        </div>
+
+        <div class="footer-logo">
+            <Logo />
+            <Logo />
+            <Logo />
+        </div>
+    </footer>
+
+const Logo = ({url = '#'}) =>
+    <a class="logo-vk" href={url}>
+        <img class="vk" src={vk} alt="image description" />
+    </a>     
+
+const Wrapper = () => 
+    <div class="wrapper">
+        <Header />
+        <Main />
+        <Footer />
+    </div>
+
+function App() {
+  return (
+    <Wrapper />
+  );
+}
+
+export default App;

+ 8 - 0
React_верстка/src/App.test.js

@@ -0,0 +1,8 @@
+import { render, screen } from '@testing-library/react';
+import App from './App';
+
+test('renders learn react link', () => {
+  render(<App />);
+  const linkElement = screen.getByText(/learn react/i);
+  expect(linkElement).toBeInTheDocument();
+});

+ 81 - 0
React_верстка/src/img/Frame.svg

@@ -0,0 +1,81 @@
+<svg width="357" height="234" viewBox="0 0 357 234" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_1_191)">
+<path d="M337.3 225.4H24.1C19.9 225.4 16.5 222 16.5 217.8V7.6C16.5 3.4 19.9 0 24.1 0H337.3C341.5 0 344.9 3.4 344.9 7.6V217.7C345 222 341.5 225.4 337.3 225.4Z" fill="#00D5E4"/>
+<path d="M326.2 217.8H35.2C31 217.8 27.6 214.4 27.6 210.2V15.3C27.6 11.1 31 7.70001 35.2 7.70001H326.2C330.4 7.70001 333.8 11.1 333.8 15.3V210.2C333.9 214.3 330.4 217.8 326.2 217.8Z" fill="#065090"/>
+<path d="M115.6 28.9H75.4V33.4H115.6V28.9Z" fill="#FCFDFD"/>
+<path d="M101 38.9H75.4V43.4H101V38.9Z" fill="#FCFDFD"/>
+<path d="M218.5 38.9H115.4V43.4H218.5V38.9Z" fill="#FCFDFD"/>
+<path d="M282.5 38.9H228.5V43.4H282.5V38.9Z" fill="#FF6452"/>
+<path d="M150.5 48.9H85.4V53.4H150.5V48.9Z" fill="#00D050"/>
+<path d="M267.5 48.9H170.5V53.4H267.5V48.9Z" fill="#FCFDFD"/>
+<path d="M167 58.9H75.4V63.4H167V58.9Z" fill="#FF6452"/>
+<path d="M240.5 58.9H175.4V63.4H240.5V58.9Z" fill="#00D5E4"/>
+<path d="M150.5 68.9H85.4V73.4H150.5V68.9Z" fill="#FCFDFD"/>
+<path d="M170.5 78.9H75.4V83.4H170.5V78.9Z" fill="#FCFDFD"/>
+<path d="M140.5 88.9H75.4V93.4H140.5V88.9Z" fill="#FCFDFD"/>
+<path d="M204 98.9H95.4V103.4H204V98.9Z" fill="#FF6452"/>
+<path d="M250.5 98.9H215.4V103.4H250.5V98.9Z" fill="#FCFDFD"/>
+<path d="M300.5 98.9H265.4V103.4H300.5V98.9Z" fill="#FCFDFD"/>
+<path d="M149.7 108.9H105.4V113.4H149.7V108.9Z" fill="#FCFDFD"/>
+<path d="M164.5 118.9H105.4V123.4H164.5V118.9Z" fill="#FF6452"/>
+<path d="M250.5 118.9H185.4V123.4H250.5V118.9Z" fill="#FCFDFD"/>
+<path d="M292.5 118.9H265.4V123.4H292.5V118.9Z" fill="#FF6452"/>
+<path d="M115.4 128.9H75.4V133.4H115.4V128.9Z" fill="#FCFDFD"/>
+<path d="M140.5 138.9H75.4V143.4H140.5V138.9Z" fill="#FCFDFD"/>
+<path d="M223.5 148.9H105.4V153.4H223.5V148.9Z" fill="#FCFDFD"/>
+<path d="M308.5 148.9H235.4V153.4H308.5V148.9Z" fill="#00D5E4"/>
+<path d="M145.5 158.9H105.4V163.4H145.5V158.9Z" fill="#FCFDFD"/>
+<path d="M195.5 158.9H155.4V163.4H195.5V158.9Z" fill="#00D050"/>
+<path d="M245.5 158.9H205.4V163.4H245.5V158.9Z" fill="#FCFDFD"/>
+<path d="M140.5 168.9H75.4V173.4H140.5V168.9Z" fill="#FCFDFD"/>
+<path d="M160.5 178.9H95.4V183.4H160.5V178.9Z" fill="#00D050"/>
+<path d="M238 178.9H172.9V183.4H238V178.9Z" fill="#00D050"/>
+<path d="M208 198.9H171.5V203.4H208V198.9Z" fill="#FCFDFD"/>
+<path d="M192 188.9H95.4V193.4H192V188.9Z" fill="#FCFDFD"/>
+<path d="M50.3 28.9H45.8V33.4H50.3V28.9Z" fill="#5E94C1"/>
+<path d="M50.3 38.9H45.8V43.4H50.3V38.9Z" fill="#5E94C1"/>
+<path d="M50.3 48.9H45.8V53.4H50.3V48.9Z" fill="#5E94C1"/>
+<path d="M50.3 58.9H45.8V63.4H50.3V58.9Z" fill="#5E94C1"/>
+<path d="M50.3 68.9H45.8V73.4H50.3V68.9Z" fill="#5E94C1"/>
+<path d="M50.3 78.9H45.8V83.4H50.3V78.9Z" fill="#5E94C1"/>
+<path d="M50.3 88.9H45.8V93.4H50.3V88.9Z" fill="#5E94C1"/>
+<path d="M50.3 98.9H45.8V103.4H50.3V98.9Z" fill="#5E94C1"/>
+<path d="M50.3 108.9H45.8V113.4H50.3V108.9Z" fill="#5E94C1"/>
+<path d="M50.3 118.9H45.8V123.4H50.3V118.9Z" fill="#5E94C1"/>
+<path d="M50.3 128.9H45.8V133.4H50.3V128.9Z" fill="#5E94C1"/>
+<path d="M50.3 138.9H45.8V143.4H50.3V138.9Z" fill="#5E94C1"/>
+<path d="M50.3 148.9H45.8V153.4H50.3V148.9Z" fill="#5E94C1"/>
+<path d="M50.3 158.9H45.8V163.4H50.3V158.9Z" fill="#5E94C1"/>
+<path d="M50.3 168.9H45.8V173.4H50.3V168.9Z" fill="#5E94C1"/>
+<path d="M50.3 178.9H45.8V183.4H50.3V178.9Z" fill="#5E94C1"/>
+<path d="M50.3 188.9H45.8V193.4H50.3V188.9Z" fill="#5E94C1"/>
+<path d="M50.3 198.9H45.8V203.4H50.3V198.9Z" fill="#5E94C1"/>
+<path d="M143.7 198.9H95.4V203.4H143.7V198.9Z" fill="#FCFDFD"/>
+<path d="M284.7 203.3L265.7 195.2V191.9L284.7 183.8V187.3L269.6 193.5L284.7 199.7V203.3Z" fill="#FCFDFD"/>
+<path d="M298.1 179L289.8 207.7H287L295.3 179H298.1Z" fill="#FCFDFD"/>
+<path d="M319.3 195.2L300.3 203.3V199.8L315.4 193.6L300.3 187.4V183.9L319.3 192V195.2Z" fill="#FCFDFD"/>
+<path d="M337 233.7H20C9 233.7 0 224.7 0 213.7H357C357 224.8 348 233.7 337 233.7Z" fill="#00BBD3"/>
+<g opacity="0.1">
+<g opacity="0.1">
+<path opacity="0.1" d="M129.4 217.8L204 7.59998H175.7L101.1 217.8H129.4Z" fill="white"/>
+</g>
+<g opacity="0.1">
+<path opacity="0.1" d="M35.3 217.8H48.6L123.2 7.59998H35.3C31.1 7.59998 27.7 11 27.7 15.2V210.1C27.6 214.3 31.1 217.8 35.3 217.8Z" fill="white"/>
+</g>
+<g opacity="0.1">
+<path opacity="0.1" d="M287.6 217.8H326.3C330.5 217.8 333.9 214.4 333.9 210.2V87.4L287.6 217.8Z" fill="white"/>
+</g>
+</g>
+<g opacity="0.1">
+<g opacity="0.1">
+<path opacity="0.1" d="M184.3 217.8H236.2L310.8 7.59998H258.9L184.3 217.8Z" fill="white"/>
+</g>
+</g>
+<path d="M354.3 223.7C356 220.8 357 217.3 357 213.7H0C0 217.3 1 220.8 2.7 223.7H354.3Z" fill="#15D7E2"/>
+</g>
+<defs>
+<clipPath id="clip0_1_191">
+<rect width="357" height="233.7" fill="white"/>
+</clipPath>
+</defs>
+</svg>

BIN
React_верстка/src/img/Group.png


BIN
React_верстка/src/img/Vector.png


File diff suppressed because it is too large
+ 3 - 0
React_верстка/src/img/WD.svg


BIN
React_верстка/src/img/code.jpg


BIN
React_верстка/src/img/img1.jpg


BIN
React_верстка/src/img/img2.jpg


File diff suppressed because it is too large
+ 9 - 0
React_верстка/src/img/microsoft.svg


+ 5 - 0
React_верстка/src/img/okko.svg

@@ -0,0 +1,5 @@
+<svg width="100" height="58" viewBox="0 0 100 58" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M86.2534 15.4207C66.1706 -4.66205 33.4966 -4.66205 13.4139 15.4207L0 28.8329L13.7466 42.5795C23.7872 52.62 36.9764 57.642 50.1672 57.642C63.3581 57.642 76.5456 52.6217 86.5878 42.5795L100.002 29.1657L86.2534 15.4207ZM84.1976 40.191C65.4324 58.9545 34.9003 58.9545 16.1351 40.191L4.77703 28.8329L15.8024 17.8075C34.5676 -0.955968 65.0997 -0.955968 83.8649 17.8075L95.223 29.1657L84.1976 40.191Z" fill="white"/>
+<path d="M48.2635 15.436C41.7432 15.436 36.4392 20.7401 36.4392 27.2604C36.4392 28.1928 37.1959 28.9496 38.1284 28.9496C39.0608 28.9496 39.8176 28.1928 39.8176 27.2604C39.8176 22.6033 43.6064 18.8144 48.2635 18.8144C49.1959 18.8144 49.9527 18.0577 49.9527 17.1252C49.9527 16.1928 49.1976 15.436 48.2635 15.436Z" fill="white"/>
+<path d="M49.9527 6.98999C37.8446 6.98999 27.9932 16.8413 27.9932 28.9494C27.9932 41.0576 37.8446 50.9089 49.9527 50.9089C62.0608 50.9089 71.9121 41.0576 71.9121 28.9494C71.9121 16.8413 62.0625 6.98999 49.9527 6.98999ZM49.9527 47.5305C39.7078 47.5305 31.3716 39.1944 31.3716 28.9494C31.3716 18.7045 39.7078 10.3684 49.9527 10.3684C60.1976 10.3684 68.5338 18.7045 68.5338 28.9494C68.5338 39.1944 60.1993 47.5305 49.9527 47.5305Z" fill="white"/>
+</svg>

BIN
React_верстка/src/img/skills.png


File diff suppressed because it is too large
+ 3 - 0
React_верстка/src/img/vk.svg


+ 13 - 0
React_верстка/src/index.css

@@ -0,0 +1,13 @@
+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;
+}

+ 17 - 0
React_верстка/src/index.js

@@ -0,0 +1,17 @@
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import './index.css';
+import App from './App';
+import reportWebVitals from './reportWebVitals';
+
+const root = ReactDOM.createRoot(document.getElementById('root'));
+root.render(
+  <React.StrictMode>
+    <App />
+  </React.StrictMode>
+);
+
+// If you want to start measuring performance in your app, pass a function
+// to log results (for example: reportWebVitals(console.log))
+// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
+reportWebVitals();

File diff suppressed because it is too large
+ 1 - 0
React_верстка/src/logo.svg


+ 13 - 0
React_верстка/src/reportWebVitals.js

@@ -0,0 +1,13 @@
+const reportWebVitals = onPerfEntry => {
+  if (onPerfEntry && onPerfEntry instanceof Function) {
+    import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
+      getCLS(onPerfEntry);
+      getFID(onPerfEntry);
+      getFCP(onPerfEntry);
+      getLCP(onPerfEntry);
+      getTTFB(onPerfEntry);
+    });
+  }
+};
+
+export default reportWebVitals;

+ 5 - 0
React_верстка/src/setupTests.js

@@ -0,0 +1,5 @@
+// jest-dom adds custom jest matchers for asserting on DOM nodes.
+// allows you to do things like:
+// expect(element).toHaveTextContent(/react/i)
+// learn more: https://github.com/testing-library/jest-dom
+import '@testing-library/jest-dom';

+ 0 - 1
myproject

@@ -1 +0,0 @@
-Subproject commit d9d14e2b2d6c7903e461d7399ab7e3a4e727b55c