diff --git a/README.md b/README.md index 78cbb30d..1167c00a 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ To run this project locally for contributing or testing, run the following comma git clone https://github.com/movie-web/movie-web cd movie-web yarn install -yarn start +yarn dev ``` To build production files, simply run `yarn build`. @@ -78,4 +78,4 @@ This project would not be possible without our amazing contributors and the comm
{props.icon ? (
diff --git a/src/components/media/MediaCard.tsx b/src/components/media/MediaCard.tsx
index f4305eca..ca7ad96f 100644
--- a/src/components/media/MediaCard.tsx
+++ b/src/components/media/MediaCard.tsx
@@ -45,14 +45,27 @@ function MediaCardContent({
}`}
>
+
{t("seasons.seasonAndEpisode", {
season: series.season,
episode: series.episode,
@@ -125,5 +138,9 @@ export function MediaCard(props: MediaCardProps) {
)}`;
if (!props.linkable) return {content};
- return {content};
+ return (
+
+ {content}
+
+ );
}
diff --git a/src/hooks/useIsMobile.ts b/src/hooks/useIsMobile.ts
index a336afdb..a2df937f 100644
--- a/src/hooks/useIsMobile.ts
+++ b/src/hooks/useIsMobile.ts
@@ -1,12 +1,14 @@
import { useEffect, useRef, useState } from "react";
-export function useIsMobile() {
+export function useIsMobile(horizontal?: boolean) {
const [isMobile, setIsMobile] = useState(false);
const isMobileCurrent = useRef
+
{props.onClick ? (
+ {props.text ? {props.text} : null}
+