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
168ea949
Commit
168ea949
authored
Sep 05, 2025
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: remade the user not logged in screen
parent
b15b75e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
51 deletions
+24
-51
HomeUserNotLoggedIn.tsx
src/screens/HomeUserNotLoggedIn.tsx
+24
-51
No files found.
src/screens/HomeUserNotLoggedIn.tsx
View file @
168ea949
import
{
asp
as
g
}
from
"@asp/asp"
;
import
*
as
Button
from
"@components/ButtonNew"
;
import
{
Image
}
from
"expo-image"
;
import
{
Text
,
View
}
from
"react-native"
;
import
type
{
MainStackScreenComponentProps
}
from
"@/navigations/Types"
;
import
Button
from
"@components/Button"
;
import
Box
from
"@components/bases/Box"
;
import
Text
from
"@components/bases/Text"
;
import
{
Image
,
StyleSheet
}
from
"react-native"
;
const
HomeUserNotLoggedIn
:
MainStackScreenComponentProps
<
"homeUserNotLoggedIn"
>
=
({
navigation
,
})
=>
{
return
(
<>
<
Box
style=
{
style
.
container
}
p=
{
"xl"
}
backgroundColor=
{
"white"
}
>
<
Box
mt=
{
"s"
}
>
<
Box
height=
{
300
}
width=
{
300
}
backgroundColor=
{
"primary"
}
mb=
{
"l"
}
alignItems=
{
"center"
}
justifyContent=
{
"center"
}
>
<
View
style=
{
[
g
.
flex_1
,
g
.
p_5xl
,
g
.
gap_lg
]
}
>
<
View
style=
{
[{
height
:
400
}]
}
>
<
Image
source=
{
require
(
"../../assets/payment_processing.png"
)
}
style=
{
style
.
image
}
source=
{
require
(
"@assets/payment_processing.png"
)
}
style=
{
{
width
:
"100%"
,
height
:
"100%"
}
}
contentFit=
"contain"
cachePolicy=
{
"memory-disk"
}
/>
</
Box
>
<
Text
color=
{
"gray"
}
fontSize=
{
16
}
textAlign=
{
"center"
}
>
Acceptez des paiements en magasin et en ligne et recevez votre argent en
quelques
secondes
</
View
>
<
Text
style=
{
[
g
.
text_center
,
{
color
:
"gray"
}]
}
>
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"
<
Button
.
Container
onPress=
{
()
=>
navigation
.
navigate
(
"userLoginScreen"
)
}
/>
<
Button
variant=
{
"clean"
}
textVariants=
{
"secondary"
}
label=
"Creer un compte"
onPress=
{
()
=>
{}
}
/>
</
Box
>
</
Box
>
</
Box
>
</>
style=
{
[
g
.
mt_5xl
]
}
>
<
Button
.
Label
style=
{
{
color
:
"white"
}
}
>
Se connecter
</
Button
.
Label
>
</
Button
.
Container
>
<
Button
.
Container
style=
{
[{
backgroundColor
:
"transparent"
}]
}
>
<
Button
.
Label
style=
{
{
color
:
"green"
}
}
>
Créer un compte
</
Button
.
Label
>
</
Button
.
Container
>
</
View
>
);
};
const
style
=
StyleSheet
.
create
({
container
:
{
width
:
"100%"
,
height
:
"100%"
,
flex
:
1
,
alignItems
:
"center"
,
justifyContent
:
"center"
,
},
image
:
{
width
:
"100%"
,
height
:
"100%"
,
},
});
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