feat: finish exercise header
This commit is contained in:
parent
b6757bd824
commit
e874874a4c
1 changed files with 16 additions and 1 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
import { Center, Icon, Text, VStack } from '@gluestack-ui/themed';
|
import { Center, Heading, HStack, Icon, Text, VStack } from '@gluestack-ui/themed';
|
||||||
import { useNavigation } from '@react-navigation/native';
|
import { useNavigation } from '@react-navigation/native';
|
||||||
import { ArrowLeft } from 'lucide-react-native';
|
import { ArrowLeft } from 'lucide-react-native';
|
||||||
import { TouchableOpacity } from 'react-native';
|
import { TouchableOpacity } from 'react-native';
|
||||||
|
|
||||||
|
import BodySvg from '@assets/body.svg';
|
||||||
|
|
||||||
export function Exercise() {
|
export function Exercise() {
|
||||||
const navigation = useNavigation();
|
const navigation = useNavigation();
|
||||||
|
|
||||||
|
|
@ -16,6 +18,19 @@ export function Exercise() {
|
||||||
<TouchableOpacity onPress={handleGoBack}>
|
<TouchableOpacity onPress={handleGoBack}>
|
||||||
<Icon as={ArrowLeft} color="$green500" size="xl" />
|
<Icon as={ArrowLeft} color="$green500" size="xl" />
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|
||||||
|
<HStack alignItems="center" justifyContent="space-between" mt="$4" mb="$8">
|
||||||
|
<Heading color="$gray100" fontSize="$lg" flexShrink={1}>
|
||||||
|
Puxada frontal
|
||||||
|
</Heading>
|
||||||
|
|
||||||
|
<HStack alignItems="center">
|
||||||
|
<BodySvg />
|
||||||
|
<Text color="$gray200" ml="$1" textTransform="capitalize">
|
||||||
|
Costas
|
||||||
|
</Text>
|
||||||
|
</HStack>
|
||||||
|
</HStack>
|
||||||
</VStack>
|
</VStack>
|
||||||
</VStack>
|
</VStack>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue