Skip to content

Commit

Permalink
chore: small changes in the layaout
Browse files Browse the repository at this point in the history
  • Loading branch information
Franqsanz committed Jul 18, 2024
1 parent 8be9326 commit b5ad960
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
9 changes: 8 additions & 1 deletion src/components/nav/DesktopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ export function DesktopNav() {
backdropBlur='12px'
zIndex='1'
>
<Flex as='nav' w='100%' justify='space-around' align='center'>
<Flex
as='nav'
w='100%'
maxW='1160px'
m='auto'
justify='space-between'
align='center'
>
<Flex align='center'>
<Box
as='span'
Expand Down
2 changes: 1 addition & 1 deletion src/components/nav/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MobileNav } from '@components/nav/MobileNav';
import { DesktopNav } from '@components/nav/DesktopNav';

export function Nav() {
const isMobile = useBreakpointValue({ base: true, md: false });
const isMobile = useBreakpointValue({ base: true, lg: false });

return <>{isMobile ? <MobileNav /> : <DesktopNav />}</>;
}
6 changes: 3 additions & 3 deletions src/components/skeletons/SkeletonDBook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ export function SkeletonDetailsBook() {
<>
<Flex
w='full'
maxW='1255px'
maxW='1170px'
m='auto'
px={{ base: 5, xl: 0 }}
pt='7'
pb='3'
pb='5'
align='center'
justify='space-between'
>
Expand All @@ -19,7 +19,7 @@ export function SkeletonDetailsBook() {
</Flex>
<Flex
w='full'
maxW='1300px'
maxW='1170px'
m='auto'
mb='300px'
align='flex-start'
Expand Down
5 changes: 3 additions & 2 deletions src/pages/Book.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default function Book() {
/>
<Flex
w='full'
maxW='1255px'
maxW='1170px'
m='auto'
px={{ base: 5, xl: 0 }}
pt='4'
Expand Down Expand Up @@ -232,8 +232,9 @@ export default function Book() {
onClose={onCloseEdit}
/>
<Flex
as='section'
w='full'
maxW='1300px'
maxW='1220px'
m='auto'
mb={{ base: 25, md: 32 }}
align='flex-start'
Expand Down

0 comments on commit b5ad960

Please sign in to comment.