1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-30 16:17:41 +01:00

Center the 'Shows' heading

This commit is contained in:
Cooper Ransom 2024-04-08 22:13:15 -04:00
parent bc766b35cb
commit 0ac3c588dd

View file

@ -269,7 +269,7 @@ export function Discover() {
onMouseLeave={handleMouseLeave} onMouseLeave={handleMouseLeave}
onWheel={(e) => handleWheel(e, categorySlug)} onWheel={(e) => handleWheel(e, categorySlug)}
> >
{medias.slice(0, 25).map((media) => ( {medias.slice(0, 20).map((media) => (
<a <a
key={media.id} key={media.id}
onClick={ onClick={
@ -500,10 +500,10 @@ export function Discover() {
{renderMovies(genreMovies[genre.id] || [], genre.name)} {renderMovies(genreMovies[genre.id] || [], genre.name)}
</div> </div>
))} ))}
<div className="flex inline-block mt-6"> <div className="flex items-center mt-6">
<Divider marginClass="mr-5 my-5" /> <Divider marginClass="mr-5" />
<h1 className="text-4xl font-bold text-white mx-auto">Shows</h1> <h1 className="text-4xl font-bold text-white mx-auto">Shows</h1>
<Divider marginClass="ml-5 my-5" /> <Divider marginClass="ml-5" />
</div> </div>
{tvCategories.map((category) => ( {tvCategories.map((category) => (
<div <div