Skip to content

Commit

Permalink
last few style stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jonafejzaj committed Dec 5, 2024
1 parent fc156b0 commit be143ef
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 545 deletions.
9 changes: 1 addition & 8 deletions frontend/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ import { BottomNavigator } from "@/navigation/BottomNavigator";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import LoginScreen from "@/screens/LoginScreen";
import { AuthProvider, useAuth } from "@/context/AuthContext";
import CrowdAndFrequencyPreference from "./components/OnboardingCards/CrowdAndFrequencyPreference";
import SplashScreen from "./components/OnboardingCards/SplashScreen";
import AddPhoto from "./components/OnboardingCards/AddPhoto";
import MusicPreferences from "./components/OnboardingCards/MusicPreference";
import PersonalityScreenReveal2 from "./components/OnboardingCards/PersonalityScreenReveal2";
import HowFarFromYou from "./components/OnboardingCards/HowFarFromYou";
import React = require("react");
import React from 'react';
import { FormDataProvider } from "./components/OnboardingCards/FormDataContext";
import WhoAreYouWith from "./components/OnboardingCards/WhoDoYouGoOutWIth";
import NightlifePreference from "./components/OnboardingCards/NightlifePreference";
Expand All @@ -24,7 +18,6 @@ import UserFormP3 from "./components/OnboardingCards/UserFormsP3";
import InsideOutside from "./components/OnboardingCards/InsideOutside";
import RankingNightlifeImportance from "./components/OnboardingCards/RankingNightlifeImportance";
import Notifications from "./components/OnboardingCards/Notifications";
//import Character from "./components/OnboardingCards/Character";
import ILiveIn from "./components/OnboardingCards/UserFormsP4";

import {
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type RootStackParamList = {

const LoginForm = () => {
const navigation = useNavigation<NavigationProp<RootStackParamList>>();
const { formData, updateFormData } = useFormData();
const { updateFormData } = useFormData();
const [email, setEmail] = useState<string>("");
const [password, setPassword] = useState<string>("");
const [errors, setErrors] = useState<ValidationErrors>({});
Expand Down
58 changes: 0 additions & 58 deletions frontend/components/OnboardingCards/AddPhoto.tsx

This file was deleted.

111 changes: 0 additions & 111 deletions frontend/components/OnboardingCards/CrowdAndFrequencyPreference.tsx

This file was deleted.

94 changes: 0 additions & 94 deletions frontend/components/OnboardingCards/HowFarFromYou.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions frontend/components/OnboardingCards/InsideOutside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const options = ["Inside", "Outside", "Both"];
const InsideOutside = () => {
const navigation = useNavigation<NavigationProp<RootStackParamList>>();
const [selectedOption, setSelectedOption] = useState<string | "">("");
const [progress, setProgress] = useState(0.1);
const [progress, setProgress] = useState(0.4);
const { formData, updateFormData } = useFormData();

const toggleSelection = (option: string) => {
Expand Down Expand Up @@ -50,7 +50,7 @@ const InsideOutside = () => {
<View style={onboardingStyles.mainContent}>
<ProgressBar progress={progress} />
<Text style={onboardingStyles.title}>
It’s Friday night!{"\n"}Where are we going?
Do you like dancing{"\n"}under the stars or {"\n"}keeping the party{"\n"}indoors?
</Text>
<View>
{options.map((option) => (
Expand Down
Loading

0 comments on commit be143ef

Please sign in to comment.