Skip to content

Commit

Permalink
refact: same for footer, no hardcoded theme styles
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Oct 18, 2023
1 parent aca6c1c commit eebde72
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ function Footer({ t }: Props) {
{(prevSection || nextSection) && <>
<ButtonGroup>
<Button size="large"
className='btn-nav btn-footer pb-5 pt-5
color-fg-inherit color-bg-inherit color-border-inherit'
className='btn-nav btn-footer pb-5 pt-5'
onClick={() => navigate(`/${prevSlug}`)}
leadingIcon={prevSection? ArrowLeftIcon: ArrowUpIcon}
>
Expand All @@ -65,8 +64,7 @@ function Footer({ t }: Props) {
}
</Button>
<Button size="large"
className='btn-nav btn-footer pb-5 pt-5
color-fg-inherit color-bg-inherit color-border-inherit'
className='btn-nav btn-footer pb-5 pt-5'
onClick={() => navigate(`/${nextSlug}`)}
trailingIcon={nextSection? ArrowRightIcon: ArrowUpIcon}
>
Expand All @@ -83,8 +81,7 @@ function Footer({ t }: Props) {
</>}
{(!prevSection && !nextSection) && <>
<Button size="large"
className='btn-nav btn-footer
color-fg-inherit color-bg-inherit color-border-inherit'
className='btn-nav btn-footer'
onClick={() => navigate(`/${prevSlug}`)}
leadingIcon={ArrowUpIcon}
>
Expand Down

0 comments on commit eebde72

Please sign in to comment.