Browse Source

renamed login back to home

Kris Blassingame 6 years ago
parent
commit
48868ffb3e

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

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

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

6
 
6
 
7
 import { MyApp } from './app.component';
7
 import { MyApp } from './app.component';
8
 import { GoogleMapComponent } from '../components/google-map/google-map';
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
 @NgModule({
11
 @NgModule({
12
   declarations: [
12
   declarations: [
13
     MyApp,
13
     MyApp,
14
-    LoginPage,
14
+    HomePage,
15
     GoogleMapComponent
15
     GoogleMapComponent
16
     
16
     
17
   ],
17
   ],
22
   bootstrap: [IonicApp],
22
   bootstrap: [IonicApp],
23
   entryComponents: [
23
   entryComponents: [
24
     MyApp,
24
     MyApp,
25
-    LoginPage
25
+    HomePage
26
   ],
26
   ],
27
   providers: [
27
   providers: [
28
     StatusBar,
28
     StatusBar,

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


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

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

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

2
 import { NavController } from 'ionic-angular';
2
 import { NavController } from 'ionic-angular';
3
 
3
 
4
 @Component({
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
   constructor(public navCtrl: NavController) {
10
   constructor(public navCtrl: NavController) {
11
 
11