Skip to content

Commit 86a332a

Browse files
feat: Add onboarding screen.
feat: Add onboarding screen.
2 parents 38995fb + 2017f8f commit 86a332a

30 files changed

Lines changed: 471 additions & 31 deletions

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
android:theme="@style/LaunchTheme"
1010
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1111
android:hardwareAccelerated="true"
12+
android:exported="true"
1213
android:windowSoftInputMode="adjustResize">
1314
<!-- Specifies an Android theme to apply to this Activity as soon as
1415
the Android process has started. This theme is visible to the user

assets/app/icons/arrow-forward.svg

Lines changed: 3 additions & 0 deletions
Loading
6.09 KB
Loading
7.69 KB
Loading
40.2 KB
Loading

assets/app/images/circle2.svg

Lines changed: 3 additions & 0 deletions
Loading

lib/data/constants/assets.dart

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
class AppAssets {
2+
// Roots
23
static const String _iconsRoot = 'assets/app/icons';
4+
static const String _imagesRoot = 'assets/app/images';
5+
static const String _illustrationsRoot = 'assets/app/illustrations';
36

7+
// Icons
8+
static const String arrowForward = '$_iconsRoot/arrow-forward.svg';
49
static const String eyeOn = '$_iconsRoot/eye-on.svg';
510
static const String eyeOff = '$_iconsRoot/eye-off.svg';
611
static const String lock = '$_iconsRoot/lock.svg';
712
static const String person = '$_iconsRoot/person.svg';
813

9-
static const String _imagesRoot = 'assets/app/images';
14+
// Images
15+
static const String circle1 = '$_imagesRoot/circle1.svg';
16+
static const String circle2 = '$_imagesRoot/circle2.svg';
17+
static const String triangle = '$_imagesRoot/triangle.svg';
1018

11-
static const String circle = '$_imagesRoot/circle.svg',
12-
triangle = '$_imagesRoot/triangle.svg';
19+
// Illustrations
20+
static const String contestCardIllustration =
21+
'$_illustrationsRoot/contest_card.png';
22+
static const String feedCardIllustration =
23+
'$_illustrationsRoot/feed_card.png';
24+
static const String profileIllustration = '$_illustrationsRoot/profile.png';
1325
}

lib/data/constants/colors.dart

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import 'package:flutter/material.dart';
22

33
class AppColors {
4-
static const white = Colors.white,
5-
grey1 = Color(0xFF979797),
6-
grey2 = Color(0xFFC5CEE0),
7-
grey3 = Color(0xFF242424),
8-
transparent = Colors.transparent;
4+
static const Color white = Colors.white;
5+
static const Color grey1 = Color(0xFF979797);
6+
static const Color grey2 = Color(0xFFC5CEE0);
7+
static const Color grey3 = Color(0xFF242424);
8+
static const Color grey4 = Color(0xFF2C363F);
9+
static const Color grey5 = Color(0x3D000000);
10+
static const Color transparent = Colors.transparent;
911

10-
static const primary = Color(0xFF3366FF);
12+
static const Color primary = Color(0xFF3366FF);
13+
static const Color primaryAccent = Color(0x0D3366FF);
1114
}

lib/data/constants/routes.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
/// Constant strings representing the names of the routes for easy refactoring.
22
class AppRoutes {
3+
// Splash
34
static const String splash = '/';
5+
6+
// Pre-Auth
47
static const String login = '/login';
5-
static const String home = '/home';
68
static const String signUp = '/signup';
9+
static const String onboarding = '/onboarding';
10+
11+
// Post-Auth
12+
static const String home = '/home';
713
}

0 commit comments

Comments
 (0)