diff --git a/src/app/app.component.html b/src/app/app.component.html
index 4fa90b9..ab04324 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -41,8 +41,17 @@
0">
-
- {{ result.url }} ({{ result.tfidf }})
+
diff --git a/src/app/app.component.less b/src/app/app.component.less
index cbd46e6..f102d1d 100644
--- a/src/app/app.component.less
+++ b/src/app/app.component.less
@@ -104,6 +104,27 @@
}
}
+ .results {
+ margin-top: 30px;
+
+ a {
+ text-decoration: none;
+ color: #000;
+
+ .result {
+ padding: 10px 20px;
+ display: flex;
+ justify-content: space-between;
+ background: #FFF;
+ border-radius: 15px;
+ margin-bottom: 10px;
+ border: 1px solid rgba(200, 200, 200, 0.3);
+ }
+
+ }
+
+ }
+
}
.main-container.top {
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 83d9206..de93e8e 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -35,4 +35,8 @@ export class AppComponent {
}
}
+ public round( value: number ) {
+ return Math.round( value * 100 ) / 100;
+ }
+
}
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 8e59e6d..54a4d84 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -4,7 +4,7 @@
export const environment = {
production: false,
- baseUrl: 'https://us-central1-pq-man.cloudfunctions.net/search?s=',
+ baseUrl: 'http://142.4.212.26:8080/search?s=',
};
/*