Sfoglia il codice sorgente

renamed login back to home

Kris Blassingame 6 anni fa
parent
commit
48868ffb3e

+ 2
- 2
frontEnd/src/app/app.component.ts Vedi File

@@ -2,13 +2,13 @@ import { Component } from '@angular/core';
2 2
 import { Platform } from 'ionic-angular';
3 3
 import { StatusBar } from '@ionic-native/status-bar';
4 4
 import { SplashScreen } from '@ionic-native/splash-screen';
5
-import { LoginPage } from '../pages/login/login';
5
+import { HomePage } from '../pages/home/home';
6 6
 
7 7
 @Component({
8 8
   templateUrl: 'app.html'
9 9
 })
10 10
 export class MyApp {
11
-  rootPage:any = LoginPage;
11
+  rootPage:any = HomePage;
12 12
 
13 13
   constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
14 14
     platform.ready().then(() => {

+ 3
- 3
frontEnd/src/app/app.module.ts Vedi File

@@ -6,12 +6,12 @@ import { StatusBar } from '@ionic-native/status-bar';
6 6
 
7 7
 import { MyApp } from './app.component';
8 8
 import { GoogleMapComponent } from '../components/google-map/google-map';
9
-import { LoginPage } from '../pages/login/login';
9
+import { HomePage } from '../pages/home/home';
10 10
 
11 11
 @NgModule({
12 12
   declarations: [
13 13
     MyApp,
14
-    LoginPage,
14
+    HomePage,
15 15
     GoogleMapComponent
16 16
     
17 17
   ],
@@ -22,7 +22,7 @@ import { LoginPage } from '../pages/login/login';
22 22
   bootstrap: [IonicApp],
23 23
   entryComponents: [
24 24
     MyApp,
25
-    LoginPage
25
+    HomePage
26 26
   ],
27 27
   providers: [
28 28
     StatusBar,

frontEnd/src/pages/login/login.html → frontEnd/src/pages/home/home.html Vedi File


frontEnd/src/pages/login/login.scss → frontEnd/src/pages/home/home.scss Vedi File

@@ -1,5 +1,5 @@
1 1
 @import url('https://fonts.googleapis.com/css?family=Permanent+Marker');
2
-page-login {
2
+page-home {
3 3
     .bg-image {
4 4
         background-image: url('../assets/imgs/autumn-daylight-environment-218820.jpg');
5 5
         background-repeat: no-repeat;

frontEnd/src/pages/login/login.ts → frontEnd/src/pages/home/home.ts Vedi File

@@ -2,10 +2,10 @@ import { Component } from '@angular/core';
2 2
 import { NavController } from 'ionic-angular';
3 3
 
4 4
 @Component({
5
-  selector: 'page-login',
6
-  templateUrl: 'login.html'
5
+  selector: 'page-home',
6
+  templateUrl: 'home.html'
7 7
 })
8
-export class LoginPage {
8
+export class HomePage {
9 9
 
10 10
   constructor(public navCtrl: NavController) {
11 11