diff --git a/package-lock.json b/package-lock.json index 00c0b56..529c3b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "@capacitor/haptics": "1.1.3", "@capacitor/keyboard": "1.1.3", "@capacitor/status-bar": "1.0.6", + "@fortawesome/fontawesome-svg-core": "^1.2.36", "@ionic/angular": "^5.5.2", "chart.js": "^3.6.2", "ng2-charts": "^3.0.1", @@ -3041,6 +3042,27 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@fortawesome/fontawesome-common-types": { + "version": "0.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.36.tgz", + "integrity": "sha512-a/7BiSgobHAgBWeN7N0w+lAhInrGxksn13uK7231n2m8EDPE3BMCl9NZLTGrj9ZXfCmC6LM0QLqXidIizVQ6yg==", + "hasInstallScript": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/fontawesome-svg-core": { + "version": "1.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.36.tgz", + "integrity": "sha512-YUcsLQKYb6DmaJjIHdDWpBIGCcyE/W+p/LMGvjQem55Mm2XWVAP5kWTMKWLv9lwpCVjpLxPyOMOyUocP1GxrtA==", + "hasInstallScript": true, + "dependencies": { + "@fortawesome/fontawesome-common-types": "^0.2.36" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", @@ -22387,6 +22409,19 @@ } } }, + "@fortawesome/fontawesome-common-types": { + "version": "0.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.36.tgz", + "integrity": "sha512-a/7BiSgobHAgBWeN7N0w+lAhInrGxksn13uK7231n2m8EDPE3BMCl9NZLTGrj9ZXfCmC6LM0QLqXidIizVQ6yg==" + }, + "@fortawesome/fontawesome-svg-core": { + "version": "1.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.36.tgz", + "integrity": "sha512-YUcsLQKYb6DmaJjIHdDWpBIGCcyE/W+p/LMGvjQem55Mm2XWVAP5kWTMKWLv9lwpCVjpLxPyOMOyUocP1GxrtA==", + "requires": { + "@fortawesome/fontawesome-common-types": "^0.2.36" + } + }, "@humanwhocodes/config-array": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", diff --git a/package.json b/package.json index a4796cc..db5c781 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@capacitor/haptics": "1.1.3", "@capacitor/keyboard": "1.1.3", "@capacitor/status-bar": "1.0.6", + "@fortawesome/fontawesome-svg-core": "^1.2.36", "@ionic/angular": "^5.5.2", "chart.js": "^3.6.2", "ng2-charts": "^3.0.1", diff --git a/src/app/tab1/tab1.page.html b/src/app/tab1/tab1.page.html index b6475a6..dbd7812 100644 --- a/src/app/tab1/tab1.page.html +++ b/src/app/tab1/tab1.page.html @@ -8,17 +8,26 @@ - + + {{item.time}} + + + + +
+

   {{item.web}}

+
+
+
+
+ +
 Category: {{capitalizeFirstLetter(item.category)}}
+
 Type: {{capitalizeFirstLetter(item.type)}}
+
-

web: {{item.web}}

-
category: {{item.category}}
-
Type: {{item.type}}
-
time: {{item.time}}
-
+ - + - + \ No newline at end of file diff --git a/src/app/tab1/tab1.page.ts b/src/app/tab1/tab1.page.ts index 5057043..50b5831 100644 --- a/src/app/tab1/tab1.page.ts +++ b/src/app/tab1/tab1.page.ts @@ -18,7 +18,9 @@ export class Tab1Page implements OnInit { private itemperpage = 20 ngOnInit() { } - + capitalizeFirstLetter(string) { + return string.charAt(0).toUpperCase() + string.slice(1); + } search(event) { console.log(this.searchbar); var that=this