Skip to content

Commit

Permalink
Поправил стили
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikMix committed May 31, 2024
1 parent c07bd9c commit 6b18f7d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down
2 changes: 1 addition & 1 deletion public/src/components/QRModal/QRModal.sass
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions public/src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {ShiningButton} from '../../components/ShiningButton/ShinigButton';
import {Img} from '../../components/Image/Image';

export class HomePage extends ScReact.Component<any, any> {
private cardsContainerRef

componentDidMount() {
document.title = 'Главная';
this.createObserver();
Expand All @@ -23,7 +25,7 @@ export class HomePage extends ScReact.Component<any, any> {
});
});

const targetElements = document.querySelectorAll('.about .about__container .card');
const targetElements = this.cardsContainerRef.querySelectorAll('.card');

targetElements.forEach((targetElement) => {
observer.observe(targetElement);
Expand All @@ -46,7 +48,7 @@ export class HomePage extends ScReact.Component<any, any> {
</section>
<section className="about">
<h2 className="about__title">Функции и возможности</h2>
<div className="about__container">
<div className="about__container" ref={ref => this.cardsContainerRef = ref}>
<div className="card">
<Img src="notes.png"/>
<h3>Многофункциональность</h3>
Expand Down

0 comments on commit 6b18f7d

Please sign in to comment.