Skip to content

Commit 1413ad0

Browse files
committed
Add device icons
1 parent 100d342 commit 1413ad0

30 files changed

+362
-143
lines changed

App.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ const NO_ANIMATION: StackNavigationOptions = {
7878
cardStyleInterpolator: CardStyleInterpolators.forNoAnimation,
7979
}
8080

81+
const SMOOTH_ANIMATION: StackNavigationOptions = {
82+
cardStyleInterpolator: CardStyleInterpolators.forFadeFromCenter,
83+
gestureEnabled: true,
84+
gestureDirection: 'horizontal',
85+
gestureResponseDistance: height,
86+
}
87+
8188
export type RootStackParamList = {
8289
Home: undefined
8390
Location: undefined
@@ -158,7 +165,7 @@ function Navigation() {
158165
}}
159166
>
160167
<Stack.Screen name='Splash' component={Splash} options={NO_ANIMATION} />
161-
<Stack.Screen name='Login' component={Login} options={GestureEnabled} />
168+
<Stack.Screen name='Login' component={Login} options={SMOOTH_ANIMATION} />
162169
<Stack.Screen name='Signup' component={Signup} options={GestureEnabled} />
163170
<Stack.Screen name='Verify' component={Verify} options={GestureEnabled} />
164171
<Stack.Screen name='Home' component={Home} options={NO_ANIMATION} />

bun.lockb

425 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"nativewind": "^2.0.11",
3434
"react": "18.3.1",
3535
"react-native": "0.75.4",
36+
"react-native-device-info": "^14.0.0",
3637
"react-native-geolocation-service": "^5.3.1",
3738
"react-native-gesture-handler": "^2.18.1",
3839
"react-native-linear-gradient": "^2.8.3",

src/assets/icons/extra/edge.svg

Lines changed: 2 additions & 0 deletions
Loading

src/assets/icons/extra/firefox.svg

Lines changed: 2 additions & 0 deletions
Loading

src/assets/icons/extra/linux.svg

Lines changed: 6 additions & 0 deletions
Loading

src/assets/icons/extra/opera.svg

Lines changed: 1 addition & 0 deletions
Loading

src/assets/icons/extra/safari.svg

Lines changed: 2 additions & 0 deletions
Loading

src/assets/icons/icons.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,7 @@ export { default as MailSend02SolidIcon } from '@icons/mail-send-02-solid-rounde
124124
export { default as Login03SolidIcon } from '@icons/login-03-solid-rounded.svg'
125125
export { default as Cancel01SolidIcon } from '@icons/cancel-01-solid-rounded.svg'
126126
export { default as Tick01SolidIcon } from '@icons/tick-01-solid-rounded.svg'
127+
128+
export { default as WindowsOldSolidIcon } from '@icons/windows-old-solid-rounded.svg'
129+
export { default as AppleSolidIcon } from '@icons/apple-solid-rounded.svg'
130+
export { default as ChromeSolidIcon } from '@icons/chrome-solid-rounded.svg'
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)