Skip to content

Commit 7ec3315

Browse files
committed
style: added blur to background images
1 parent 9109afa commit 7ec3315

File tree

6 files changed

+3
-8
lines changed

6 files changed

+3
-8
lines changed

src/components/carousel/carousel-section.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const CarouselSection: FC<PropsWithChildren<CarouselSectionProps>> = ({
1717
children,
1818
}) => (
1919
<Card>
20-
<CardHeader title={title} sx={{ px: '50px', fontSize: 'clamp(2rem, 1vw, 3rem)' }} />
20+
{/* <CardHeader title={title} sx={{ px: '50px', fontSize: 'clamp(2rem, 1vw, 3rem)' }} /> */}
2121
<CardContent sx={{ px: '50px', pt: '1rem', pb: '0 !important' }}>{children}</CardContent>
2222
</Card>
2323
);

src/components/carousel/variants/carousel-main.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function CarouselItem({ post }: Readonly<CarouselItemProps>) {
214214
}}
215215
>
216216
<IconFlagFilled style={{ marginRight: '4px' }} size={22} color="#FFFFFF" />
217-
Add watchlist
217+
Add Watchlist
218218
</Button>
219219
</Stack>
220220
</m.div>

src/components/carousel/variants/carousel-mixed.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export default function CarouselMixed({ data }: Props) {
108108
genre: getMovieGenres(post).split(', '),
109109
images: {
110110
vertical: getMediaUri(getPosterCid(post)),
111-
horizontal: getMediaUri(getPosterHorizontalCid(post)),
112111
wallpaper: getMediaUri(getWallpaperCid(post)),
113112
},
114113
likes: post?.stats?.upvotes ?? 0,
@@ -139,7 +138,6 @@ export default function CarouselMixed({ data }: Props) {
139138
genre: getMovieGenres(post).split(', '),
140139
images: {
141140
vertical: getMediaUri(getPosterCid(post)),
142-
horizontal: getMediaUri(getPosterHorizontalCid(post)),
143141
wallpaper: getMediaUri(getWallpaperCid(post)),
144142
},
145143
likes: post?.stats?.upvotes ?? 0,

src/components/carousel/variants/carousel-poster-horizontal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export default function CarouselPosterHorizontal({ data }: Props) {
7474
genre={getMovieGenres(post).split(', ')}
7575
images={{
7676
vertical: getMediaUri(getPosterCid(post)),
77-
horizontal: getMediaUri(getPosterHorizontalCid(post)),
7877
wallpaper: getMediaUri(getWallpaperCid(post)),
7978
}}
8079
likes={post?.stats?.upvotes ?? 0}

src/components/poster/variants/poster-top-titles.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const PosterTopTitles = ({ post }: { post: any }) => {
7979
width: '100%',
8080
height: '100%',
8181
opacity: 0.2,
82+
filter: "blur(5px) !important",
8283
backgroundSize: 'cover',
8384
backgroundPosition: 'center',
8485
backgroundRepeat: 'no-repeat',

src/layouts/_common/header-balance.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ export default function HeaderBalance() {
4545
<Typography variant="subtitle2" sx={{ textAlign: 'left' }} noWrap>
4646
{formatBalanceNumber(balance)}
4747
</Typography>
48-
<Typography variant="caption" color="text.secondary" sx={{ ml: 1, mt: 0.6, fontSize: 10 }}>
49-
MMC
50-
</Typography>
5148
</Stack>
5249
</Button>
5350
);

0 commit comments

Comments
 (0)