├── .editorconfig
├── .gitignore
├── README.md
├── config.xml
├── ionic.config.json
├── package-lock.json
├── package.json
├── resources
├── README.md
├── 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-1024.png
│ │ ├── 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@2x~universal~anyany.png
│ │ └── Default~iphone.png
└── splash.png
├── src
├── app
│ ├── app.component.ts
│ ├── app.html
│ ├── app.module.ts
│ ├── app.scss
│ └── main.ts
├── assets
│ ├── fotos.PNG
│ ├── icon
│ │ └── favicon.ico
│ ├── imgs
│ │ ├── background.png
│ │ ├── fotos.png
│ │ └── videos.png
│ └── videos.PNG
├── index.html
├── manifest.json
├── pages
│ ├── fotos
│ │ ├── fotos.html
│ │ ├── fotos.module.ts
│ │ ├── fotos.scss
│ │ └── fotos.ts
│ └── videos
│ │ ├── videos.html
│ │ ├── videos.module.ts
│ │ ├── videos.scss
│ │ └── videos.ts
├── providers
│ └── util
│ │ ├── alert.service.ts
│ │ ├── loading.service.ts
│ │ └── toast.service.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 | .sourcemaps/
17 | .sass-cache/
18 | .tmp/
19 | .versions/
20 | coverage/
21 | dist/
22 | node_modules/
23 | tmp/
24 | temp/
25 | hooks/
26 | platforms/
27 | plugins/
28 | plugins/android.json
29 | plugins/ios.json
30 | www/
31 | $RECYCLE.BIN/
32 |
33 | .DS_Store
34 | Thumbs.db
35 | UserInterfaceState.xcuserstate
36 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ionic3-example-nubank-menu
2 | An example of side menu in nubank style
3 |
4 | 
5 | 
6 |
7 | # To run:
8 | * > npm install
9 | * > ionic serve -l (with live reload)
10 |
11 |
12 |
--------------------------------------------------------------------------------
/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | example-menu-nubank
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 |
25 |
26 |
27 |
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 |
--------------------------------------------------------------------------------
/ionic.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "example-menu-nubank",
3 | "app_id": "",
4 | "type": "ionic-angular",
5 | "integrations": {
6 | "cordova": {}
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "example-menu-nubank",
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": "5.2.10",
16 | "@angular/common": "5.2.10",
17 | "@angular/compiler": "5.2.10",
18 | "@angular/compiler-cli": "5.2.10",
19 | "@angular/core": "5.2.10",
20 | "@angular/forms": "5.2.10",
21 | "@angular/http": "5.2.10",
22 | "@angular/platform-browser": "5.2.10",
23 | "@angular/platform-browser-dynamic": "5.2.10",
24 | "@ionic-native/core": "4.7.0",
25 | "@ionic-native/splash-screen": "4.7.0",
26 | "@ionic-native/status-bar": "4.7.0",
27 | "@ionic/storage": "2.1.3",
28 | "ionic-angular": "3.9.2",
29 | "ionicons": "3.0.0",
30 | "rxjs": "5.5.10",
31 | "sw-toolbox": "3.6.0",
32 | "zone.js": "0.8.26"
33 | },
34 | "devDependencies": {
35 | "@ionic/app-scripts": "3.1.9",
36 | "typescript": "~2.6.2"
37 | },
38 | "description": "An Ionic project"
39 | }
40 |
--------------------------------------------------------------------------------
/resources/README.md:
--------------------------------------------------------------------------------
1 | These are Cordova resources. You can replace icon.png and splash.png and run
2 | `ionic cordova resources` to generate custom icons and splash screens for your
3 | app. See `ionic cordova resources --help` for details.
4 |
5 | Cordova reference documentation:
6 |
7 | - Icons: https://cordova.apache.org/docs/en/latest/config_ref/images.html
8 | - Splash Screens: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/
9 |
--------------------------------------------------------------------------------
/resources/android/icon/drawable-hdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/icon/drawable-hdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-ldpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/icon/drawable-ldpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-mdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/icon/drawable-mdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/icon/drawable-xhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/icon/drawable-xxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/icon/drawable-xxxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-land-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-land-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-land-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-land-xhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-land-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-land-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-port-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-port-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-port-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-port-xhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-port-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/android/splash/drawable-port-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/icon.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-1024.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-40.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-40@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-40@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-50.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-50@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-60.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-60@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-60@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-72.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-72@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-76.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-76@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-83.5@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-small.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-small@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon-small@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/icon/icon@2x.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-568h@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-568h@2x~iphone.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-667h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-667h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-736h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-Landscape-736h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-Landscape@2x~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape@~ipadpro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-Landscape@~ipadpro.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-Landscape~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-Portrait@2x~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait@~ipadpro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-Portrait@~ipadpro.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default-Portrait~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default@2x~iphone.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default@2x~universal~anyany.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default@2x~universal~anyany.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/ios/splash/Default~iphone.png
--------------------------------------------------------------------------------
/resources/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/resources/splash.png
--------------------------------------------------------------------------------
/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { Platform } from 'ionic-angular';
3 | import { SplashScreen } from '@ionic-native/splash-screen';
4 |
5 | @Component({
6 | templateUrl: 'app.html'
7 | })
8 | export class MyApp {
9 |
10 | rootPage: any = 'FotosPage';
11 |
12 | constructor(public platform: Platform, public splashScreen: SplashScreen) {
13 | this.initializeApp();
14 | }
15 |
16 | initializeApp() {
17 | this.platform.ready().then(() => {
18 | setTimeout(() => {
19 | this.splashScreen.hide();
20 | }, 100);
21 | });
22 | }
23 |
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/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 |
5 | import { MyApp } from './app.component';
6 |
7 | import { SplashScreen } from '@ionic-native/splash-screen';
8 |
9 | @NgModule({
10 | declarations: [
11 | MyApp
12 | ],
13 | imports: [
14 | BrowserModule,
15 | IonicModule.forRoot(MyApp)
16 | ],
17 | bootstrap: [IonicApp],
18 | entryComponents: [
19 | MyApp
20 | ],
21 | providers: [
22 | SplashScreen,
23 | {provide: ErrorHandler, useClass: IonicErrorHandler}
24 | ]
25 | })
26 | export class AppModule {}
27 |
--------------------------------------------------------------------------------
/src/app/app.scss:
--------------------------------------------------------------------------------
1 | .swiper-pagination-bullet {
2 | background-color: #423145;
3 | }
4 |
5 | .bar-button-default-ios, .bar-button-default.bar-button-ios-default, .bar-button-clear-ios-default {
6 | color: #fff;
7 | }
8 |
9 | .bar-button-default-md, .bar-button-default.bar-button-md-default, .bar-button-clear-md-default {
10 | color: #fff;
11 | }
12 |
13 | .bar-button-default-wp, .bar-button-default.bar-button-wp-default, .bar-button-clear-wp-default {
14 | color: #fff;
15 | }
16 |
17 | .toolbar-title {
18 | font-size: 1.9rem !important;
19 | font-family: 'Lato', sans-serif;
20 | color: #fff;
21 | text-transform:uppercase;
22 | }
23 |
24 | .transparent-header {
25 | .toolbar-content,
26 | .back-button {
27 | color: white;
28 | }
29 | .toolbar-background,
30 | ion-navbar,
31 | ion-header {
32 | background: transparent !important;
33 | background-color: transparent !important;
34 | }
35 | .header-md::after,
36 | .toolbar-background-ios {
37 | background-image: none;
38 | border-bottom: 0;
39 | }
40 | .header-ios .toolbar-background-ios,
41 | .footer-ios .toolbar-background-ios {
42 | border: 0;
43 | }
44 | // ---
45 | }
46 |
--------------------------------------------------------------------------------
/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/fotos.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/src/assets/fotos.PNG
--------------------------------------------------------------------------------
/src/assets/icon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/src/assets/icon/favicon.ico
--------------------------------------------------------------------------------
/src/assets/imgs/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/src/assets/imgs/background.png
--------------------------------------------------------------------------------
/src/assets/imgs/fotos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/src/assets/imgs/fotos.png
--------------------------------------------------------------------------------
/src/assets/imgs/videos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/src/assets/imgs/videos.png
--------------------------------------------------------------------------------
/src/assets/videos.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/juniorabranches/ionic3-example-nubank-menu/7f2d5b6d698b507b73965abe58bc17bd074a16d5/src/assets/videos.PNG
--------------------------------------------------------------------------------
/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Ionic App
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/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/fotos/fotos.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
Fotos
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/src/pages/fotos/fotos.module.ts:
--------------------------------------------------------------------------------
1 | import { FotosPage } from './fotos';
2 | import { NgModule } from '@angular/core';
3 | import { IonicPageModule } from 'ionic-angular';
4 |
5 | import { LoadingService } from '../../providers/util/loading.service';
6 |
7 | @NgModule({
8 | declarations: [
9 | FotosPage
10 | ],
11 | imports: [
12 | IonicPageModule.forChild(FotosPage)
13 | ],
14 | exports: [
15 | FotosPage
16 | ],
17 | providers: [
18 | LoadingService
19 | ]
20 | })
21 |
22 | export class FotosModule { }
23 |
--------------------------------------------------------------------------------
/src/pages/fotos/fotos.scss:
--------------------------------------------------------------------------------
1 | page-fotos {
2 |
3 | .vertical-line{
4 | width: 30%;
5 | background-color: #423145;
6 | height: 100%;
7 | float:left;
8 | border-right: 10px solid #423145;
9 | }
10 |
11 | #parent {
12 | height: 100%;
13 | }
14 |
15 | .scroll-content{
16 | margin-bottom: 0px !important;
17 | padding-bottom: 0px !important;
18 | }
19 |
20 | #profile-info {
21 | top: -95px;
22 | width: 100%;
23 | z-index: 2;
24 | text-align: center;
25 | }
26 |
27 | #profile-name {
28 | color: #444;
29 | font-size: 20px;
30 | text-align: right;
31 | padding: 10px;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/src/pages/fotos/fotos.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { NavController, IonicPage, MenuController } from 'ionic-angular';
3 |
4 | import { LoadingService } from '../../providers/util/loading.service';
5 |
6 |
7 | @IonicPage()
8 | @Component({
9 | selector: 'page-fotos',
10 | templateUrl: 'fotos.html'
11 | })
12 | export class FotosPage {
13 |
14 | imageUrl: string = 'assets/imgs/background.png';
15 | pages: Array<{title: string, component: any, icon:any}>;
16 | constructor(private menu: MenuController, public navCtrl: NavController, public loading: LoadingService) {
17 | this.menu.enable(true);
18 | this.menu.open();
19 | this.pages = [
20 | { title: 'Fotos', component: 'FotosPage', icon: 'assets/imgs/fotos.png' },
21 | { title: 'Vídeos', component: 'VideosPage', icon: 'assets/imgs/videos.png' }
22 | ];
23 | }
24 |
25 | openPage(page) {
26 | this.loading.present();
27 | this.loading.dismiss().then(() => {
28 | this.navCtrl.setRoot(page.component);
29 | });
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/src/pages/videos/videos.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
Vídeos
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/pages/videos/videos.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { VideosPage } from './videos';
4 | import { LoadingService } from '../../providers/util/loading.service';
5 |
6 | @NgModule({
7 | declarations: [
8 | VideosPage,
9 | ],
10 | imports: [
11 | IonicPageModule.forChild(VideosPage),
12 | ],
13 | providers: [
14 | LoadingService
15 | ]
16 | })
17 | export class VideosModule {}
18 |
--------------------------------------------------------------------------------
/src/pages/videos/videos.scss:
--------------------------------------------------------------------------------
1 | page-videos {
2 | #parent {
3 | height: 100%;
4 | }
5 |
6 | .vertical-line{
7 | width: 30%;
8 | background-color: #423145;
9 | height: 100%;
10 | float:left;
11 | border-right: 10px solid #423145;
12 | }
13 | .scroll-content{
14 | margin-bottom: 0px !important;
15 | padding-bottom: 0px !important;
16 | }
17 |
18 | #profile-name {
19 | color: #444;
20 | font-size: 20px;
21 | text-align: right;
22 | padding: 10px;
23 | }
24 |
25 | #content {
26 | // position: relative;
27 | margin-top: 100px;
28 | // background-color: white;
29 | // box-shadow: 0px -1px 10px rgba(0,0,0,0.4);
30 | padding-top: 100px;
31 | }
32 |
33 | #profile-info {
34 | //position: absolute;
35 | top: -95px;
36 | width: 100%;
37 | z-index: 2;
38 | text-align: center;
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/src/pages/videos/videos.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';
3 |
4 | import { LoadingService } from '../../providers/util/loading.service';
5 |
6 | @IonicPage()
7 | @Component({
8 | selector: 'page-videos',
9 | templateUrl: 'videos.html',
10 | })
11 | export class VideosPage {
12 | imageUrl: string = 'assets/imgs/background.png';
13 | pages: Array<{title: string, component: any, icon:any}>;
14 | constructor(private menu: MenuController, public navCtrl: NavController, public navParams: NavParams, public loading: LoadingService) {
15 | this.pages = [
16 | { title: 'Fotos', component: 'FotosPage', icon: 'assets/imgs/fotos.png' },
17 | { title: 'Vídeos', component: 'VideosPage', icon: 'assets/imgs/videos.png' }
18 | ];
19 |
20 | }
21 |
22 | openPage(page) {
23 | this.loading.present();
24 | this.loading.dismiss().then(() => {
25 | this.navCtrl.setRoot(page.component);
26 | });
27 | }
28 |
29 |
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/providers/util/alert.service.ts:
--------------------------------------------------------------------------------
1 | import { Injectable } from '@angular/core';
2 | import { AlertController } from 'ionic-angular';
3 |
4 | @Injectable()
5 | export class AlertService {
6 | constructor(public alertCtrl: AlertController) { }
7 |
8 | create(title: string, message: string) {
9 | let alert = this.alertCtrl.create(
10 | {
11 | title: title,
12 | subTitle: message,
13 | buttons: [
14 | {
15 | text: 'OK'
16 | }
17 | ]
18 | })
19 |
20 | return alert.present();
21 | }
22 |
23 | createWithError(message: string) {
24 | return this.create("An error has occurred.", message);
25 | }
26 |
27 | createWithCallback(title: string, message: string, confirmation: boolean): Promise {
28 | return new Promise((resolve, reject) => {
29 | let buttons = null;
30 | if (confirmation) {
31 | buttons = [{
32 | text: 'Cancelar',
33 | role: 'cancel',
34 | handler: () => {
35 | confirm.dismiss().then(() => resolve(false));
36 | }
37 | }, {
38 | text: 'Sim',
39 | handler: () => {
40 | confirm.dismiss().then(() => resolve(true));
41 | }
42 | }];
43 | } else {
44 | buttons = [{
45 | text: 'Ok',
46 | handler: () => {
47 | confirm.dismiss().then(() => resolve(true));
48 | }
49 | }]
50 | }
51 |
52 | const confirm = this.alertCtrl.create({
53 | title,
54 | message,
55 | buttons: buttons
56 | });
57 |
58 | return confirm.present();
59 | });
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/src/providers/util/loading.service.ts:
--------------------------------------------------------------------------------
1 | import { Injectable } from '@angular/core';
2 | import { Loading, LoadingController } from 'ionic-angular';
3 |
4 | @Injectable()
5 | export class LoadingService {
6 | loading: Loading;
7 | constructor(public loadingCtrl: LoadingController) {
8 | }
9 |
10 | present() {
11 | this.loading = this.loadingCtrl.create({
12 |
13 | //content:
14 | /*
15 |

16 |
`*/
17 | });
18 | return this.loading.present();
19 | }
20 |
21 | presentWithMessage(message) {
22 | this.loading = this.loadingCtrl.create({
23 | content: message
24 | });
25 |
26 | return this.loading.present();
27 | }
28 |
29 | dismiss() {
30 | return new Promise((resolve, reject) => {
31 | if (this.loading) {
32 | return this.loading.dismiss(resolve(true)).catch(error => {
33 | console.log('loading error: ', error);
34 | });
35 | } else {
36 | resolve(true);
37 | }
38 | });
39 |
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/src/providers/util/toast.service.ts:
--------------------------------------------------------------------------------
1 | import { Injectable } from '@angular/core';
2 | import { Toast, ToastController } from 'ionic-angular';
3 |
4 | @Injectable()
5 | export class ToastService {
6 | toast: Toast;
7 | constructor(public toastCtrl: ToastController) { }
8 |
9 | create(message, ok = false, duration = 4000) {
10 | if (this.toast) {
11 | this.toast.dismiss();
12 | }
13 |
14 | this.toast = this.toastCtrl.create({
15 | message: message,
16 | duration: ok ? null : duration,
17 | position: 'bottom',
18 | showCloseButton: ok,
19 | closeButtonText: 'OK'
20 | });
21 | this.toast.present();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/src/service-worker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Check out https://googlechromelabs.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/vendor.js',
19 | './build/main.css',
20 | './build/polyfills.js',
21 | 'index.html',
22 | 'manifest.json'
23 | ]
24 | );
25 |
26 | // dynamically cache any other local assets
27 | self.toolbox.router.any('/*', self.toolbox.fastest);
28 |
29 | // for any other requests go to the network, cache,
30 | // and then only use that cached resource if your user goes offline
31 | self.toolbox.router.default = self.toolbox.networkFirst;
32 |
--------------------------------------------------------------------------------
/src/theme/variables.scss:
--------------------------------------------------------------------------------
1 | // Ionic Variables and Theming. For more info, please see:
2 | // http://ionicframework.com/docs/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/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: #488aff,
38 | secondary: #32db64,
39 | danger: #f53d3d,
40 | light: #f4f4f4,
41 | dark: #423145
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/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 | "src/**/*.spec.ts",
22 | "src/**/__tests__/*.ts"
23 | ],
24 | "compileOnSave": false,
25 | "atom": {
26 | "rewriteTsconfig": false
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------