Skip to content

Commit 6f76a3e

Browse files
initial commit
1 parent 7f244e9 commit 6f76a3e

24 files changed

+597
-525
lines changed

angular.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"src/assets"
2626
],
2727
"styles": [
28+
"node_modules/simplebar/dist/simplebar.min.css",
2829
"src/styles.css"
2930
],
3031
"scripts": []
@@ -94,5 +95,8 @@
9495
}
9596
}
9697
}
98+
},
99+
"cli": {
100+
"analytics": false
97101
}
98102
}

package-lock.json

Lines changed: 89 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@angular/platform-browser-dynamic": "^16.2.0",
2020
"@angular/router": "^16.2.0",
2121
"rxjs": "~7.8.0",
22+
"simplebar": "^6.2.5",
2223
"tslib": "^2.3.0",
2324
"zone.js": "~0.13.0"
2425
},

src/app/app-routing.module.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
import { NgModule } from '@angular/core';
22
import { RouterModule, Routes } from '@angular/router';
3+
import {LoginComponent} from "./component/login/login.component";
4+
import {RegisterComponent} from "./component/register/register.component";
35

4-
const routes: Routes = [];
6+
7+
const routes: Routes = [
8+
{ path: 'login', component: LoginComponent },
9+
{ path: 'signup', component: RegisterComponent },
10+
{ path: '', redirectTo: '/login', pathMatch: 'full' }
11+
];
512

613
@NgModule({
714
imports: [RouterModule.forRoot(routes)],

src/app/app.component.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.full-page-container {
2+
height: 100vh;
3+
width: 100vw;
4+
background-color: #f0f8ff;
5+
display: flex;
6+
justify-content: center;
7+
align-items: center;
8+
flex-direction: column;
9+
padding: 20px;
10+
box-sizing: border-box;
11+
}
12+
13+
.mat-drawer-content {
14+
background-color: #f5f5f5;
15+
}
16+
17+
input.form-control {
18+
background-color: #f0f8ff;
19+
border: 1px solid #ced4da;
20+
}
21+
22+
input.form-control:focus {
23+
background-color: white;
24+
border-color: #80bdff;
25+
box-shadow: 0 0 0 0.2rem rgba(128, 189, 255, 0.25);
26+
}
27+
28+
.card-login, .card-signup {
29+
width: 600px;
30+
}

0 commit comments

Comments
 (0)