created sign up page ui

This commit is contained in:
Sanidhya Kumar Verma
2024-08-29 15:37:44 +00:00
committed by GitHub
parent 77030fd4c2
commit de8ca40dcf
5 changed files with 153 additions and 12 deletions
+4 -2
View File
@@ -1,11 +1,12 @@
import { CustomButton } from "@/components/custom-button";
import { onboarding } from "@/constants";
import { router } from "expo-router";
import { useRef, useState } from "react";
import { Image, Text, TouchableOpacity, View } from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
import Swiper from "react-native-swiper";
import { CustomButton } from "@/components/custom-button";
import { onboarding } from "@/constants";
const Welcome = () => {
const swiperRef = useRef<Swiper>(null);
const [activeIndex, setActiveIndex] = useState(0);
@@ -32,6 +33,7 @@ const Welcome = () => {
<View key={item.id} className="flex items-center justify-center p-5">
<Image
source={item.image}
alt={`Onboarding Item ${item.id}`}
className="w-full h-[300px]"
resizeMode="contain"
/>