Skip to content

Commit 7f363bc

Browse files
committed
Updated various components, added paths and reduced files
1 parent d69f358 commit 7f363bc

34 files changed

+139
-199
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
.settings/
2020

2121
# IDE - VSCode
22+
.vscode
2223
.vscode/*
2324
!.vscode/settings.json
2425
!.vscode/tasks.json

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/app/app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import { HttpClientModule } from '@angular/common/http';
1010

1111
// Modules
1212
import { MessagesModule } from './components/messages/messages.module';
13-
import { PipesModule } from './pipes/pipes.module';
1413
import { BlocksModule } from './components/blocks/blocks.module';
1514
import { AuthModule } from './components/auth/auth.module';
1615
import { BackgroundsModule } from './components/backgrounds/backgrounds.module';
1716
import { ProfileModule } from './components/profile/profile.module';
1817
import { MiscModule } from './components/misc/misc.module';
18+
import { PipesModule } from '@shared/pipes/pipes.module';
1919

2020
// Shared
2121
import {
@@ -26,7 +26,7 @@ import {
2626
AuthGuardService,
2727
AuthService,
2828
WindowService
29-
} from './components/shared';
29+
} from '@shared';
3030

3131
// Main
3232
import { AppComponent } from './app.component';

src/app/app.routing.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
import { NgModule } from '@angular/core';
33
import { RouterModule, Routes } from '@angular/router';
44

5-
// Main
6-
import { AppComponent } from './app.component';
7-
85
// 404 page
96
import { PageNotFoundComponent } from './components/not-found/not-found.component';
107

@@ -22,7 +19,7 @@ import { ProfileSettingsComponent } from './components/profile/profile-settings.
2219
import { MessagesComponent } from './components/messages/messages.component';
2320

2421
// Protected
25-
import { AuthGuardService } from './components/shared';
22+
import { AuthGuardService } from '@shared';
2623

2724
// Routing
2825
const appRoutes: Routes = [

src/app/components/about-me/about-me.component.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
import { Component, OnInit } from '@angular/core';
1+
import { Component } from '@angular/core';
22

33
@Component({
44
selector: 'app-about-me',
55
templateUrl: './about-me.component.html',
6-
styleUrls: ['./about-me.component.scss']
6+
styles: [`
7+
#content {
8+
padding: 20px;
9+
}
10+
`]
711
})
8-
export class AboutMeComponent implements OnInit {
9-
10-
constructor() { }
11-
12-
ngOnInit() {
13-
}
14-
15-
}
12+
export class AboutMeComponent {}

src/app/components/auth/phone-signin/phone-signin.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
22
import { Router } from '@angular/router';
33
import * as firebase from 'firebase';
44

5-
import { WindowService, PhoneNumber, AuthService, AlertService } from '../../shared';
5+
import { WindowService, PhoneNumber, AuthService, AlertService } from '@shared';
66

77
@Component({
88
selector: 'app-phone-signin',

src/app/components/auth/signin.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component, Input, OnInit } from '@angular/core';
22
import { NgForm } from '@angular/forms';
33

4-
import { AlertService, AuthService } from '../shared';
4+
import { AlertService, AuthService } from '@shared';
55

66
@Component({
77
selector: 'app-signin',

src/app/components/auth/signup.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component, Input, OnInit } from '@angular/core';
22
import { NgForm } from '@angular/forms';
33

4-
import { AlertService, AuthService } from '../shared';
4+
import { AlertService, AuthService } from '@shared';
55

66
@Component({
77
selector: 'app-signup',

src/app/components/backgrounds/background-email/background-email.component.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)