Skip to content
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

fix: homepage fixes #1110

Merged
merged 1 commit into from
Nov 11, 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
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
Loading