From 0ec827f8ed91b73915428d3f529b354c320cf163 Mon Sep 17 00:00:00 2001 From: Hans-Christian Payer Date: Wed, 31 Jan 2024 13:04:13 +0100 Subject: [PATCH] basic bootstrap --- angular.json | 5 +++- package-lock.json | 8 ++++- package.json | 5 ++-- src/app/app.component.html | 30 ++++++++++++++----- src/app/list-links/list-links.component.html | 7 +---- src/styles.css | 31 ++++++++++++++++++++ 6 files changed, 69 insertions(+), 17 deletions(-) diff --git a/angular.json b/angular.json index 881ba80..3afc886 100644 --- a/angular.json +++ b/angular.json @@ -36,9 +36,12 @@ ], "styles": [ "@angular/material/prebuilt-themes/indigo-pink.css", + "node_modules/bootstrap5/src/css/bootstrap.min.css", "src/styles.css" ], - "scripts": [] + "scripts": [ + "node_modules/bootstrap5/src/js/bootstrap.bundle.min.js" + ] }, "configurations": { "production": { diff --git a/package-lock.json b/package-lock.json index af78718..a5be022 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,13 +18,14 @@ "@angular/platform-browser": "^17.1.0", "@angular/platform-browser-dynamic": "^17.1.0", "@angular/router": "^17.1.0", + "bootstrap5": "^1.1.9", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.3" }, "devDependencies": { "@angular-devkit/build-angular": "^17.1.0", - "@angular/cli": "^17.1.0", + "@angular/cli": "^17.1.1", "@angular/compiler-cli": "^17.1.0", "@types/jasmine": "~5.1.0", "jasmine-core": "~5.1.0", @@ -5180,6 +5181,11 @@ "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", "dev": true }, + "node_modules/bootstrap5": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/bootstrap5/-/bootstrap5-1.1.9.tgz", + "integrity": "sha512-XZSujP1vsslV7iUgPHRLobe+rL7pYUvZaK2Erk0r45m00cQZz/No3Ua7cenlCFLN+gOMEWYU+ipa8Ktzz79oVA==" + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", diff --git a/package.json b/package.json index 094e075..7de8429 100644 --- a/package.json +++ b/package.json @@ -20,13 +20,14 @@ "@angular/platform-browser": "^17.1.0", "@angular/platform-browser-dynamic": "^17.1.0", "@angular/router": "^17.1.0", + "bootstrap5": "^1.1.9", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.3" }, "devDependencies": { "@angular-devkit/build-angular": "^17.1.0", - "@angular/cli": "^17.1.0", + "@angular/cli": "^17.1.1", "@angular/compiler-cli": "^17.1.0", "@types/jasmine": "~5.1.0", "jasmine-core": "~5.1.0", @@ -37,4 +38,4 @@ "karma-jasmine-html-reporter": "~2.1.0", "typescript": "~5.3.2" } -} \ No newline at end of file +} diff --git a/src/app/app.component.html b/src/app/app.component.html index 47f9f83..008e5b2 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,9 +1,25 @@ -

Home NAS Landing

-