Skip to content

Commit

Permalink
Remove 4:5 aspect ratio badge (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM authored Dec 11, 2024
1 parent 8178878 commit 73f3d1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 63 deletions.
12 changes: 0 additions & 12 deletions fronts-client/src/components/CollectionDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ import { theme } from 'constants/theme';
import Button from 'components/inputs/ButtonDefault';
import { updateCollection as updateCollectionAction } from '../actions/Collections';
import { isMode } from '../selectors/pathSelectors';
import {
COLLECTIONS_USING_PORTRAIT_TRAILS,
portraitCardImageCriteria,
SUPPORT_PORTRAIT_CROPS,
} from 'constants/image';
import { AspectRatioBadge } from './icons/AspectRatioBadge';
import { DragToConvertFeastCollection } from './FrontsEdit/CollectionComponents/DragToConvertFeastCollection';
import { selectors as editionsIssueSelectors } from '../bundles/editionsIssueBundle';

Expand Down Expand Up @@ -275,11 +269,6 @@ class CollectionDisplay extends React.Component<Props, CollectionState> {
const targetedTerritory = collection ? collection.targetedTerritory : null;
const { displayName } = this.state;

const usePortrait =
SUPPORT_PORTRAIT_CROPS &&
collection?.type &&
COLLECTIONS_USING_PORTRAIT_TRAILS.includes(collection?.type);

return (
<CollectionContainer
id={collection && createCollectionId(collection, frontId)}
Expand Down Expand Up @@ -346,7 +335,6 @@ class CollectionDisplay extends React.Component<Props, CollectionState> {
</CollectionHeadingText>
)}
</CollectionHeadlineWithConfigContainer>
{usePortrait && <AspectRatioBadge {...portraitCardImageCriteria} />}
{isLocked ? (
<LockedCollectionFlag>Locked</LockedCollectionFlag>
) : headlineContent ? (
Expand Down
51 changes: 0 additions & 51 deletions fronts-client/src/components/icons/AspectRatioBadge.tsx

This file was deleted.

0 comments on commit 73f3d1f

Please sign in to comment.