diff --git a/README.md b/README.md index 6254e4af..b1ba3123 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,15 @@ Frontend проекта "Notion" команды scratch senior devs # Деплой * [YouNote](https://you-note.ru) -# API -* [swagger](https://you-note.ru/api/swagger/index.html) # Figma -* [figma](https://www.figma.com/design/34KaYrmEwdC9vuisY3BoID/YouNote?node-id=0%3A1&t=mdkq7otCB1sFFwJ2-1) +* [Figma](https://www.figma.com/design/34KaYrmEwdC9vuisY3BoID/YouNote?node-id=0%3A1&t=mdkq7otCB1sFFwJ2-1) # Реактивная библиотека * [ScReact](https://www.npmjs.com/package/@veglem/screact) # UI Kit -* [ui-kit](https://www.npmjs.com/package/@veglem/ui-kit) +* [UI-Kit](https://www.npmjs.com/package/@veglem/ui-kit) # Авторы * [Михалёв Ярослав](https://github.com/YarikMix) - _frontend_ diff --git a/public/src/components/QRModal/QRModal.sass b/public/src/components/QRModal/QRModal.sass index c9319223..8c27c4d8 100644 --- a/public/src/components/QRModal/QRModal.sass +++ b/public/src/components/QRModal/QRModal.sass @@ -1,7 +1,7 @@ @import "/public/src/utils/variables.sass" .qr-container - padding: 25px + padding: 5px 25px 25px 25px display: flex flex-direction: column justify-content: center diff --git a/public/src/pages/Home/index.tsx b/public/src/pages/Home/index.tsx index 9dbc9f8d..01697378 100644 --- a/public/src/pages/Home/index.tsx +++ b/public/src/pages/Home/index.tsx @@ -7,6 +7,8 @@ import {ShiningButton} from '../../components/ShiningButton/ShinigButton'; import {Img} from '../../components/Image/Image'; export class HomePage extends ScReact.Component { + private cardsContainerRef + componentDidMount() { document.title = 'Главная'; this.createObserver(); @@ -23,7 +25,7 @@ export class HomePage extends ScReact.Component { }); }); - const targetElements = document.querySelectorAll('.about .about__container .card'); + const targetElements = this.cardsContainerRef.querySelectorAll('.card'); targetElements.forEach((targetElement) => { observer.observe(targetElement); @@ -46,7 +48,7 @@ export class HomePage extends ScReact.Component {

Функции и возможности

-
+
this.cardsContainerRef = ref}>

Многофункциональность