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
e354a236
Commit
e354a236
authored
Apr 25, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HomePageWithPaymentOptions containing the top part + balance viewer
parent
1d6d8fee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
2 deletions
+37
-2
App.tsx
App.tsx
+2
-2
HomePageWithPaymentOptions.tsx
src/screens/HomePageWithPaymentOptions.tsx
+35
-0
No files found.
App.tsx
View file @
e354a236
import
theme
from
"@/themes/Theme"
;
import
theme
from
"@/themes/Theme"
;
import
UserLoginScreen
from
"@screens/UserLoginScreen
"
;
import
HomePageWithPaymentOptions
from
"@screens/HomePageWithPaymentOptions
"
;
import
{
ThemeProvider
}
from
"@shopify/restyle"
;
import
{
ThemeProvider
}
from
"@shopify/restyle"
;
import
{
StatusBar
}
from
"expo-status-bar"
;
import
{
StatusBar
}
from
"expo-status-bar"
;
import
{
StyleSheet
}
from
"react-native"
;
import
{
StyleSheet
}
from
"react-native"
;
...
@@ -11,7 +11,7 @@ export default function App() {
...
@@ -11,7 +11,7 @@ export default function App() {
{
/* <View style={styles.container}> */
}
{
/* <View style={styles.container}> */
}
<
SafeAreaProvider
>
<
SafeAreaProvider
>
<
StatusBar
style=
"auto"
/>
<
StatusBar
style=
"auto"
/>
<
UserLoginScreen
/>
<
HomePageWithPaymentOptions
/>
</
SafeAreaProvider
>
</
SafeAreaProvider
>
{
/* </View> */
}
{
/* </View> */
}
</
ThemeProvider
>
</
ThemeProvider
>
...
...
src/screens/HomePageWithPaymentOptions.tsx
0 → 100644
View file @
e354a236
import
BalanceContainer
from
"@components/BalanceContainer"
;
import
BeasyLogoIcon
from
"@components/BeasyLogoIcon"
;
import
NotificationIconButton
from
"@components/NotificationIconButton"
;
import
BackgroundGreenWhiteContentArea
from
"@components/backgrounds/BackgroundGreenWhiteContentArea"
;
import
Box
from
"@components/bases/Box"
;
import
{
SafeAreaView
}
from
"react-native-safe-area-context"
;
const
HomePageWithPaymentOptions
=
()
=>
{
return
(
<
BackgroundGreenWhiteContentArea
>
<
SafeAreaView
>
<
Box
p=
{
"l"
}
flexDirection=
{
"row"
}
justifyContent=
{
"space-between"
}
alignItems=
{
"center"
}
>
{
/* <Text>HomePageWithPaymentOptions</Text> */
}
<
BeasyLogoIcon
/>
<
NotificationIconButton
/>
</
Box
>
<
Box
height=
{
150
}
alignItems=
{
"center"
}
justifyContent=
{
"center"
}
position=
{
"relative"
}
>
<
BalanceContainer
balance=
{
78000
}
label=
"Total des ventes"
/>
</
Box
>
</
SafeAreaView
>
</
BackgroundGreenWhiteContentArea
>
);
};
export
default
HomePageWithPaymentOptions
;
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