diff --git a/components/pages/(tablet_pages)/tablet_components/UsersList.tsx b/components/pages/(tablet_pages)/tablet_components/UsersList.tsx
index 706e0d5..22a9b67 100644
--- a/components/pages/(tablet_pages)/tablet_components/UsersList.tsx
+++ b/components/pages/(tablet_pages)/tablet_components/UsersList.tsx
@@ -44,10 +44,6 @@ const UsersList = () => {
return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
};
- useEffect(() => {
- console.log(selectedUser);
- }, [selectedUser]);
-
return (
{sortedMembers?.map((member, index) => (
diff --git a/components/pages/calendar/MonthCalendar.tsx b/components/pages/calendar/MonthCalendar.tsx
index 12a8182..6bbb21d 100644
--- a/components/pages/calendar/MonthCalendar.tsx
+++ b/components/pages/calendar/MonthCalendar.tsx
@@ -19,7 +19,7 @@ import {Text} from "react-native-ui-lib";
import {addDays, compareAsc, format, isWithinInterval, subDays} from "date-fns";
import {useCalSync} from "@/hooks/useCalSync";
import {useSyncEvents} from "@/hooks/useSyncOnScroll";
-import {colorMap} from "@/constants/colorMap";
+import {colorMap, getEventTextColor} from "@/constants/colorMap";
import {useGetFamilyMembers} from "@/hooks/firebase/useGetFamilyMembers";
import CachedImage from "expo-cached-image";
import { DeviceType } from "expo-device";
@@ -111,7 +111,7 @@ export const MonthCalendar: React.FC = React.memo(
eventColor = profileData?.eventColor ?? colorMap.teal;
}
- return {backgroundColor: eventColor, fontSize: 14}
+ return {backgroundColor: eventColor, fontSize: 14, color: getEventTextColor(event?.eventColor)}
},
[]
);
diff --git a/components/pages/main/ResetPasswordPage.tsx b/components/pages/main/ResetPasswordPage.tsx
index ef3f1b2..604ec79 100644
--- a/components/pages/main/ResetPasswordPage.tsx
+++ b/components/pages/main/ResetPasswordPage.tsx
@@ -1,49 +1,78 @@
-import {Button, Text, TextField, View} from "react-native-ui-lib";
-import React, {useState} from "react";
-import {StyleSheet} from "react-native";
-import {useResetPassword} from "@/hooks/firebase/useResetPassword";
+import { Button, ButtonSize, Text, TextField, View } from "react-native-ui-lib";
+import React, { useState } from "react";
+import { StyleSheet } from "react-native";
+import { useResetPassword } from "@/hooks/firebase/useResetPassword";
+import { router } from "expo-router";
export const ResetPasswordPage = () => {
- const [email, setEmail] = useState("");
+ const [email, setEmail] = useState("");
- const {mutateAsync: resetPassword, error, isError, isLoading} = useResetPassword();
+ const {
+ mutateAsync: resetPassword,
+ error,
+ isError,
+ isLoading,
+ } = useResetPassword();
- const handleResetPassword = async () => {
- await resetPassword({email});
- alert("Password reset, please check your email")
- };
+ const handleResetPassword = async () => {
+ await resetPassword({ email });
+ alert("Password reset, please check your email");
+ };
- return (
-
-
- Please enter your email and reset your password
-
+ return (
+
+
+ Please enter your email and reset your password
+
-
-
+
+
+
+
- {isError && {`${error}`}}
-
- );
+ {isError && {`${error}`}}
+
+ );
};
const styles = StyleSheet.create({
- textfield: {
- backgroundColor: "white",
- marginVertical: 10,
- padding: 30,
- height: 45,
- borderRadius: 50,
- },
+ textfield: {
+ backgroundColor: "white",
+ marginVertical: 10,
+ padding: 30,
+ height: 45,
+ borderRadius: 50,
+ },
+ jakartaMedium: {
+ fontFamily: "PlusJakartaSans_500Medium",
+ fontSize: 16,
+ color: "#919191",
+ textDecorationLine: "underline",
+ },
});
diff --git a/components/pages/main/SignInPage.tsx b/components/pages/main/SignInPage.tsx
index 0aff600..824030b 100644
--- a/components/pages/main/SignInPage.tsx
+++ b/components/pages/main/SignInPage.tsx
@@ -106,7 +106,7 @@ const SignInPage = () => {
style={{
flex: 1,
padding: 21,
- paddingBottom: 45,
+ paddingBottom: 30,
paddingTop: isLoading ? "20%" : getTopPadding(),
width: isLoading ? "100%" : isTablet ? 629 : undefined,
}}
@@ -205,6 +205,23 @@ const SignInPage = () => {
color="#fd1775"
/>
+
+
{/**/}
{/* Forgot your password?*/}
diff --git a/components/pages/settings/SettingsPage.tsx b/components/pages/settings/SettingsPage.tsx
index 234265b..83d0ae9 100644
--- a/components/pages/settings/SettingsPage.tsx
+++ b/components/pages/settings/SettingsPage.tsx
@@ -43,7 +43,7 @@ const SettingsPage = () => {
{pageIndex == 0 && (