@@ -23,7 +23,7 @@ import { MatIcon, MatIconRegistry } from "@angular/material/icon";
2323 flex-wrap: wrap;
2424 align-items: flex-start;
2525 justify-content: center;
26- gap: 0.3rem ;
26+ gap: 0.5rem ;
2727
2828 a {
2929 mat-icon {
@@ -42,32 +42,33 @@ export class BlogSocialIconsComponent {
4242 private iconRegistry : MatIconRegistry ,
4343 private sanitizer : DomSanitizer
4444 ) {
45+ const deployedUrl = "https://analogmaterial.anguhashblog.com/" ;
4546 iconRegistry . addSvgIcon ( "twitter" ,
46- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/twitter.svg" )
47+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/twitter.svg` )
4748 ) ;
4849 this . iconRegistry . addSvgIcon ( "instagram" ,
49- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/instagram.svg" )
50+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/instagram.svg` )
5051 ) ;
5152 this . iconRegistry . addSvgIcon ( "github" ,
52- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/github.svg" )
53+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/github.svg` )
5354 ) ;
5455 this . iconRegistry . addSvgIcon ( "website" ,
55- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/website.svg" )
56+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/website.svg` )
5657 ) ;
5758 this . iconRegistry . addSvgIcon ( "hashnode" ,
58- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/hashnode.svg" )
59+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/hashnode.svg` )
5960 ) ;
6061 this . iconRegistry . addSvgIcon ( "youtube" ,
61- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/youtube.svg" )
62+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/youtube.svg` )
6263 ) ;
6364 this . iconRegistry . addSvgIcon ( "dailydev" ,
64- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/dailydev.svg" )
65+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/dailydev.svg` )
6566 ) ;
6667 this . iconRegistry . addSvgIcon ( "linkedin" ,
67- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/linkedin.svg" )
68+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/linkedin.svg` )
6869 ) ;
6970 this . iconRegistry . addSvgIcon ( "mastodon" ,
70- this . sanitizer . bypassSecurityTrustResourceUrl ( "/ icons/mastodon.svg" )
71+ this . sanitizer . bypassSecurityTrustResourceUrl ( ` ${ deployedUrl } icons/mastodon.svg` )
7172 ) ;
7273 }
7374}
0 commit comments