From 088b42db88b69e56436bc3d317a6afd61dc5d60d Mon Sep 17 00:00:00 2001 From: Ledchig Date: Mon, 14 Aug 2023 22:05:22 +0500 Subject: [PATCH 01/28] new landing --- frontend/src/AppRoutes.jsx | 6 +- frontend/src/landing/Footer.jsx | 66 +++++++++++++++++++ frontend/src/landing/Header.jsx | 40 +++++++++++ frontend/src/landing/Landing.jsx | 14 ++++ frontend/src/landing/assets/LogoDark.svg | 5 ++ frontend/src/landing/assets/LogoLight.svg | 5 ++ .../src/landing/assets/Telegram_black 1.svg | 11 ++++ .../src/landing/assets/Twitter_black 1.svg | 11 ++++ frontend/src/landing/assets/VK_black 1.svg | 11 ++++ .../src/landing/assets/YouTube_black 1.svg | 11 ++++ 10 files changed, 177 insertions(+), 3 deletions(-) create mode 100644 frontend/src/landing/Footer.jsx create mode 100644 frontend/src/landing/Header.jsx create mode 100644 frontend/src/landing/Landing.jsx create mode 100644 frontend/src/landing/assets/LogoDark.svg create mode 100644 frontend/src/landing/assets/LogoLight.svg create mode 100644 frontend/src/landing/assets/Telegram_black 1.svg create mode 100644 frontend/src/landing/assets/Twitter_black 1.svg create mode 100644 frontend/src/landing/assets/VK_black 1.svg create mode 100644 frontend/src/landing/assets/YouTube_black 1.svg diff --git a/frontend/src/AppRoutes.jsx b/frontend/src/AppRoutes.jsx index 08e24670..c7bb4405 100644 --- a/frontend/src/AppRoutes.jsx +++ b/frontend/src/AppRoutes.jsx @@ -16,7 +16,7 @@ const SnippetPage = lazy(() => import('./pages/snippet')); const AboutPage = lazy(() => import('./pages/about')); const SignUpPage = lazy(() => import('./pages/signup')); const SignInPage = lazy(() => import('./pages/signin')); -const Landing = lazy(() => import('./pages/landing')); +const Landing = lazy(() => import('./landing/Landing')); const LicenseAgreement = lazy(() => import('./pages/license-agreement')); const RemindPasswordPage = lazy(() => import('./pages/remind-password')); const NotFoundPage = lazy(() => import('./pages/404')); @@ -50,8 +50,8 @@ function AppRoutes() { return ( }> - }> - } /> + } /> + }> } /> } /> } /> diff --git a/frontend/src/landing/Footer.jsx b/frontend/src/landing/Footer.jsx new file mode 100644 index 00000000..1207692b --- /dev/null +++ b/frontend/src/landing/Footer.jsx @@ -0,0 +1,66 @@ +import { Row, Col, Container, Image, Form, FloatingLabel } from 'react-bootstrap'; +import { Twitter, Telegram, Youtube } from 'react-bootstrap-icons'; +import RunItLogo from './assets/LogoDark.svg'; + +function Footer() { + return ( + + + + + + + + +

8 800 100 22 47

+

бесплатно по РФ

+ + +

+7 495 085 28 38

+

бесплатно по Москве

+ +
+ + + + + + +
+ + + + +

О проекте

+

Преимущества

+

Возможности

+

FAQ

+ + +

О нас

+

Карьера в Хекслете

+

Магазин мерча

+

Напишите нам

+ +
+ + + + + + + +

ООО «Хекслет Рус»

+

432071, г. Ульяновск, пр-т Нариманова, дом 1Г, оф. 23

+

ОГРН 1217300010476

+ +
+
+ ); +} + +export default Footer; diff --git a/frontend/src/landing/Header.jsx b/frontend/src/landing/Header.jsx new file mode 100644 index 00000000..8a430215 --- /dev/null +++ b/frontend/src/landing/Header.jsx @@ -0,0 +1,40 @@ +import { Link } from 'react-router-dom'; +import { Container, Navbar, Image, Nav, Button } from 'react-bootstrap'; +import routes from '../routes'; +import RunItLogo from './assets/LogoLight.svg'; + +function Header() { + return ( + + + + + + + + + + ); +} + +export default Header; diff --git a/frontend/src/landing/Landing.jsx b/frontend/src/landing/Landing.jsx new file mode 100644 index 00000000..90d28fc4 --- /dev/null +++ b/frontend/src/landing/Landing.jsx @@ -0,0 +1,14 @@ +import Header from './Header.jsx'; +import Footer from './Footer.jsx'; + +function Landing() { + + return ( + <> +
+