Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix: remove NavigationColumn cause its used inside the component
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschall committed Feb 22, 2023
1 parent ef8576c commit 7d9b9fe
Showing 1 changed file with 36 additions and 43 deletions.
79 changes: 36 additions & 43 deletions packages/app/pages/includes/navi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
MumbleLogo,
NaviButton,
Navigation,
NavigationContainer,
NavigationColumn,
NavigationRow,
} from '@smartive-education/design-system-component-library-yeahyeahyeah';
Expand All @@ -27,48 +26,42 @@ export default function Navi() {
<Link href="./textbox">Textbox</Link>
<Link href="./hashtag">Hashtag</Link>
</div>
<Navigation mbSpacing="32">
<NavigationContainer>
<NavigationColumn>
<Link href="/" title="Startpage" target="_self">
<MumbleLogo isNavigation={true} color="white" alignment="horizontal" />
</Link>
<NavigationRow>
<NaviButton
label="Profile"
variant="profile"
href="/profilepage"
legacyBehavior={true}
passHref={true}
linkComponent={Link}
>
<Avatar
alt="Small Avatar"
src="https://media.giphy.com/media/cfuL5gqFDreXxkWQ4o/giphy.gif"
variant="small"
/>
</NaviButton>
<NaviButton
label="Settings"
variant="default"
icon="settings"
href="/"
legacyBehavior={true}
passHref={true}
linkComponent={Link}
/>
<NaviButton
label="Logout"
variant="default"
icon="logout"
href="/detailview"
legacyBehavior={true}
passHref={true}
linkComponent={Link}
/>
</NavigationRow>
</NavigationColumn>
</NavigationContainer>
<Navigation>
<NavigationColumn>
<Link href="/detailview" title="Startpage" target="_self">
<MumbleLogo isNavigation={true} color="white" alignment="horizontal" />
</Link>
<NavigationRow>
<NaviButton
label="Profile"
variant="profile"
href="/profilepage"
legacyBehavior={true}
passHref={true}
linkComponent={Link}
>
<Avatar alt="Small Avatar" src="https://media.giphy.com/media/cfuL5gqFDreXxkWQ4o/giphy.gif" variant="small" />
</NaviButton>
<NaviButton
label="Settings"
variant="default"
icon="settings"
href="/"
legacyBehavior={true}
passHref={true}
linkComponent={Link}
/>
<NaviButton
label="Logout"
variant="default"
icon="logout"
href="/detailview"
legacyBehavior={true}
passHref={true}
linkComponent={Link}
/>
</NavigationRow>
</NavigationColumn>
</Navigation>
</>
);
Expand Down

0 comments on commit 7d9b9fe

Please sign in to comment.