first version of a really buggy and ugly caption selector and renderer

This commit is contained in:
Jorrin
2024-02-16 21:25:29 +01:00
parent d9964f5a72
commit 52eab1e8e8
17 changed files with 370 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ export const Header = ({ data }: HeaderProps) => {
if (!isIdle) {
return (
<View className="flex h-16 w-full flex-row items-center justify-between px-6 pt-6">
<View className="flex h-16 w-full flex-row justify-between px-6 pt-6">
<Controls>
<BackButton className="w-36" />
</Controls>
@@ -31,7 +31,7 @@ export const Header = ({ data }: HeaderProps) => {
? `${data.title} (${data.year}) S${data.season.toString().padStart(2, "0")}E${data.episode.toString().padStart(2, "0")}`
: `${data.title} (${data.year})`}
</Text>
<View className="flex w-36 flex-row items-center justify-center gap-2 space-x-2 rounded-full bg-secondary-300 px-4 py-2 opacity-80">
<View className="flex h-12 w-36 flex-row items-center justify-center gap-2 space-x-2 rounded-full bg-secondary-300 px-4 py-2 opacity-80">
<Image source={Icon} className="h-6 w-6" />
<Text className="font-bold">movie-web</Text>
</View>