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
 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
 
6
 
6
-import { HomePage } from '../pages/home/home';
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 = HomePage;
11
+  rootPage:any = LoginPage;
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

5
 import { StatusBar } from '@ionic-native/status-bar';
5
 import { StatusBar } from '@ionic-native/status-bar';
6
 
6
 
7
 import { MyApp } from './app.component';
7
 import { MyApp } from './app.component';
8
-import { HomePage } from '../pages/home/home';
9
 import { GoogleMapComponent } from '../components/google-map/google-map';
8
 import { GoogleMapComponent } from '../components/google-map/google-map';
9
+import { LoginPage } from '../pages/login/login';
10
 
10
 
11
 @NgModule({
11
 @NgModule({
12
   declarations: [
12
   declarations: [
13
     MyApp,
13
     MyApp,
14
-    HomePage,
14
+    LoginPage,
15
     GoogleMapComponent
15
     GoogleMapComponent
16
     
16
     
17
   ],
17
   ],
22
   bootstrap: [IonicApp],
22
   bootstrap: [IonicApp],
23
   entryComponents: [
23
   entryComponents: [
24
     MyApp,
24
     MyApp,
25
-    HomePage
25
+    LoginPage
26
   ],
26
   ],
27
   providers: [
27
   providers: [
28
     StatusBar,
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
 @import url('https://fonts.googleapis.com/css?family=Permanent+Marker');
1
 @import url('https://fonts.googleapis.com/css?family=Permanent+Marker');
2
-page-home {
2
+page-login {
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/home/home.ts → frontEnd/src/pages/login/login.ts View File

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