Skip to content

Commit

Permalink
Disclaimer container
Browse files Browse the repository at this point in the history
  • Loading branch information
rokoperki committed Jan 28, 2025
1 parent c6ee2a7 commit d884ec6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
Binary file added apps/app/src/assets/images/warning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 34 additions & 5 deletions apps/app/src/pages/FlyTalksListPage/FlyTalksListPage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
border-radius: 8px 8px 0px 0px;
background: #eddfcb;

.starIcon{
.starIcon {
display: none;
}

Expand Down Expand Up @@ -127,13 +127,32 @@
text-transform: uppercase;
}
}

.applianceDisclaimer {
display: none;

border-radius: 0px 0px 16px 16px;
background: var(--Primary-Beige, #f5ede1);
border-radius: 0px 0px 8px 8px;
padding: 12px 24px;

p {
color: var(--Primary-Black, #171615);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
letter-spacing: -0.14px;
}
}
}

.groupApplied {
.groupHeader {
background: var(--Primary-Muted-orange, #e0553f);

.starIcon{
.starIcon {
display: block;
}

Expand All @@ -146,9 +165,19 @@
}
}

.applyButton {
background: #171615;
color: #ffffff;
.companiesList {
border-radius: 0;

.applyButton {
background: #171615;
color: #ffffff;
}
}

.applianceDisclaimer {
display: flex;
align-items: start;
gap: 10px;
}
}

Expand Down
8 changes: 8 additions & 0 deletions apps/app/src/pages/FlyTalksListPage/FlyTalksListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import TabGroup from '../../components/TabGroup';
import c from './FlyTalksListPage.module.scss';
import Button from '../../components/Button';
import star from '../../assets/icons/star.svg';
import warning from '../../assets/images/warning.png';

const FirstDayGroupsMock = [
{
Expand Down Expand Up @@ -135,6 +136,13 @@ const FlyTalksGroup: React.FC<FlyTalksGroupProps> = ({ key, group }) => {
{group.hasUserApplied ? 'Odjavi termin' : 'Prijavi'}
</Button>
</div>
<div className={c.applianceDisclaimer}>
<img src={warning} alt="" />
<p>
Nakon prijave sačekaj potvrdu firme. Možeš prijaviti samo jedan fly
talk.
</p>
</div>
</div>
);
};
Expand Down

0 comments on commit d884ec6

Please sign in to comment.