Skip to content

Commit

Permalink
Remove premature favorites
Browse files Browse the repository at this point in the history
  • Loading branch information
kgilles committed Dec 20, 2023
1 parent cdcd654 commit 4914eef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
11 changes: 0 additions & 11 deletions src/app/favorites/page.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions src/components/bottom-nav/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import Link from 'next/link';
import {
DocumentPlusIcon, MagnifyingGlassIcon, StarIcon, UserGroupIcon
DocumentPlusIcon, MagnifyingGlassIcon, UserGroupIcon
} from '@heroicons/react/24/outline';

import Icon, { ICON_SIZE } from '../icon';
Expand All @@ -11,7 +11,6 @@ const BottomNav = () => (
<div className="fixed bottom-0 w-full h-48 flex items-center justify-around py-8 px-8 md:px-16 border-t bg-white z-10 dark:bg-gray-500 dark:border-gray-900 md:hidden">
<Link href="/communities"><Icon IconType={UserGroupIcon} size={ICON_SIZE.MEDIUM} title="Communities icon" isInteractable /></Link>
<Link href="/p"><Icon IconType={DocumentPlusIcon} size={ICON_SIZE.MEDIUM} title="Create post icon" isInteractable /></Link>
<Link href="/favorites"><Icon IconType={StarIcon} size={ICON_SIZE.MEDIUM} title="Favorites icon" isInteractable /></Link>
<button type="button" aria-label="Search"><Icon IconType={MagnifyingGlassIcon} size={ICON_SIZE.MEDIUM} title="Search icon" isInteractable /></button>
<ProfileMenu />
</div>
Expand Down
7 changes: 1 addition & 6 deletions src/components/header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from 'react';
import Image from 'next/image';
import Link from 'next/link';
import { MagnifyingGlassIcon, StarIcon } from '@heroicons/react/24/outline';
import { MagnifyingGlassIcon } from '@heroicons/react/24/outline';

import Icon, { ICON_SIZE } from '../icon';
import { InputField } from '../input';
import { LinkText } from '../text';
import ProfileMenu from '../profile-menu';
Expand All @@ -28,10 +27,6 @@ const Header = () => (
<Link href="/p">
<LinkText>Create post</LinkText>
</Link>
<span>|</span>
<Link href="/favorites">
<Icon IconType={StarIcon} size={ICON_SIZE.SMALL} title="Favorites" isInteractable />
</Link>
</div>
</div>
<div className="flex items-center gap-12">
Expand Down

0 comments on commit 4914eef

Please sign in to comment.