mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:33:26 +00:00
add header and background design
This commit is contained in:
28
apps/expo/src/components/BrandPill.tsx
Normal file
28
apps/expo/src/components/BrandPill.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { Image, Text, View } from "tamagui";
|
||||
|
||||
import Icon from "../../assets/images/icon-transparent.png";
|
||||
|
||||
export function BrandPill() {
|
||||
return (
|
||||
<View
|
||||
flexDirection="row"
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
paddingHorizontal="$2.5"
|
||||
paddingVertical="$2"
|
||||
gap={2}
|
||||
opacity={0.8}
|
||||
backgroundColor="$pillBackground"
|
||||
borderRadius={24}
|
||||
pressStyle={{
|
||||
opacity: 1,
|
||||
scale: 1.05,
|
||||
}}
|
||||
>
|
||||
<Image source={Icon} height={20} width={20} />
|
||||
<Text fontSize="$4" fontWeight="$bold" paddingRight={5}>
|
||||
movie-web
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user