Skip to content

Commit cf3c850

Browse files
Merge pull request #14 from HashBlogWithAngular/develop
Develop
2 parents 9b7f115 + 43e2742 commit cf3c850

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/app/components/footer.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import { BlogService } from '../services/blog.service';
1515
<mat-toolbar class="footer">
1616
<p>&copy; {{ date }} {{ blogName }}</p>
1717
<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
2020
> and<a href="https://analogjs.org" target="_blank"
2121
>Analog</a
2222
></small

src/app/partials/blog-social-icons.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class BlogSocialIconsComponent {
4242
private iconRegistry: MatIconRegistry,
4343
private sanitizer: DomSanitizer
4444
) {
45-
const deployedUrl = "https://analogmaterial.anguhashblog.com/";
45+
const deployedUrl = "https://analog-hashblog.withangular.dev/";
4646
iconRegistry.addSvgIcon("twitter",
4747
this.sanitizer.bypassSecurityTrustResourceUrl(`${deployedUrl}icons/twitter.svg`)
4848
);

src/app/partials/settings-dialog.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ import { BlogService } from "../services/blog.service";
151151
`,
152152
})
153153
export class SettingsDialogComponent implements OnInit {
154-
blogURL: string = "hashnode.anguhashblog.com";
154+
blogURL: string = "hashblog-withangular.hashnode.dev";
155155
newBlogURL: string = "";
156156
blogURLChanged: boolean = false;
157157
blogService: BlogService = inject(BlogService);
@@ -160,7 +160,7 @@ export class SettingsDialogComponent implements OnInit {
160160

161161
ngOnInit(): void {
162162
this.blogURL = this.blogService.getBlogURL();
163-
if (this.blogURL === "hashnode.anguhashblog.com") {
163+
if (this.blogURL === "hashblog-withangular.hashnode.dev") {
164164
this.blogURLChanged = false;
165165
} else {
166166
this.blogURLChanged = true;
@@ -170,7 +170,7 @@ export class SettingsDialogComponent implements OnInit {
170170
changeBlogURL(): void {
171171
this.blogService.setBlogURL(this.newBlogURL);
172172
this.blogURL = this.blogService.getBlogURL();
173-
if (this.blogURL === "hashnode.anguhashblog.com") {
173+
if (this.blogURL === "hashblog-withangular.hashnode.dev") {
174174
this.blogURLChanged = false;
175175
} else {
176176
this.blogURLChanged = true;

src/app/services/blog.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { isPlatformBrowser } from "@angular/common";
1818
providedIn: "root",
1919
})
2020
export class BlogService {
21-
blogURL: string = "hashnode.anguhashblog.com";
21+
blogURL: string = "hashblog-withangular.hashnode.dev";
2222
private readonly localStorageKey = "userBlogURL";
2323

2424
constructor(
@@ -30,10 +30,10 @@ export class BlogService {
3030
if (isPlatformBrowser(this.platformId)) {
3131
return (
3232
localStorage.getItem(this.localStorageKey) ||
33-
"hashnode.anguhashblog.com"
33+
"hashblog-withangular.hashnode.dev"
3434
);
3535
}
36-
return "hashnode.anguhashblog.com";
36+
return "hashblog-withangular.hashnode.dev";
3737
}
3838

3939
setBlogURL(newBlogURL: string): void {
@@ -45,7 +45,7 @@ export class BlogService {
4545

4646
resetBlogURL(): void {
4747
localStorage.removeItem(this.localStorageKey);
48-
this.blogURL = "hashnode.anguhashblog.com";
48+
this.blogURL = "hashblog-withangular.hashnode.dev";
4949
}
5050

5151
getBlogInfo(host: string): Observable<BlogInfo> {

0 commit comments

Comments
 (0)