Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6fc9483

Browse files
author
singhcodex
committed
first commit before login page
1 parent 66554f6 commit 6fc9483

9 files changed

+1941
-488
lines changed

angular.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@
2525
"src/assets"
2626
],
2727
"styles": [
28+
"@angular/material/prebuilt-themes/indigo-pink.css",
29+
"node_modules/bootstrap/dist/css/bootstrap.min.css",
2830
"src/styles.css"
2931
],
30-
"scripts": []
32+
"scripts": ["node_modules/bootstrap/dist/js/bootstrap.min.js"]
3133
},
3234
"configurations": {
3335
"production": {
@@ -87,6 +89,7 @@
8789
"src/assets"
8890
],
8991
"styles": [
92+
"@angular/material/prebuilt-themes/indigo-pink.css",
9093
"src/styles.css"
9194
],
9295
"scripts": []

package-lock.json

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

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,20 @@
1111
"private": true,
1212
"dependencies": {
1313
"@angular/animations": "^15.1.0",
14+
"@angular/cdk": "^15.2.0",
1415
"@angular/common": "^15.1.0",
1516
"@angular/compiler": "^15.1.0",
1617
"@angular/core": "^15.1.0",
1718
"@angular/forms": "^15.1.0",
19+
"@angular/material": "^15.2.0",
1820
"@angular/platform-browser": "^15.1.0",
1921
"@angular/platform-browser-dynamic": "^15.1.0",
2022
"@angular/router": "^15.1.0",
23+
"@fortawesome/angular-fontawesome": "^0.12.1",
24+
"@fortawesome/fontawesome-svg-core": "^6.2.1",
25+
"@fortawesome/free-regular-svg-icons": "^6.2.1",
26+
"@fortawesome/free-solid-svg-icons": "^6.2.1",
27+
"bootstrap": "^5.2.3",
2128
"rxjs": "~7.8.0",
2229
"tslib": "^2.3.0",
2330
"zone.js": "~0.12.0"
@@ -27,6 +34,7 @@
2734
"@angular/cli": "~15.1.6",
2835
"@angular/compiler-cli": "^15.1.0",
2936
"@types/jasmine": "~4.3.0",
37+
"angular-in-memory-web-api": "^0.15.0",
3038
"jasmine-core": "~4.5.0",
3139
"karma": "~6.4.0",
3240
"karma-chrome-launcher": "~3.1.0",

src/app/app-routing.module.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
import { NgModule } from '@angular/core';
22
import { RouterModule, Routes } from '@angular/router';
3+
import {HomeComponent} from "./components/home/home.component";
4+
import {LinkCreateComponent} from "./components/link-create/link-create.component";
35

4-
const routes: Routes = [];
6+
const routes: Routes = [
7+
{
8+
path:'', pathMatch:'full', redirectTo:'/home'
9+
},{
10+
path:'home',component: HomeComponent
11+
},{
12+
path:'create',component: LinkCreateComponent
13+
},
14+
15+
];
516

617
@NgModule({
718
imports: [RouterModule.forRoot(routes)],

0 commit comments

Comments
 (0)