Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove settings from menu #93

Merged
merged 1 commit into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading