about summary refs log tree commit diff
path: root/src/screens/Signup.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-06-09 21:34:43 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-06-09 21:34:43 -0500
commit967f9fc474f2903dd2c12ef4f662ead1592ea26c (patch)
treeaf90380121af16ce2382d725fee3d50cd6332598 /src/screens/Signup.tsx
parent802222fe7181303d710607129e1c74427f07c97c (diff)
downloadvoidsky-967f9fc474f2903dd2c12ef4f662ead1592ea26c.tar.zst
Add desktop shell
Diffstat (limited to 'src/screens/Signup.tsx')
-rw-r--r--src/screens/Signup.tsx15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/screens/Signup.tsx b/src/screens/Signup.tsx
index bf7f8f2f8..bab7abc1c 100644
--- a/src/screens/Signup.tsx
+++ b/src/screens/Signup.tsx
@@ -1,14 +1,15 @@
 import React from 'react'
-import {Text, Button, View, SafeAreaView} from 'react-native'
-import type {RootStackScreenProps} from '../routes/types'
+import {Shell} from '../platform/shell'
+import {Text, Button, View} from 'react-native'
+import type {RootTabsScreenProps} from '../routes/types'
 import {useStores} from '../state'
 
-export function Signup({navigation}: RootStackScreenProps<'Signup'>) {
+export function Signup({navigation}: RootTabsScreenProps<'Signup'>) {
   const store = useStores()
   return (
-    <SafeAreaView style={{flex: 1}}>
-      <View style={{flex: 1}}>
-        <Text>Let's create your account</Text>
+    <Shell>
+      <View style={{justifyContent: 'center', alignItems: 'center'}}>
+        <Text style={{fontSize: 20, fontWeight: 'bold'}}>Create Account</Text>
         <Button
           title="Create new account"
           onPress={() => store.session.setAuthed(true)}
@@ -18,6 +19,6 @@ export function Signup({navigation}: RootStackScreenProps<'Signup'>) {
           onPress={() => navigation.navigate('Login')}
         />
       </View>
-    </SafeAreaView>
+    </Shell>
   )
 }