Skip to content

Commit

Permalink
refactor: remove settings from menu
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Dec 16, 2023
1 parent a4d711a commit 7e622d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/credits/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default async function Page(props: Props) {
<Card size="3">
<Flex direction="column" gap="4">
<Heading as="h3" size="4" trim="both">
Orders
Your orders
</Heading>

<Separator orientation="horizontal" size="4" />
Expand Down
14 changes: 4 additions & 10 deletions components/layout/app-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ import {
import Link from 'next/link';
import {
CgArrowRight,
CgDollar,
CgLogOut,
CgMediaPodcast,
CgOptions,
CgProfile,
} from 'react-icons/cg';
import { PiRobotBold } from 'react-icons/pi';

import { Logo } from '../ui/logo';
import { UnstyledButton } from '../ui/unstyled-button';
Expand All @@ -41,18 +40,13 @@ type Props =
const USER_MENU_LINKS = [
{
href: '/credits',
icon: <CgDollar />,
label: 'Buy Credits',
icon: <PiRobotBold />,
label: 'Buy credits',
},
{
href: '/shows',
icon: <CgMediaPodcast />,
label: 'Your Shows',
},
{
href: '/settings',
icon: <CgOptions />,
label: 'Settings',
label: 'Your shows',
},
];

Expand Down

0 comments on commit 7e622d0

Please sign in to comment.