Skip to content

Commit

Permalink
Update app router version to match
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrohde committed Jan 8, 2024
1 parent 67cb501 commit 8ffc99c
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions frontend/app/(defaultLayout)/components/ifixit-page-frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
Box,
DrawerCloseButton,
Flex,
Icon,
MenuDivider,
MenuGroup,
MenuList,
Expand All @@ -23,7 +22,6 @@ import {
import { useAppContext } from '@ifixit/app';
import { useAuthenticatedUser } from '@ifixit/auth-sdk';
import { FaIcon } from '@ifixit/icons';
import { Wordmark20th } from '@assets/svg/files';
import type { Menu } from '@ifixit/menu';
import { ShopifyStorefrontProvider } from '@ifixit/shopify-storefront-client';
import {
Expand Down Expand Up @@ -60,6 +58,7 @@ import {
UserMenuButton,
UserMenuHeading,
UserMenuLink,
Wordmark,
WordmarkLink,
} from '@ifixit/ui';
import * as React from 'react';
Expand Down Expand Up @@ -119,11 +118,7 @@ export default function IFixitPageFrame({
title="iFixit turns 20"
padding={0}
>
<Icon
as={Wordmark20th}
width="auto"
height="100%"
/>
<Wordmark />
</WordmarkLink>
{menu && (
<NavigationMenu>
Expand Down Expand Up @@ -278,14 +273,8 @@ function LayoutNavigationDrawer({ menu }: LayoutNavigationDrawerProps) {
return (
<NavigationDrawer>
<DrawerCloseButton />
<WordmarkLink
href="/"
aria-label="Go to homepage"
mb="8"
title="iFixit turns 20"
padding={0}
>
<Icon as={Wordmark20th} width="auto" height="100%" />
<WordmarkLink href="/" aria-label="Go to homepage" mb="8">
<Wordmark />
</WordmarkLink>
<NavigationAccordion>
{menu.items.map((item, index) => {
Expand Down

0 comments on commit 8ffc99c

Please sign in to comment.