Skip to content

Commit

Permalink
leading icon test
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Sep 5, 2023
1 parent d460913 commit 7bddb3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/SidebarNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import cx from 'classnames'

import { HomeIcon, BookmarkIcon, BookmarkFillIcon, RepoIcon, RepoCloneIcon, RepoPullIcon, RepoPushIcon, RepoLockedIcon, RepoForkedIcon, RepoDeletedIcon, RepoTemplateIcon } from '@primer/octicons-react'

import chapter_logo_test from '../images/chapter_logo_test.png'

type Props = {
startPageMenuName?: String
Expand Down Expand Up @@ -59,7 +60,10 @@ function SidebarNav(props: Props) {
aria-expanded={sectionActive}
as={ReactRouterLink} to={section.slug}
>
<NavList.LeadingVisual><DynamicIcon/></NavList.LeadingVisual>
<NavList.LeadingVisual>
{/* <DynamicIcon/> */}
<img src={chapter_logo_test} style={{width: '18px'}}/>
</NavList.LeadingVisual>
{ chapterNavItems.length > 0
? <Link as={ReactRouterLink} to={section.slug} sx={{color: 'unset'}}>
<Truncate title={section.menu_name} as='span'
Expand Down
Binary file added src/images/chapter_logo_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7bddb3e

Please sign in to comment.