diff --git a/src/app/component/blogs/blogs.component.ts b/src/app/component/blogs/blogs.component.ts index 779af6a..7c77df9 100644 --- a/src/app/component/blogs/blogs.component.ts +++ b/src/app/component/blogs/blogs.component.ts @@ -1,5 +1,7 @@ import { Component } from '@angular/core'; +import { DataService } from '@services/data.service'; + @Component({ selector: 'app-blogs', standalone: false, @@ -7,5 +9,9 @@ import { Component } from '@angular/core'; styleUrl: './blogs.component.css' }) export class BlogsComponent { + constructor(private dataService: DataService) {} + get blogs() { + return this.dataService.getBlogs(); + } } diff --git a/src/app/component/contact/contact.component.ts b/src/app/component/contact/contact.component.ts index 4a8c27e..13a545d 100644 --- a/src/app/component/contact/contact.component.ts +++ b/src/app/component/contact/contact.component.ts @@ -1,5 +1,7 @@ import { Component } from '@angular/core'; +import { DataService } from '@services/data.service'; + @Component({ selector: 'app-contact', standalone: false, @@ -7,5 +9,9 @@ import { Component } from '@angular/core'; styleUrl: './contact.component.css' }) export class ContactComponent { - + constructor(private dataService: DataService) {} + + get addresses() { + return this.dataService.getAddresses(); + } } diff --git a/src/app/component/home/all/home-symptoms/home-symptoms.component.html b/src/app/component/home/all/home-symptoms/home-symptoms.component.html index 775870f..28830f8 100644 --- a/src/app/component/home/all/home-symptoms/home-symptoms.component.html +++ b/src/app/component/home/all/home-symptoms/home-symptoms.component.html @@ -4,10 +4,10 @@
{{ symptom.description }}
diff --git a/src/app/component/symptoms/symptoms.component.html b/src/app/component/symptoms/symptoms.component.html index 639f503..70cc473 100644 --- a/src/app/component/symptoms/symptoms.component.html +++ b/src/app/component/symptoms/symptoms.component.html @@ -1 +1,18 @@ -symptoms works!
+Lorem, ipsum dolor sit amet consectetur...
+{{ symptom.description }}
+