Vercel/src/tag/PhotoFavs.tsx
Sam Becker 70f6f48044
Exclude photo from feeds (#280)
* Add tooltip to 'hidden' checkbox

* Refine checkbox UI

* Allow photos to be excluded from main feeds

* Fix footer grid in photos excluded from feed

* Apply feed exclusion from batch upload

* Scrub final hidden/private language

* Add visibility icons to admin photo menu
2025-07-05 23:40:58 -05:00

30 lines
708 B
TypeScript

'use client';
import { TAG_FAVS } from '.';
import { pathForTag } from '@/app/paths';
import EntityLink, {
EntityLinkExternalProps,
} from '@/components/entity/EntityLink';
import IconFavs from '@/components/icons/IconFavs';
export default function PhotoFavs(props: EntityLinkExternalProps) {
return (
<EntityLink
{...props}
label={TAG_FAVS}
path={pathForTag(TAG_FAVS)}
hoverPhotoQueryOptions={{ tag: TAG_FAVS }}
icon={<IconFavs
size={13}
className="translate-x-[-0.5px] translate-y-[-0.5px]"
highlight
/>}
iconBadgeEnd={<IconFavs
size={10}
className="translate-y-[-0.5px]"
highlight
/>}
/>
);
}