From 296fa368d6e77ebbff242adc24b5ea8f0f7281fb Mon Sep 17 00:00:00 2001 From: Oksana Goncharova Date: Tue, 1 Oct 2024 18:48:25 +0300 Subject: [PATCH] popup & js --- src/components/Footer.jsx | 6 +- src/components/Header.jsx | 4 +- src/js/app.js | 104 +++++++++++++++++++++++++++++++ src/js/app/Popup.js | 99 +++++++++++++++++++++++++++++ src/js/app/utils/createDOM.js | 33 ++++++++++ src/js/app/utils/declination.js | 12 ++++ src/js/app/utils/getQuery.js | 19 ++++++ src/js/app/utils/interpolate.js | 30 +++++++++ src/js/app/utils/overflow.js | 29 +++++++++ src/js/app/utils/wait.js | 3 + src/layouts/Layout.jsx | 5 +- src/pages/index.jsx | 22 +++---- src/styles/blocks/button.scss | 18 +++--- src/styles/blocks/form.scss | 2 +- src/styles/blocks/header.scss | 22 ++++++- src/styles/blocks/intro.scss | 4 +- src/styles/blocks/popup.scss | 69 +++++++++++++++++++- src/styles/blocks/states.scss | 7 +++ src/styles/blocks/video.scss | 13 ++++ src/styles/partials/default.scss | 14 +++++ src/styles/styles.scss | 3 +- 21 files changed, 481 insertions(+), 37 deletions(-) create mode 100644 src/js/app/Popup.js create mode 100644 src/js/app/utils/createDOM.js create mode 100644 src/js/app/utils/declination.js create mode 100644 src/js/app/utils/getQuery.js create mode 100644 src/js/app/utils/interpolate.js create mode 100644 src/js/app/utils/overflow.js create mode 100644 src/js/app/utils/wait.js create mode 100644 src/styles/blocks/states.scss create mode 100644 src/styles/blocks/video.scss diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 88408d7..efec1b0 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -19,8 +19,8 @@ const Footer = ({}) => {