frontend client for gemstone. decentralised workplace app

feat: stubs for other screens

serenity 33fa8dfd 4fefd422

Changed files
+38
src
+5
src/app/(protected)/logout.tsx
···
···
+
const LogoutRoute = () => {
+
return <></>;
+
};
+
+
export default LogoutRoute;
+5
src/app/(protected)/preferences.tsx
···
···
+
const PreferencesRoute = () => {
+
return <></>;
+
};
+
+
export default PreferencesRoute;
+5
src/app/(protected)/profile.tsx
···
···
+
const ProfileRoute = () => {
+
return <></>;
+
};
+
+
export default ProfileRoute;
+23
src/app/(protected)/settings.tsx
···
···
+
import { Loading } from "@/components/primitives/Loading";
+
import { Settings } from "@/components/Settings";
+
import { useSessions } from "@/providers/authed/SessionsProvider";
+
import { View } from "react-native";
+
+
const SettingsRoute = () => {
+
const { isInitialising } = useSessions();
+
+
const isAppReady = !isInitialising;
+
return (
+
<View
+
style={{
+
flex: 1,
+
justifyContent: "center",
+
alignItems: "stretch",
+
}}
+
>
+
{isAppReady ? <Settings /> : <Loading />}
+
</View>
+
);
+
};
+
+
export default SettingsRoute;