Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Pavel/text-fix our principles #2400

Merged
merged 4 commits into from
Dec 30, 2021
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
7 changes: 6 additions & 1 deletion src/pages/about-us/_AboutUsBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ const PictureFlex = styled(Flex)`
const StyledHeader = styled(Header)`
color: var(--color-white);
margin-bottom: 16px;
line-height: 40px;

@media ${device.tablet} {
line-height: 34px;
}
`
const Styledtext = styled(Text)`
color: var(--color-white);
Expand All @@ -67,7 +72,7 @@ const AboutUsBanner = () => {
<StyledSectionContainer>
<StyledFlex direction="column" height="288px" width="1200px">
<PictureFlex jc="start" ai="start" direction="column">
<StyledHeader width="100%" type="section-title" as="h2">
<StyledHeader width="100%" type="section-title" as="h2" size="32px">
{localize('We have a huge mission, an incredible team, and rapid growth.')}
</StyledHeader>
<Styledtext width="100%" type="paragraph-2" as="p">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/about-us/_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const our_principles: PrincipleType[] = [
{
title: localize('Be fair'),
text: localize(
'We treat all customers equitably, handle complaints with integrity, and offer competitive prices on all our products with no hidden costs and no artificial barriers on customer withdrawals.',
'We treat all customers equitably, handle complaints with integrity, and offer competitive prices with no hidden costs and no artificial barriers on customer withdrawals.',
),
color: 'rgba(255, 195, 89, 0.25)',
},
Expand Down
5 changes: 5 additions & 0 deletions src/pages/about-us/carousel/_Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ type CarouselViewportType = {
const CarouselViewport = styled.div<CarouselViewportType>`
overflow: hidden;
width: 100%;

@media(min-width: 3107px) {
display: flex;
justify-content: center;
}
}
`
const CarouselContainer = styled.div`
Expand Down