Browse Source

Renamed home directory to login(and files within)

Kris Blassingame 6 years ago
parent
commit
e6813ea76c

+ 2
- 2
frontEnd/src/app/app.component.ts View 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 6
 
6
-import { HomePage } from '../pages/home/home';
7 7
 @Component({
8 8
   templateUrl: 'app.html'
9 9
 })
10 10
 export class MyApp {
11
-  rootPage:any = HomePage;
11
+  rootPage:any = LoginPage;
12 12
 
13 13
   constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
14 14
     platform.ready().then(() => {

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

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

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


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

@@ -1,5 +1,5 @@
1 1
 @import url('https://fonts.googleapis.com/css?family=Permanent+Marker');
2
-page-home {
2
+page-login {
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/home/home.ts → frontEnd/src/pages/login/login.ts View 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-home',
6
-  templateUrl: 'home.html'
5
+  selector: 'page-login',
6
+  templateUrl: 'login.html'
7 7
 })
8
-export class HomePage {
8
+export class LoginPage {
9 9
 
10 10
   constructor(public navCtrl: NavController) {
11 11