Skip to content

Commit

Permalink
fix: homepage fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksymilianKozak committed Nov 8, 2024
1 parent 45ae535 commit 11ee00d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const HeaderItems = styled.nav<{
}}
`;
const logoXXSHeightPx = 24;
const logoSHeightPx = 47;
const logoSHeightPx = 24;
const LogoImg = styled.img`
height: ${logoXXSHeightPx}px;
cursor: pointer;
Expand Down
6 changes: 3 additions & 3 deletions src/components/header/HeaderLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ const NavigationLinks = styled.div<{
justify-content: center;
padding-top: 1rem;
padding-bottom: 1rem;
padding-left: 0.1rem;
padding-right: 0.1rem;
padding-left: 1.5rem;
padding-right: 1.5rem;
}
`;
}}
Expand Down Expand Up @@ -148,7 +148,7 @@ const ItemsList = styled.div<{
${({ $isMobile }) =>
!$isMobile &&
css`
gap: 1rem;
gap: 0;
`}
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ const CardContainer = styled.div<{
display: flex;
cursor: pointer;
flex-direction: column;
box-shadow: 0 0 0 2px ${colors.lightGrey};
filter: drop-shadow(0 0 2px ${colors.lightGrey});
border: 2px solid ${colors.lightGrey};
border-radius: 4px;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
min-width: 16.5625rem;
Expand Down
11 changes: 10 additions & 1 deletion src/pages/landing/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ const Title = styled(Typography)`
`;
const SubTitle = styled(Typography)`
margin-bottom: 0.5rem;
${breakpoint.m} {
max-width: 21.25rem;
}
`;
const ExploreContainer = styled.div`
margin-top: 2rem;
Expand All @@ -81,6 +84,7 @@ const ExploreProductsButton = styled(BosonButton)`
background-color: var(--buttonBgColor);
border-color: var(--buttonBgColor);
color: var(--buttonTextColor);
margin-top: 0.625rem;
`;

const LandingContainer = styled.div`
Expand Down Expand Up @@ -311,7 +315,12 @@ export default function Landing() {
flexDirection="column"
padding="0.9375rem 2.5rem 2.5rem 2.5rem"
>
<Title tag="h1" fontWeight="600" fontSize="2.0625rem">
<Title
tag="h1"
fontWeight="600"
fontSize="2.0625rem"
marginBottom={"0.625rem"}
>
Tokenize, transfer and trade any physical asset as an NFT
</Title>
<SubTitle tag="h4" fontWeight="400" fontSize="1.25rem">
Expand Down

0 comments on commit 11ee00d

Please sign in to comment.