diff --git a/packages/web/components/nav-containers/home.tsx b/packages/web/components/nav-containers/home.tsx
index 3d1029ab8..af667d5f7 100644
--- a/packages/web/components/nav-containers/home.tsx
+++ b/packages/web/components/nav-containers/home.tsx
@@ -57,6 +57,7 @@ export function HomeContainer(): JSX.Element {
gap: '50px',
minHeight: '100vh',
'@mdDown': {
+ gap: '40px',
width: '100%',
},
}}
@@ -123,7 +124,13 @@ const JustAddedHomeSection = (props: HomeSectionProps): JSX.Element => {
}}
>
@@ -172,6 +179,9 @@ const JustAddedHomeSection = (props: HomeSectionProps): JSX.Element => {
'::-webkit-scrollbar': {
display: 'none',
},
+ '@mdDown': {
+ px: '20px',
+ },
}}
distribution="start"
alignment="start"
@@ -191,6 +201,9 @@ const TopPicksHomeSection = (props: HomeSectionProps): JSX.Element => {
css={{
width: '100%',
gap: '20px',
+ '@mdDown': {
+ gap: '10px',
+ },
}}
>
{
fontSize: '16px',
fontWeight: '600',
color: '$homeTextTitle',
+ '@mdDown': {
+ px: '20px',
+ },
}}
>
{props.homeSection.title}
@@ -222,9 +238,9 @@ const QuickLinksHomeSection = (props: HomeSectionProps): JSX.Element => {
distribution="start"
css={{
width: '100%',
- gap: '20px',
- bg: '$thNavMenuFooter',
- py: '30px',
+ gap: '10px',
+ bg: '$homeCardHover',
+ py: '20px',
px: '20px',
borderRadius: '5px',
}}
@@ -233,10 +249,10 @@ const QuickLinksHomeSection = (props: HomeSectionProps): JSX.Element => {
css={{
fontFamily: '$inter',
fontSize: '12px',
- fontWeight: '600',
+ fontWeight: '500',
textTransform: 'uppercase',
color: '$ctaBlue',
- bg: '#007AFF10',
+ bg: '#007AFF20',
px: '10px',
py: '5px',
borderRadius: '5px',
@@ -364,8 +380,8 @@ const Title = (props: HomeItemViewProps): JSX.Element => {
distribution="start"
alignment="center"
css={{
- fontSize: '16px',
- lineHeight: '20px',
+ fontSize: '18px',
+ lineHeight: '24px',
fontWeight: '600',
fontFamily: '$inter',
color: '$homeTextTitle',
@@ -378,6 +394,10 @@ const Title = (props: HomeItemViewProps): JSX.Element => {
'&:title-text': {
transition: 'text-decoration 0.3s ease',
},
+ '@mdDown': {
+ fontSize: '16px',
+ lineHeight: '20px',
+ },
}}
>
{props.homeItem.title}
@@ -392,8 +412,8 @@ const TitleSmall = (props: HomeItemViewProps): JSX.Element => {
distribution="start"
alignment="center"
css={{
- fontSize: '13px',
- lineHeight: '26px',
+ fontSize: '14px',
+ lineHeight: '21px',
fontWeight: '500',
fontFamily: '$inter',
color: '$homeTextTitle',
@@ -421,13 +441,16 @@ const PreviewContent = (props: PreviewContentProps): JSX.Element => {
css={{
fontFamily: '$inter',
fontSize: '14px',
- lineHeight: '28px',
+ lineHeight: '21px',
overflow: 'hidden',
textOverflow: 'ellipsis',
wordBreak: 'break-word',
display: '-webkit-box',
'-webkit-line-clamp': props.maxLines ?? '3',
'-webkit-box-orient': 'vertical',
+ '@mdDown': {
+ '-webkit-line-clamp': '3',
+ },
}}
>
{props.previewContent ?? ''}
@@ -449,11 +472,13 @@ const JustAddedItemView = (props: HomeItemViewProps): JSX.Element => {
borderRadius: '5px',
'&:hover': {
bg: '$homeCardHover',
- borderRadius: '0px',
},
'&:hover .title-text': {
textDecoration: 'underline',
},
+ '@mdDown': {
+ minWidth: '282px',
+ },
}}
onClick={(event) => {
const path = `/${props.viewerUsername ?? 'me'}/${props.homeItem.slug}`
@@ -491,9 +516,12 @@ const TopicPickHomeItemView = (props: HomeItemViewProps): JSX.Element => {
pt: '35px',
cursor: 'pointer',
borderRadius: '5px',
+ '@mdDown': {
+ pt: '15px',
+ borderRadius: '0px',
+ },
'&:hover': {
bg: '$homeCardHover',
- borderRadius: '0px',
},
'&:hover .title-text': {
textDecoration: 'underline',
@@ -573,15 +601,18 @@ const QuickLinkHomeItemView = (props: HomeItemViewProps): JSX.Element => {
return (
{
const path = `/${props.viewerUsername ?? 'me'}/${props.homeItem.slug}`
@@ -592,7 +623,17 @@ const QuickLinkHomeItemView = (props: HomeItemViewProps): JSX.Element => {
}
}}
>
-
+
+
+
+
+
+
+
(
-
+
diff --git a/packages/web/components/templates/navMenu/NavigationMenu.tsx b/packages/web/components/templates/navMenu/NavigationMenu.tsx
index ebe18b1cd..d67626f30 100644
--- a/packages/web/components/templates/navMenu/NavigationMenu.tsx
+++ b/packages/web/components/templates/navMenu/NavigationMenu.tsx
@@ -90,7 +90,7 @@ export function NavigationMenu(props: NavigationMenuProps): JSX.Element {
top: props.showMenu ? '0' : '100%',
visibility: props.showMenu ? 'visible' : 'hidden',
},
- zIndex: 10,
+ zIndex: 2,
}}
>