File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ import { BlogService } from '../services/blog.service';
15
15
<mat-toolbar class="footer">
16
16
<p>© {{ date }} {{ blogName }}</p>
17
17
<small
18
- >Created using<a href="https://github.com/AnguHashBlog " target="_blank"
19
- >AnguHashBlog </a
18
+ >Created using<a href="https://github.com/HashBlogWithAngular " target="_blank"
19
+ >HashBlogWithAngular </a
20
20
> and<a href="https://analogjs.org" target="_blank"
21
21
>Analog</a
22
22
></small
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export class BlogSocialIconsComponent {
42
42
private iconRegistry : MatIconRegistry ,
43
43
private sanitizer : DomSanitizer
44
44
) {
45
- const deployedUrl = "https://analogmaterial.anguhashblog.com /" ;
45
+ const deployedUrl = "https://analog-hashblog.withangular.dev /" ;
46
46
iconRegistry . addSvgIcon ( "twitter" ,
47
47
this . sanitizer . bypassSecurityTrustResourceUrl ( `${ deployedUrl } icons/twitter.svg` )
48
48
) ;
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ import { BlogService } from "../services/blog.service";
151
151
` ,
152
152
} )
153
153
export class SettingsDialogComponent implements OnInit {
154
- blogURL : string = "hashnode.anguhashblog.com " ;
154
+ blogURL : string = "hashblog-withangular. hashnode.dev " ;
155
155
newBlogURL : string = "" ;
156
156
blogURLChanged : boolean = false ;
157
157
blogService : BlogService = inject ( BlogService ) ;
@@ -160,7 +160,7 @@ export class SettingsDialogComponent implements OnInit {
160
160
161
161
ngOnInit ( ) : void {
162
162
this . blogURL = this . blogService . getBlogURL ( ) ;
163
- if ( this . blogURL === "hashnode.anguhashblog.com " ) {
163
+ if ( this . blogURL === "hashblog-withangular. hashnode.dev " ) {
164
164
this . blogURLChanged = false ;
165
165
} else {
166
166
this . blogURLChanged = true ;
@@ -170,7 +170,7 @@ export class SettingsDialogComponent implements OnInit {
170
170
changeBlogURL ( ) : void {
171
171
this . blogService . setBlogURL ( this . newBlogURL ) ;
172
172
this . blogURL = this . blogService . getBlogURL ( ) ;
173
- if ( this . blogURL === "hashnode.anguhashblog.com " ) {
173
+ if ( this . blogURL === "hashblog-withangular. hashnode.dev " ) {
174
174
this . blogURLChanged = false ;
175
175
} else {
176
176
this . blogURLChanged = true ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { isPlatformBrowser } from "@angular/common";
18
18
providedIn : "root" ,
19
19
} )
20
20
export class BlogService {
21
- blogURL : string = "hashnode.anguhashblog.com " ;
21
+ blogURL : string = "hashblog-withangular. hashnode.dev " ;
22
22
private readonly localStorageKey = "userBlogURL" ;
23
23
24
24
constructor (
@@ -30,10 +30,10 @@ export class BlogService {
30
30
if ( isPlatformBrowser ( this . platformId ) ) {
31
31
return (
32
32
localStorage . getItem ( this . localStorageKey ) ||
33
- "hashnode.anguhashblog.com "
33
+ "hashblog-withangular. hashnode.dev "
34
34
) ;
35
35
}
36
- return "hashnode.anguhashblog.com " ;
36
+ return "hashblog-withangular. hashnode.dev " ;
37
37
}
38
38
39
39
setBlogURL ( newBlogURL : string ) : void {
@@ -45,7 +45,7 @@ export class BlogService {
45
45
46
46
resetBlogURL ( ) : void {
47
47
localStorage . removeItem ( this . localStorageKey ) ;
48
- this . blogURL = "hashnode.anguhashblog.com " ;
48
+ this . blogURL = "hashblog-withangular. hashnode.dev " ;
49
49
}
50
50
51
51
getBlogInfo ( host : string ) : Observable < BlogInfo > {
You can’t perform that action at this time.
0 commit comments