diff --git a/apps/website/src/assets/.gitkeep b/apps/website/src/assets/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/apps/website/src/index.html b/apps/website/src/index.html index b2f4c821..8071d36e 100644 --- a/apps/website/src/index.html +++ b/apps/website/src/index.html @@ -1,4 +1,4 @@ - + @@ -18,7 +18,7 @@ /> diff --git a/libs/blog/feature-home/src/lib/blog-home.component.ts b/libs/blog/feature-home/src/lib/blog-home.component.ts index 2a9d7302..96ebcb6c 100644 --- a/libs/blog/feature-home/src/lib/blog-home.component.ts +++ b/libs/blog/feature-home/src/lib/blog-home.component.ts @@ -11,6 +11,7 @@ import { } from '@valerymelou/blob/data-access'; import { LinkComponent } from '@valerymelou/shared/ui'; import { RouterModule } from '@angular/router'; +import { MetadataService } from '@valerymelou/shared/seo'; @Component({ selector: 'blog-blog-home', @@ -23,12 +24,18 @@ export class BlogHomeComponent implements OnInit { tags$!: Observable>; ngOnInit(): void { + this.metadataService.updateMetadata({ + title: 'Inside my head | Valery Melou', + description: + 'I talk about Django, Angular... Web Development in general and many other topics. These are just a few of the things in my head.', + }); this.loadArticles(); this.loadTags(); } constructor( private articleService: ArticleService, + private metadataService: MetadataService, private tagService: TagService, ) {} diff --git a/libs/pages/about/src/lib/about.component.ts b/libs/pages/about/src/lib/about.component.ts index f43ebf76..776a6ab1 100644 --- a/libs/pages/about/src/lib/about.component.ts +++ b/libs/pages/about/src/lib/about.component.ts @@ -1,5 +1,6 @@ -import { Component } from '@angular/core'; +import { Component, OnInit } from '@angular/core'; import { CommonModule } from '@angular/common'; +import { MetadataService } from '@valerymelou/shared/seo'; @Component({ selector: 'app-about', @@ -7,4 +8,14 @@ import { CommonModule } from '@angular/common'; imports: [CommonModule], templateUrl: './about.component.html', }) -export class AboutComponent {} +export class AboutComponent implements OnInit { + constructor(private metadataService: MetadataService) {} + + ngOnInit(): void { + this.metadataService.updateMetadata({ + title: 'About myself (Valery Melou)', + description: + "I'm now specialized into web development. Building RESTfull APIs with Django and Python then, consuming those APIs with Angular and Typescript.", + }); + } +} diff --git a/libs/pages/home/src/lib/home.component.html b/libs/pages/home/src/lib/home.component.html index c28563b2..930718d8 100644 --- a/libs/pages/home/src/lib/home.component.html +++ b/libs/pages/home/src/lib/home.component.html @@ -9,7 +9,7 @@

mobile.

- Check my work + Learn more
diff --git a/libs/pages/home/src/lib/home.component.ts b/libs/pages/home/src/lib/home.component.ts index 94616b73..9cb3eb59 100644 --- a/libs/pages/home/src/lib/home.component.ts +++ b/libs/pages/home/src/lib/home.component.ts @@ -1,12 +1,24 @@ -import { Component } from '@angular/core'; +import { Component, OnInit } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ButtonComponent } from '@valerymelou/shared/ui'; +import { MetadataService } from '@valerymelou/shared/seo'; +import { RouterModule } from '@angular/router'; @Component({ selector: 'app-home', standalone: true, - imports: [CommonModule, ButtonComponent], + imports: [CommonModule, RouterModule, ButtonComponent], templateUrl: './home.component.html', styles: ':host {display: flex; flex-direction: column; flex: 1;}', }) -export class HomeComponent {} +export class HomeComponent implements OnInit { + constructor(private metadataService: MetadataService) {} + + ngOnInit(): void { + this.metadataService.updateMetadata({ + title: 'Home of Valery Melou', + description: + 'I build beautiful, interactive and accessible experiences for web and mobile.', + }); + } +} diff --git a/libs/pages/projects/src/lib/projects.component.html b/libs/pages/projects/src/lib/projects.component.html index 863f55b7..3b41bc82 100644 --- a/libs/pages/projects/src/lib/projects.component.html +++ b/libs/pages/projects/src/lib/projects.component.html @@ -2,7 +2,7 @@

- Some things I've built + Some of the things I've built