mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-29 07:58:42 +00:00
Add Featured Modal Removed Individual Carousels for each genre Recommended Carousel View More page for viewing all Improve several minor visuals Update search and navigation Full Commit Log: add more carousel skeleton dots bug fix and languages remove provider translations Add change button for recommended more content add buttons to moreContent page dropdown for changing recommended Increase genres and providers add home/search button to discover Update FeaturedCarousel.tsx fix recommended load more pages increase number of featured items clean up featured image fetch maybe fix ff bug? add dynamic blur to header Update Dropdown.tsx fix dropdown add recommended carousel animate dropdown fix some visuals random button fix padding reset timer when manually switching slides fix editor picks more titles add store for discover fix editor picks Update FeaturedCarousel.tsx add view more card move view more link update carousel buttons and dropdown finish 5 carousels use 5 carousels init carousel nav buttons update dropdown update featured sizing update blurs add clear blur to navigation update padding and sizing Update FeaturedCarousel.tsx add loading skeleton update discover navigation again simplify featured media Update SearchBar.tsx tweak some minor visual stuff fix button sizes update carousel gradient fix sticky fix safari overlay bug make search transparent use secondary buttons on featured fix up negative margins fix searching classes fix buttons because of the overlay make it shorter add featured section to home page add toggle for image logos fix details modal title overlay position clean up some buttons improve fed setup status check update grid Update FeaturedCarousel.tsx dont show more content for providers more stuff clean and bugfix update editor picks more content page Update DetailsModal.tsx more more more! shuffle editor picks discover update part 2 fix more info button init discover v3
21 lines
509 B
TypeScript
21 lines
509 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
interface WideContainerProps {
|
|
classNames?: string;
|
|
children?: ReactNode;
|
|
ultraWide?: boolean;
|
|
}
|
|
|
|
export function WideContainer(props: WideContainerProps) {
|
|
return (
|
|
<div
|
|
className={`mx-auto max-w-full px-8 ${
|
|
props.ultraWide
|
|
? "w-[1300px] xl:w-[18000px] 3xl:w-[2400px] 4xl:w-[2800px]"
|
|
: "w-[950px] xl:w-[1250px] 3xl:w-[1650px] 4xl:w-[1850px]"
|
|
} ${props.classNames || ""}`}
|
|
>
|
|
{props.children}
|
|
</div>
|
|
);
|
|
}
|