Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
G
beasy-mobile
Commits
0663e767
Commit
0663e767
authored
Apr 24, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
screen making, the page you see when you're not logged in
parent
ce2b6b65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
5 deletions
+48
-5
App.tsx
App.tsx
+5
-5
HomeUserNotLoggedIn.tsx
src/screens/HomeUserNotLoggedIn.tsx
+43
-0
No files found.
App.tsx
View file @
0663e767
import
theme
from
"@/themes/Theme"
;
import
theme
from
"@/themes/Theme"
;
import
Card
from
"@components/Card"
;
import
Card
from
"@components/Card"
;
import
Text
from
"@components/bases/Text"
;
import
Text
from
"@components/bases/Text"
;
import
HomeUserNotLoggedIn
from
"@screens/HomeUserNotLoggedIn"
;
import
{
ThemeProvider
}
from
"@shopify/restyle"
;
import
{
ThemeProvider
}
from
"@shopify/restyle"
;
import
{
StatusBar
}
from
"expo-status-bar"
;
import
{
StatusBar
}
from
"expo-status-bar"
;
import
{
StyleSheet
,
View
}
from
"react-native"
;
import
{
StyleSheet
,
View
}
from
"react-native"
;
...
@@ -8,11 +9,10 @@ import { StyleSheet, View } from "react-native";
...
@@ -8,11 +9,10 @@ import { StyleSheet, View } from "react-native";
export
default
function
App
()
{
export
default
function
App
()
{
return
(
return
(
<
ThemeProvider
theme=
{
theme
}
>
<
ThemeProvider
theme=
{
theme
}
>
<
View
style=
{
styles
.
container
}
>
{
/* <View style={styles.container}> */
}
<
StatusBar
style=
"auto"
/>
<
StatusBar
style=
"auto"
/>
<
Text
color=
"tertiary"
>
Restyle Text
</
Text
>
<
HomeUserNotLoggedIn
/>
<
Card
variant=
{
"elevated"
}
width=
{
200
}
height=
{
200
}
/>
{
/* </View> */
}
</
View
>
</
ThemeProvider
>
</
ThemeProvider
>
);
);
}
}
...
...
src/screens/HomeUserNotLoggedIn.tsx
0 → 100644
View file @
0663e767
import
Button
from
"@components/Button"
;
import
Card
from
"@components/Card"
;
import
Box
from
"@components/bases/Box"
;
import
Text
from
"@components/bases/Text"
;
import
{
Dimensions
,
StyleSheet
,
View
}
from
"react-native"
;
const
HomeUserNotLoggedIn
=
()
=>
{
return
(
<
Box
style=
{
style
.
container
}
p=
{
"xl"
}
>
<
Box
mt=
{
"xl"
}
>
<
Text
color=
{
"gray"
}
fontSize=
{
16
}
textAlign=
{
"center"
}
>
Acceptez des paiements en magasin et en ligne et recevez votre argent en
quelques secondes
</
Text
>
<
Box
mt=
{
"xl"
}
>
<
Button
variant=
{
"full"
}
textVariants=
{
"primary"
}
label=
"Se connecter"
onPress=
{
()
=>
{}
}
/>
<
Button
variant=
{
"clean"
}
textVariants=
{
"secondary"
}
label=
"Creer un compte"
onPress=
{
()
=>
{}
}
/>
</
Box
>
</
Box
>
</
Box
>
);
};
const
style
=
StyleSheet
.
create
({
container
:
{
width
:
"100%"
,
height
:
"100%"
,
flex
:
1
,
alignItems
:
"center"
,
justifyContent
:
"center"
,
},
});
export
default
HomeUserNotLoggedIn
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment