Skip to content

Commit

Permalink
Restore default header logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrohde committed Jan 8, 2024
1 parent 44a5dcf commit 67cb501
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 208 deletions.
189 changes: 0 additions & 189 deletions frontend/assets/svg/files/header-logo-20th.svg

This file was deleted.

2 changes: 0 additions & 2 deletions frontend/assets/svg/files/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { chakra } from '@chakra-ui/react';
import SvgProductListEmptyStateIllustration from './product-list-empty-state-illustration.svg';
import SvgQualityGuarantee from './quality-guarantee.svg';
import SvgSearchEmptyStateIllustration from './search-empty-state-illustration.svg';
import HeaderLogo20th from './header-logo-20th.svg';

export const ProductListEmptyStateIllustration = chakra(
SvgProductListEmptyStateIllustration
Expand All @@ -11,4 +10,3 @@ export const QualityGuarantee = chakra(SvgQualityGuarantee);
export const SearchEmptyStateIllustration = chakra(
SvgSearchEmptyStateIllustration
);
export const Wordmark20th = chakra(HeaderLogo20th);
21 changes: 4 additions & 17 deletions frontend/layouts/default/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { Wordmark20th } from '@assets/svg/files';
import {
Alert,
AlertIcon,
AlertTitle,
Box,
DrawerCloseButton,
Flex,
Icon,
MenuDivider,
MenuGroup,
MenuList,
Expand Down Expand Up @@ -69,6 +67,7 @@ import {
UserMenuHeading,
MenuItemIcon,
UserMenuLink,
Wordmark,
WordmarkLink,
useHeaderContext,
} from '@ifixit/ui';
Expand Down Expand Up @@ -205,14 +204,8 @@ const DefaultLayoutComponent = function ({
href="/"
aria-label="Go to homepage"
pr="4"
title="iFixit turns 20"
padding={0}
>
<Icon
as={Wordmark20th}
width="auto"
height="100%"
/>
<Wordmark />
</WordmarkLink>
{menu && (
<NavigationMenu>
Expand Down Expand Up @@ -364,14 +357,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 67cb501

Please sign in to comment.