Skip to content

corrections on home page #202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/components/HematoFAQ/HematoFAQ.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

&__title {
text-align: center;
font-size: 40px;
font-size: 35px;

display: flex;

Expand All @@ -42,12 +42,11 @@
}

&__bloodCell {
width: 25.907px;
height: 36.627px;
scale: 0.5;
transform-origin: left center;

@include desktop-screen {
width: 58px;
height: 82px;
scale: 1;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,26 @@
padding-bottom: 26px;
display: flex;
align-items: flex-end;
justify-content: center;
max-width: 290px;
gap: 10px;

@include desktop-screen {
padding-bottom: 140px;
max-width: 100%;
gap: 5px;
align-items: center;
}
}

&__iconBloodCell {
margin-top: 35px;
scale: 0.5;
transform-origin: left center;

@include desktop-screen {
margin-top: 0;
scale: 1;
}
}


&__iconBloodCell svg {
width: 28px;
height: 38px;

@include desktop-screen {
width: 58px;
height: 82px;
}
}

&__backgroundIcon {
display: none;
Expand All @@ -83,12 +75,11 @@

.attractions__header {
text-align: center;
font-family: 'DM Serif Display', serif;
font-size: 40px;
font-weight: 400;
font-size: 35px;
font-weight: 700;

@include desktop-screen {
font-size: 67px;
font-size: 54px;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
display: block;
position: absolute;

top: 180px;
top: 160px;

@include desktop-screen {
display: none;
Expand All @@ -25,7 +25,7 @@
&__container {
position: relative;
max-width: 390px;
height: 856px;
height: 820px;
width: 100%;
margin: 0 auto;
padding: 0 20px;
Expand Down Expand Up @@ -65,12 +65,11 @@
&__title {
text-align: center;
width: 302px;
font-size: 40px;
font-weight: 400;
font-family: 'DM Serif Display', serif;
font-size: 35px;
font-weight: 700;

@include desktop-screen {
font-size: 67px;
font-size: 54px;
width: 471px;
}
}
Expand All @@ -80,7 +79,7 @@
bottom: -5px;
right: -5px;

& > svg {
&>svg {
width: 32px;
height: 45px;
}
Expand All @@ -89,7 +88,7 @@
bottom: -5px;
right: -35px;

& > svg {
&>svg {
width: 59px;
height: 83px;
}
Expand Down Expand Up @@ -195,7 +194,7 @@
flex-direction: column;
}

&__itemNumber > svg {
&__itemNumber>svg {
width: 73px;
height: 73px;

Expand All @@ -213,4 +212,4 @@
bottom: 0;
}
}
}
}
16 changes: 6 additions & 10 deletions src/components/HematoRunWhyIsItWorth/HematoRunWhyIsItWorth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@ import { Button } from '../Button/Button';
import { useLanguageStore } from '../../Zustand/useLanguageStore';
import translations from './translations';
import { IconBloodCell } from '../../Icons/IconBloodCell/IconBloodCell';
import { IconNumberOne } from '../../Icons/IconNumbers/IconNumberOne/IconNumberOne';
import { IconNumberTwo } from '../../Icons/IconNumbers/IconNumberTwo/IconNumberTwo';
import { IconNumberThree } from '../../Icons/IconNumbers/IconNumberThree/IconNumberThree';
import { IconNumberFour } from '../../Icons/IconNumbers/IconNumberFour/IconNumberFour';
import { IconNumberFive } from '../../Icons/IconNumbers/IconNumberFive/IconNumberFive';
import { IconWavyArrowDown } from '../../Icons/IconWavyArrowDown/IconWavyArrowDown';
import { useNavigate } from 'react-router';
import { useIsLoginStore } from '../../Zustand/useIsLoginStore';
import { IconWavyArrowDownMobile } from '../../Icons/IconWavyArrowDownMobile/IconWavyArrowDownMobile';
import NumberCircle from '../NumberCircle/NumberCircle';

export const HematoRunWhyIsItWorth = () => {
const { language } = useLanguageStore();
Expand Down Expand Up @@ -45,14 +41,14 @@ export const HematoRunWhyIsItWorth = () => {
>
<p className={scss.whyIsItWorth__itemText}>{t.fundraising}</p>
<div className={scss.whyIsItWorth__itemNumber}>
<IconNumberOne />
<NumberCircle number={1} color="#FD7616" />
</div>
</li>
<li
className={`${scss['whyIsItWorth__item']} ${scss['whyIsItWorth__item-awareness']} ${scss['whyIsItWorth__itemEven']}`}
>
<div className={scss.whyIsItWorth__itemNumber}>
<IconNumberTwo />
<NumberCircle number={2} color="#FD7616" />
</div>
<p className={scss.whyIsItWorth__itemText}>{t.awareness}</p>
</li>
Expand All @@ -61,14 +57,14 @@ export const HematoRunWhyIsItWorth = () => {
>
<p className={scss.whyIsItWorth__itemText}>{t.opportunity}</p>
<div className={scss.whyIsItWorth__itemNumber}>
<IconNumberThree />
<NumberCircle number={3} color="#FD7616" />
</div>
</li>
<li
className={`${scss['whyIsItWorth__item']} ${scss['whyIsItWorth__item-joy']} ${scss['whyIsItWorth__itemEven']}`}
>
<div className={scss.whyIsItWorth__itemNumber}>
<IconNumberFour />
<NumberCircle number={4} color="#FD7616" />
</div>
<p className={scss.whyIsItWorth__itemText}>{t.joy}</p>
</li>
Expand All @@ -77,7 +73,7 @@ export const HematoRunWhyIsItWorth = () => {
>
<p className={scss.whyIsItWorth__itemText}>{t.family}</p>
<div className={scss.whyIsItWorth__itemNumber}>
<IconNumberFive />
<NumberCircle number={5} color="#FD7616" />
</div>
</li>
</ul>
Expand Down
8 changes: 4 additions & 4 deletions src/components/NumberCircle/NumberCircle.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
align-items: center;
justify-content: center;
color: var(--light);
font-family: 'DM Serif Display';
border-radius: 50%;
background-color: var(--orange);
width: 40px;
height: 40px;
font-size: 24px;
font-weight: 700;

@include desktop-screen {
width: 124px;
height: 124px;
width: 138px;
height: 138px;
font-size: 86px;
}
}
}
4 changes: 2 additions & 2 deletions src/components/Timetable/Timetable.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@

&__titleIcon {
display: flex;
gap: 0;
gap: 10px;
align-items: center;
height: 70px;

@include desktop-screen {
gap: 12px;
height: 92px;
}
}
Expand All @@ -51,6 +50,7 @@

&__titleBlood {
scale: 0.5;
transform-origin: left center;

@include desktop-screen {
scale: 1;
Expand Down
Loading