Skip to content

Commit

Permalink
Remove Banners From The Series Page (#1114)
Browse files Browse the repository at this point in the history
- banners are a vestigial tvdb remnant
  • Loading branch information
natyusha authored Oct 20, 2024
1 parent f836301 commit 61c011e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/collection/series/SeriesImages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ import useEventCallback from '@/hooks/useEventCallback';

import type { ImageType } from '@/core/types/api/common';

type ImageTabType = 'Posters' | 'Backdrops' | 'Banners' | 'Logos';
type ImageTabType = 'Posters' | 'Backdrops' | 'Logos';
const tabStates = [
{ value: 'Posters' },
{ value: 'Backdrops' },
{ value: 'Banners' },
{ value: 'Logos' },
];

Expand All @@ -34,7 +33,6 @@ const InfoLine = ({ title, value }) => (
const sizeMap = {
Posters: { image: 'h-[clamp(15rem,_16vw,_21rem)]', grid: 'grid-cols-6' },
Backdrops: { image: 'h-[clamp(11.5rem,_12vw,_16rem)]', grid: 'grid-cols-3' },
Banners: { image: 'h-[8rem]', grid: 'grid-cols-2' },
Logos: { image: 'h-[clamp(15rem,_16vw,_21rem)]', grid: 'grid-cols-4' },
};

Expand Down

0 comments on commit 61c011e

Please sign in to comment.