mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
add shows header
This commit is contained in:
parent
0dcd32be7f
commit
4e855021bf
2 changed files with 7 additions and 1 deletions
|
@ -108,7 +108,7 @@ export function NextEpisodeButton(props: {
|
|||
if (metaType !== "show") return null;
|
||||
|
||||
// Use rounded numbers for auto-next!
|
||||
console.log(Math.round(time), Math.round(duration));
|
||||
console.log(`Episode duration: ${Math.round(time)}:${Math.round(duration)}`);
|
||||
|
||||
return (
|
||||
<Transition
|
||||
|
|
|
@ -4,6 +4,7 @@ import { useNavigate } from "react-router-dom";
|
|||
|
||||
import { ThinContainer } from "@/components/layout/ThinContainer";
|
||||
import { WideContainer } from "@/components/layout/WideContainer";
|
||||
import { Divider } from "@/components/utils/Divider";
|
||||
import { HomeLayout } from "@/pages/layouts/HomeLayout";
|
||||
import { conf } from "@/setup/config";
|
||||
import { useThemeStore } from "@/stores/theme";
|
||||
|
@ -473,6 +474,11 @@ export function Discover() {
|
|||
{renderMovies(genreMovies[genre.id] || [], genre.name)}
|
||||
</div>
|
||||
))}
|
||||
<div className="flex inline-block mt-6">
|
||||
<Divider marginClass="mr-5 my-5" />
|
||||
<h1 className="text-4xl font-bold text-white mx-auto">Shows</h1>
|
||||
<Divider marginClass="ml-5 my-5" />
|
||||
</div>
|
||||
{tvGenres.map((genre) => (
|
||||
<div
|
||||
key={genre.id}
|
||||
|
|
Loading…
Reference in a new issue