Skip to content

Commit

Permalink
remove changes to style breakpoints improve text size, add new breakp…
Browse files Browse the repository at this point in the history
…oints
  • Loading branch information
Seroxdesign committed Jul 3, 2023
1 parent 31104fd commit aad2c06
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/design-system/src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ export const theme = extendTheme(
base: '0em',
sm: '30em',
md: '48em',
lg: '71.5em',
xl: '87.5em',
lg: '62em',
xl: '80em',
'2xl': '96em',
'3xl': '120em',
'4xl': '160em',
Expand Down
4 changes: 2 additions & 2 deletions packages/web/components/MegaMenu/DesktopNavLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const DesktopNavLinks: React.FC<FlexProps> = (props) => (
variant="link"
minW="fit-content"
color="white"
fontSize={{ lg: 'm', xl: 'lg' }}
fontSize={{ m: 's', lg: 'm', xl: 'lg' }}
fontWeight={700}
textTransform="uppercase"
mx={{ lg: 3, xl: 6 }}
Expand Down Expand Up @@ -122,7 +122,7 @@ export const DesktopNavLinks: React.FC<FlexProps> = (props) => (
color={
section.type === 'external-link' ? '#79F8FB' : 'white'
}
fontSize={{ lg: 'm', xl: 'lg' }}
fontSize={{ m: 's', lg: 'm', xl: 'lg' }}
fontWeight={700}
textTransform="uppercase"
mx={{ lg: 3, xl: 6 }}
Expand Down
10 changes: 8 additions & 2 deletions packages/web/components/MegaMenu/MegaMenuHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const MegaMenuHeader: React.FC = () => {
cursor="pointer"
h={8}
w={8}
display={{ base: 'flex', lg: 'none' }}
display={{ base: 'flex', lg: 'flex', xl: 'none' }}
p={2}
my="auto"
>
Expand All @@ -107,7 +107,13 @@ export const MegaMenuHeader: React.FC = () => {
justify="center"
align="center"
pos="relative"
display={{ base: 'none', sm: 'none', md: 'none', lg: 'flex' }}
display={{
base: 'none',
sm: 'none',
md: 'none',
lg: 'none',
xl: 'flex',
}}
>
<Logo
link={user ? '/dashboard' : '/'}
Expand Down
6 changes: 6 additions & 0 deletions packages/web/utils/menuLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ export const MenuSectionLinks: MenuLinkSet[] = [
url: '/learn/playbooks',
icon: 'playbooks',
},
{
title: 'The Great Houses',
explainerText: descriptions.thegreathouses,
url: '/learn/thegreathouses',
icon: 'thegreathouses',
},
],
},
{
Expand Down

0 comments on commit aad2c06

Please sign in to comment.