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

feat: homepage fixes #1109

Merged
merged 1 commit into from
Oct 28, 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
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ export default function CollectionsCard({ collection, lensProfile }: Props) {
)}
<div>
<NameContainer>
<Typography color={colors.black} fontSize="1rem" fontWeight="600">
<Typography
color={colors.black}
fontSize="0.875rem"
fontWeight="600"
>
{name}
</Typography>
</NameContainer>
Expand Down
8 changes: 3 additions & 5 deletions src/pages/landing/FeaturedOffers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const Root = styled.div`
`;

const Title = styled(Typography)`
font-size: 2rem;
font-weight: 600;
line-height: 1.2;
`;

Expand All @@ -34,9 +32,7 @@ export const ViewMore = styled(LinkWithQuery)`
align-items: center;
cursor: pointer;
margin-left: 1.5rem;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 0.0625rem;
line-height: 1.3125rem;
${() => buttonText};
color: var(--accent);

Expand All @@ -51,6 +47,8 @@ export const ViewMore = styled(LinkWithQuery)`
transform: translateX(5px);
}
}
font-size: 0.875rem;
font-weight: 600;
`;

interface IFeaturedOffers {
Expand Down
32 changes: 31 additions & 1 deletion src/pages/landing/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ const StyledGridWithZindex = styled(GridWithZindex)`
`;

const Title = styled(Typography)`
font-size: 2rem;
font-weight: 600;
line-height: 1.2;
`;
Expand Down Expand Up @@ -89,6 +88,37 @@ const LandingContainer = styled.div`
border-radius: 0.5rem;
background-color: ${colors.white};
margin-bottom: 3.813rem;
position: relative;
transform-style: preserve-3d;

&:before {
content: "";
position: absolute;
inset: 0px;
background: linear-gradient(
135deg,
rgba(255, 140, 0, 0.1) 0%,
rgba(128, 0, 128, 0.1) 50%,
rgba(75, 0, 130, 0.1) 100%
),
radial-gradient(
circle at 20% 100%,
rgba(76, 217, 100, 0.15) 0%,
transparent 50%
),
radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.1) 0%, transparent 40%),
radial-gradient(circle at 90% 90%, rgba(0, 0, 0, 0.1) 0%, transparent 40%),
radial-gradient(
circle at 100% 25%,
rgba(0, 0, 0, 0.1) 0%,
transparent 40%
);
filter: blur(20px);
transform: translate3d(28px, 34px, -1px);
border-radius: inherit;
pointer-events: none;
opacity: 0.2;
}
`;

const AnimatedGridContainer = styled.div`
Expand Down
Loading