Skip to content

Commit

Permalink
style: added blur to background images
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Feb 1, 2025
1 parent 9109afa commit 7ec3315
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/carousel/carousel-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const CarouselSection: FC<PropsWithChildren<CarouselSectionProps>> = ({
children,
}) => (
<Card>
<CardHeader title={title} sx={{ px: '50px', fontSize: 'clamp(2rem, 1vw, 3rem)' }} />
{/* <CardHeader title={title} sx={{ px: '50px', fontSize: 'clamp(2rem, 1vw, 3rem)' }} /> */}
<CardContent sx={{ px: '50px', pt: '1rem', pb: '0 !important' }}>{children}</CardContent>
</Card>
);
2 changes: 1 addition & 1 deletion src/components/carousel/variants/carousel-main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function CarouselItem({ post }: Readonly<CarouselItemProps>) {
}}
>
<IconFlagFilled style={{ marginRight: '4px' }} size={22} color="#FFFFFF" />
Add watchlist
Add Watchlist
</Button>
</Stack>
</m.div>
Expand Down
2 changes: 0 additions & 2 deletions src/components/carousel/variants/carousel-mixed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export default function CarouselMixed({ data }: Props) {
genre: getMovieGenres(post).split(', '),
images: {
vertical: getMediaUri(getPosterCid(post)),
horizontal: getMediaUri(getPosterHorizontalCid(post)),
wallpaper: getMediaUri(getWallpaperCid(post)),
},
likes: post?.stats?.upvotes ?? 0,
Expand Down Expand Up @@ -139,7 +138,6 @@ export default function CarouselMixed({ data }: Props) {
genre: getMovieGenres(post).split(', '),
images: {
vertical: getMediaUri(getPosterCid(post)),
horizontal: getMediaUri(getPosterHorizontalCid(post)),
wallpaper: getMediaUri(getWallpaperCid(post)),
},
likes: post?.stats?.upvotes ?? 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export default function CarouselPosterHorizontal({ data }: Props) {
genre={getMovieGenres(post).split(', ')}
images={{
vertical: getMediaUri(getPosterCid(post)),
horizontal: getMediaUri(getPosterHorizontalCid(post)),
wallpaper: getMediaUri(getWallpaperCid(post)),
}}
likes={post?.stats?.upvotes ?? 0}
Expand Down
1 change: 1 addition & 0 deletions src/components/poster/variants/poster-top-titles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const PosterTopTitles = ({ post }: { post: any }) => {
width: '100%',
height: '100%',
opacity: 0.2,
filter: "blur(5px) !important",
backgroundSize: 'cover',
backgroundPosition: 'center',
backgroundRepeat: 'no-repeat',
Expand Down
3 changes: 0 additions & 3 deletions src/layouts/_common/header-balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ export default function HeaderBalance() {
<Typography variant="subtitle2" sx={{ textAlign: 'left' }} noWrap>
{formatBalanceNumber(balance)}
</Typography>
<Typography variant="caption" color="text.secondary" sx={{ ml: 1, mt: 0.6, fontSize: 10 }}>
MMC
</Typography>
</Stack>
</Button>
);
Expand Down

0 comments on commit 7ec3315

Please sign in to comment.