├── .editorconfig
├── .gitignore
├── README.md
├── config.xml
├── ionic.config.json
├── package.json
├── resources
├── android
│ ├── icon
│ │ ├── drawable-hdpi-icon.png
│ │ ├── drawable-ldpi-icon.png
│ │ ├── drawable-mdpi-icon.png
│ │ ├── drawable-xhdpi-icon.png
│ │ ├── drawable-xxhdpi-icon.png
│ │ └── drawable-xxxhdpi-icon.png
│ └── splash
│ │ ├── drawable-land-hdpi-screen.png
│ │ ├── drawable-land-ldpi-screen.png
│ │ ├── drawable-land-mdpi-screen.png
│ │ ├── drawable-land-xhdpi-screen.png
│ │ ├── drawable-land-xxhdpi-screen.png
│ │ ├── drawable-land-xxxhdpi-screen.png
│ │ ├── drawable-port-hdpi-screen.png
│ │ ├── drawable-port-ldpi-screen.png
│ │ ├── drawable-port-mdpi-screen.png
│ │ ├── drawable-port-xhdpi-screen.png
│ │ ├── drawable-port-xxhdpi-screen.png
│ │ └── drawable-port-xxxhdpi-screen.png
├── icon.png
├── ios
│ ├── icon
│ │ ├── icon-40.png
│ │ ├── icon-40@2x.png
│ │ ├── icon-40@3x.png
│ │ ├── icon-50.png
│ │ ├── icon-50@2x.png
│ │ ├── icon-60.png
│ │ ├── icon-60@2x.png
│ │ ├── icon-60@3x.png
│ │ ├── icon-72.png
│ │ ├── icon-72@2x.png
│ │ ├── icon-76.png
│ │ ├── icon-76@2x.png
│ │ ├── icon-83.5@2x.png
│ │ ├── icon-small.png
│ │ ├── icon-small@2x.png
│ │ ├── icon-small@3x.png
│ │ ├── icon.png
│ │ └── icon@2x.png
│ └── splash
│ │ ├── Default-568h@2x~iphone.png
│ │ ├── Default-667h.png
│ │ ├── Default-736h.png
│ │ ├── Default-Landscape-736h.png
│ │ ├── Default-Landscape@2x~ipad.png
│ │ ├── Default-Landscape@~ipadpro.png
│ │ ├── Default-Landscape~ipad.png
│ │ ├── Default-Portrait@2x~ipad.png
│ │ ├── Default-Portrait@~ipadpro.png
│ │ ├── Default-Portrait~ipad.png
│ │ ├── Default@2x~iphone.png
│ │ └── Default~iphone.png
└── splash.png
├── src
├── app
│ ├── app.component.ts
│ ├── app.html
│ ├── app.module.ts
│ ├── app.scss
│ └── main.ts
├── assets
│ ├── icon
│ │ └── favicon.ico
│ └── img
│ │ └── whitebg.svg
├── index.html
├── manifest.json
├── pages
│ ├── home
│ │ ├── home.html
│ │ ├── home.scss
│ │ └── home.ts
│ └── main
│ │ ├── main.html
│ │ ├── main.module.ts
│ │ ├── main.scss
│ │ └── main.ts
├── service-worker.js
└── theme
│ └── variables.scss
├── tsconfig.json
└── tslint.json
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
2 | # editorconfig.org
3 |
4 | root = true
5 |
6 | [*]
7 | indent_style = space
8 | indent_size = 2
9 |
10 | # We recommend you to keep these unchanged
11 | end_of_line = lf
12 | charset = utf-8
13 | trim_trailing_whitespace = true
14 | insert_final_newline = true
15 |
16 | [*.md]
17 | trim_trailing_whitespace = false
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Specifies intentionally untracked files to ignore when using Git
2 | # http://git-scm.com/docs/gitignore
3 |
4 | *~
5 | *.sw[mnpcod]
6 | *.log
7 | *.tmp
8 | *.tmp.*
9 | log.txt
10 | *.sublime-project
11 | *.sublime-workspace
12 | .vscode/
13 | npm-debug.log*
14 |
15 | .idea/
16 | .sass-cache/
17 | .tmp/
18 | .versions/
19 | coverage/
20 | dist/
21 | node_modules/
22 | tmp/
23 | temp/
24 | hooks/
25 | platforms/
26 | plugins/
27 | plugins/android.json
28 | plugins/ios.json
29 | www/
30 | $RECYCLE.BIN/
31 |
32 | .DS_Store
33 | Thumbs.db
34 | UserInterfaceState.xcuserstate
35 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | This is the project from the [Ionic 3 Onboarding Tutorial](https://coursetro.com/posts/code/76/Create-an-Animated-App-Onboarding-Process-with-Ionic-3) via Gary Simon.
2 |
3 | ## What is this?
4 |
5 | Visit the tutorial and watch the video to see this project in action on an android device. Feel free to adapt/use this project how you see fit.
6 |
7 | To use this project, clone this repo and run *npm install* in the project folder.
8 |
9 | ## More Coursetro
10 |
11 | * [Coursetro.com Tutorials and Courses](https://coursetro.com)
12 | * [Coursetro Youtube Channel](http://youtube.com/user/designcourse)
13 | * [Coursetro Slack Chat](https://coursetro.com/chat)
14 | * [Coursetro on Facebook](https://www.facebook.com/coursetro)
--------------------------------------------------------------------------------
/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | MyApp
4 | An awesome Ionic/Cordova app.
5 | Ionic Framework Team
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/ionic.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "onboarding",
3 | "app_id": "",
4 | "type": "ionic-angular"
5 | }
6 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "onboarding",
3 | "version": "0.0.1",
4 | "author": "Ionic Framework",
5 | "homepage": "http://ionicframework.com/",
6 | "private": true,
7 | "scripts": {
8 | "clean": "ionic-app-scripts clean",
9 | "build": "ionic-app-scripts build",
10 | "lint": "ionic-app-scripts lint",
11 | "ionic:build": "ionic-app-scripts build",
12 | "ionic:serve": "ionic-app-scripts serve"
13 | },
14 | "dependencies": {
15 | "@angular/animations": "4.1.3",
16 | "@angular/common": "4.1.3",
17 | "@angular/compiler": "4.1.3",
18 | "@angular/compiler-cli": "4.1.3",
19 | "@angular/core": "4.1.3",
20 | "@angular/forms": "4.1.3",
21 | "@angular/http": "4.1.3",
22 | "@angular/platform-browser": "4.1.3",
23 | "@angular/platform-browser-dynamic": "4.1.3",
24 | "@ionic-native/core": "3.10.2",
25 | "@ionic-native/splash-screen": "3.10.2",
26 | "@ionic-native/status-bar": "3.10.2",
27 | "@ionic/storage": "2.0.1",
28 | "ionic-angular": "3.4.2",
29 | "ionicons": "3.0.0",
30 | "rxjs": "5.4.0",
31 | "sw-toolbox": "3.6.0",
32 | "zone.js": "0.8.12"
33 | },
34 | "devDependencies": {
35 | "@ionic/app-scripts": "1.3.7",
36 | "@ionic/cli-plugin-ionic-angular": "1.3.1",
37 | "typescript": "2.3.3"
38 | },
39 | "description": "An Ionic project"
40 | }
41 |
--------------------------------------------------------------------------------
/resources/android/icon/drawable-hdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/icon/drawable-hdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-ldpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/icon/drawable-ldpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-mdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/icon/drawable-mdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/icon/drawable-xhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/icon/drawable-xxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/icon/drawable-xxxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-land-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-land-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-land-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-land-xhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-land-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-land-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-port-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-port-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-port-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-port-xhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-port-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/android/splash/drawable-port-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/icon.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-40.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-40@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-40@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-50.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-50@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-60.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-60@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-60@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-72.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-72@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-76.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-76@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-83.5@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-small.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-small@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon-small@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/icon/icon@2x.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-568h@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-568h@2x~iphone.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-667h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-667h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-736h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-Landscape-736h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-Landscape@2x~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape@~ipadpro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-Landscape@~ipadpro.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-Landscape~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-Portrait@2x~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait@~ipadpro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-Portrait@~ipadpro.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default-Portrait~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default@2x~iphone.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/ios/splash/Default~iphone.png
--------------------------------------------------------------------------------
/resources/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/resources/splash.png
--------------------------------------------------------------------------------
/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { Platform } from 'ionic-angular';
3 | import { StatusBar } from '@ionic-native/status-bar';
4 | import { SplashScreen } from '@ionic-native/splash-screen';
5 |
6 | import { HomePage } from '../pages/home/home';
7 | @Component({
8 | templateUrl: 'app.html'
9 | })
10 | export class MyApp {
11 | rootPage:any = HomePage;
12 |
13 | constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
14 | platform.ready().then(() => {
15 | // Okay, so the platform is ready and our plugins are available.
16 | // Here you can do any higher level native things you might need.
17 | statusBar.styleDefault();
18 | splashScreen.hide();
19 | });
20 | }
21 | }
22 |
23 |
--------------------------------------------------------------------------------
/src/app/app.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { ErrorHandler, NgModule } from '@angular/core';
3 | import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
4 | import { SplashScreen } from '@ionic-native/splash-screen';
5 | import { StatusBar } from '@ionic-native/status-bar';
6 |
7 | import { MyApp } from './app.component';
8 | import { HomePage } from '../pages/home/home';
9 | import { MainPage } from '../pages/main/main';
10 |
11 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
12 |
13 | @NgModule({
14 | declarations: [
15 | MyApp,
16 | HomePage,
17 | MainPage
18 | ],
19 | imports: [
20 | BrowserModule,
21 | IonicModule.forRoot(MyApp),
22 | BrowserAnimationsModule
23 | ],
24 | bootstrap: [IonicApp],
25 | entryComponents: [
26 | MyApp,
27 | HomePage,
28 | MainPage
29 | ],
30 | providers: [
31 | StatusBar,
32 | SplashScreen,
33 | {provide: ErrorHandler, useClass: IonicErrorHandler}
34 | ]
35 | })
36 | export class AppModule {}
37 |
--------------------------------------------------------------------------------
/src/app/app.scss:
--------------------------------------------------------------------------------
1 | // http://ionicframework.com/docs/v2/theming/
2 |
3 |
4 | // App Global Sass
5 | // --------------------------------------------------
6 | // Put style rules here that you want to apply globally. These
7 | // styles are for the entire app and not just one component.
8 | // Additionally, this file can be also used as an entry point
9 | // to import other Sass files to be included in the output CSS.
10 | //
11 | // Shared Sass variables, which can be used to adjust Ionic's
12 | // default Sass variables, belong in "theme/variables.scss".
13 | //
14 | // To declare rules for a specific mode, create a child rule
15 | // for the .md, .ios, or .wp mode classes. The mode class is
16 | // automatically applied to the
element in the app.
17 |
18 | @import url('https://fonts.googleapis.com/css?family=Raleway:300,700');
19 |
20 | ion-content {
21 | background-color: #EFEFEF !important;
22 | font-family: 'Raleway';
23 | }
--------------------------------------------------------------------------------
/src/app/main.ts:
--------------------------------------------------------------------------------
1 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
2 |
3 | import { AppModule } from './app.module';
4 |
5 | platformBrowserDynamic().bootstrapModule(AppModule);
6 |
--------------------------------------------------------------------------------
/src/assets/icon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/designcourse/ionic-3-onboard-animation-example/8442c182509e3dd34d4e769933c54e1d0e7c79c9/src/assets/icon/favicon.ico
--------------------------------------------------------------------------------
/src/assets/img/whitebg.svg:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Ionic App
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/src/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Ionic",
3 | "short_name": "Ionic",
4 | "start_url": "index.html",
5 | "display": "standalone",
6 | "icons": [{
7 | "src": "assets/imgs/logo.png",
8 | "sizes": "512x512",
9 | "type": "image/png"
10 | }],
11 | "background_color": "#4e8ef7",
12 | "theme_color": "#4e8ef7"
13 | }
--------------------------------------------------------------------------------
/src/pages/home/home.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
track your routine
10 |
whether it's sets, reps, weight used, you can track it all with our intuitive interface.
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
set personal goals
19 |
we're all in the gym for a reason: goals. set goals for diet and fitness.
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
chat with others
28 |
inspire and help each other reach fitness and diet goals.
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/pages/home/home.scss:
--------------------------------------------------------------------------------
1 | .diag {
2 | position:absolute;
3 | z-index:1;
4 | width:100%;
5 | top: 0;
6 | height: 66%;
7 | }
8 |
9 | ion-icon {
10 | margin-top:40%;
11 | font-size:7em;
12 | }
13 |
14 | h2 {
15 | margin-top:80% !important;
16 | font-weight:bold;
17 | font-size:1em;
18 | }
19 |
20 | p {
21 | width:80%;
22 | display:block;
23 | margin: 0 auto;
24 | font-size:.9em;
25 | }
26 |
27 | .swiper-pagination-bullet-active {
28 | background:#C400FF;
29 | }
30 |
31 | .swiper-pagination {
32 | bottom: 12% !important;
33 | }
34 |
35 | #skip {
36 | position:absolute;
37 | bottom: 20px;
38 | width:100%;
39 | background: none !important;
40 | text-align: center;
41 | cursor: pointer;
42 | z-index: 5;
43 | }
--------------------------------------------------------------------------------
/src/pages/home/home.ts:
--------------------------------------------------------------------------------
1 | import { Component, ViewChild, trigger, transition, style, state, animate, keyframes } from '@angular/core';
2 | import { NavController, Slides } from 'ionic-angular';
3 | import { MainPage } from '../main/main';
4 |
5 |
6 | @Component({
7 | selector: 'page-home',
8 | templateUrl: 'home.html',
9 | animations: [
10 |
11 | trigger('bounce', [
12 | state('*', style({
13 | transform: 'translateX(0)'
14 | })),
15 | transition('* => rightSwipe', animate('700ms ease-out', keyframes([
16 | style({transform: 'translateX(0)', offset: 0}),
17 | style({transform: 'translateX(-65px)', offset: .3}),
18 | style({transform: 'translateX(0)', offset: 1})
19 | ]))),
20 | transition('* => leftSwipe', animate('700ms ease-out', keyframes([
21 | style({transform: 'translateX(0)', offset: 0}),
22 | style({transform: 'translateX(65px)', offset: .3}),
23 | style({transform: 'translateX(0)', offset: 1})
24 | ])))
25 | ])
26 | ]
27 | })
28 | export class HomePage {
29 | @ViewChild(Slides) slides: Slides;
30 | skipMsg: string = "Skip";
31 | state: string = 'x';
32 |
33 | constructor(public navCtrl: NavController) {
34 |
35 | }
36 |
37 | skip() {
38 | this.navCtrl.push(MainPage);
39 | }
40 |
41 | slideChanged() {
42 | if (this.slides.isEnd())
43 | this.skipMsg = "Alright, I got it";
44 | }
45 |
46 | slideMoved() {
47 | if (this.slides.getActiveIndex() >= this.slides.getPreviousIndex())
48 | this.state = 'rightSwipe';
49 | else
50 | this.state = 'leftSwipe';
51 | }
52 |
53 | animationDone() {
54 | this.state = 'x';
55 | }
56 |
57 | }
58 |
--------------------------------------------------------------------------------
/src/pages/main/main.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 | main
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/pages/main/main.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { MainPage } from './main';
4 |
5 | @NgModule({
6 | declarations: [
7 | MainPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(MainPage),
11 | ],
12 | exports: [
13 | MainPage
14 | ]
15 | })
16 | export class MainPageModule {}
17 |
--------------------------------------------------------------------------------
/src/pages/main/main.scss:
--------------------------------------------------------------------------------
1 | page-main {
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/src/pages/main/main.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the MainPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 | @IonicPage()
11 | @Component({
12 | selector: 'page-main',
13 | templateUrl: 'main.html',
14 | })
15 | export class MainPage {
16 |
17 | constructor(public navCtrl: NavController, public navParams: NavParams) {
18 | }
19 |
20 | ionViewDidLoad() {
21 | console.log('ionViewDidLoad MainPage');
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/src/service-worker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Check out https://googlechrome.github.io/sw-toolbox/ for
3 | * more info on how to use sw-toolbox to custom configure your service worker.
4 | */
5 |
6 |
7 | 'use strict';
8 | importScripts('./build/sw-toolbox.js');
9 |
10 | self.toolbox.options.cache = {
11 | name: 'ionic-cache'
12 | };
13 |
14 | // pre-cache our key assets
15 | self.toolbox.precache(
16 | [
17 | './build/main.js',
18 | './build/main.css',
19 | './build/polyfills.js',
20 | 'index.html',
21 | 'manifest.json'
22 | ]
23 | );
24 |
25 | // dynamically cache any other local assets
26 | self.toolbox.router.any('/*', self.toolbox.cacheFirst);
27 |
28 | // for any other requests go to the network, cache,
29 | // and then only use that cached resource if your user goes offline
30 | self.toolbox.router.default = self.toolbox.networkFirst;
31 |
--------------------------------------------------------------------------------
/src/theme/variables.scss:
--------------------------------------------------------------------------------
1 | // Ionic Variables and Theming. For more info, please see:
2 | // http://ionicframework.com/docs/v2/theming/
3 |
4 | // Font path is used to include ionicons,
5 | // roboto, and noto sans fonts
6 | $font-path: "../assets/fonts";
7 |
8 |
9 | // The app direction is used to include
10 | // rtl styles in your app. For more info, please see:
11 | // http://ionicframework.com/docs/theming/rtl-support/
12 | $app-direction: ltr;
13 |
14 |
15 | @import "ionic.globals";
16 |
17 |
18 | // Shared Variables
19 | // --------------------------------------------------
20 | // To customize the look and feel of this app, you can override
21 | // the Sass variables found in Ionic's source scss files.
22 | // To view all the possible Ionic variables, see:
23 | // http://ionicframework.com/docs/v2/theming/overriding-ionic-variables/
24 |
25 |
26 |
27 |
28 | // Named Color Variables
29 | // --------------------------------------------------
30 | // Named colors makes it easy to reuse colors on various components.
31 | // It's highly recommended to change the default colors
32 | // to match your app's branding. Ionic uses a Sass map of
33 | // colors so you can add, rename and remove colors as needed.
34 | // The "primary" color is the only required color in the map.
35 |
36 | $colors: (
37 | primary: #C400FF,
38 | secondary: #32db64,
39 | danger: #f53d3d,
40 | light: #f4f4f4,
41 | dark: #222
42 | );
43 |
44 |
45 | // App iOS Variables
46 | // --------------------------------------------------
47 | // iOS only Sass variables can go here
48 |
49 |
50 |
51 |
52 | // App Material Design Variables
53 | // --------------------------------------------------
54 | // Material Design only Sass variables can go here
55 |
56 |
57 |
58 |
59 | // App Windows Variables
60 | // --------------------------------------------------
61 | // Windows only Sass variables can go here
62 |
63 |
64 |
65 |
66 | // App Theme
67 | // --------------------------------------------------
68 | // Ionic apps can have different themes applied, which can
69 | // then be future customized. This import comes last
70 | // so that the above variables are used and Ionic's
71 | // default are overridden.
72 |
73 | @import "ionic.theme.default";
74 |
75 |
76 | // Ionicons
77 | // --------------------------------------------------
78 | // The premium icon font for Ionic. For more info, please see:
79 | // http://ionicframework.com/docs/v2/ionicons/
80 |
81 | @import "ionic.ionicons";
82 |
83 |
84 | // Fonts
85 | // --------------------------------------------------
86 |
87 | @import "roboto";
88 | @import "noto-sans";
89 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "allowSyntheticDefaultImports": true,
4 | "declaration": false,
5 | "emitDecoratorMetadata": true,
6 | "experimentalDecorators": true,
7 | "lib": [
8 | "dom",
9 | "es2015"
10 | ],
11 | "module": "es2015",
12 | "moduleResolution": "node",
13 | "sourceMap": true,
14 | "target": "es5"
15 | },
16 | "include": [
17 | "src/**/*.ts"
18 | ],
19 | "exclude": [
20 | "node_modules"
21 | ],
22 | "compileOnSave": false,
23 | "atom": {
24 | "rewriteTsconfig": false
25 | }
26 | }
--------------------------------------------------------------------------------
/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "no-duplicate-variable": true,
4 | "no-unused-variable": [
5 | true
6 | ]
7 | },
8 | "rulesDirectory": [
9 | "node_modules/tslint-eslint-rules/dist/rules"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------