This commit is contained in:
Jorrin
2024-03-09 00:41:18 +01:00
parent 70f32abdf8
commit 887949ed8a
9 changed files with 157 additions and 162 deletions

View File

@@ -29,7 +29,7 @@ export const Header = () => {
)
: ""}
</Text>
<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">
<View className="bg-secondary-300 flex h-12 w-36 flex-row items-center justify-center gap-2 space-x-2 rounded-full px-4 py-2 opacity-80">
<Image source={Icon} className="h-6 w-6" />
<Text className="font-bold">movie-web</Text>
</View>

View File

@@ -13,7 +13,7 @@ const buttonVariants = cva(
variants: {
variant: {
default: "bg-primary-300",
outline: "border border-primary-400 bg-transparent",
outline: "border-primary-400 border bg-transparent",
secondary: "bg-secondary-300",
},
size: {

View File

@@ -28,7 +28,7 @@ export function SearchBar({
};
return (
<View className="mb-6 mt-4 flex-row items-center rounded-full border border-primary-400 bg-black focus-within:border-primary-300">
<View className="border-primary-400 focus-within:border-primary-300 mb-6 mt-4 flex-row items-center rounded-full border bg-black">
<View className="ml-1 w-12 items-center justify-center">
<FontAwesome5
name="search"