Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: πŸ› Bug report
description: Create a bug report to help us improve AnguHashBlog
description: Create a bug report to help us improve HashnodeWithAngular
title: "Bug: "
labels: [πŸ‘€ needs triage, πŸ› bug]
body:
Expand Down Expand Up @@ -48,5 +48,5 @@ body:
label: I would be willing to submit a PR to fix this issue
description: Assistance is provided if you need help submitting a pull request
options:
- label: "Yes and I have read the [Contribution Guide](https://anguhashblog.com/contributing) and I agree to follow this project's [Code of Conduct](https://anguhashblog.com/code-of-conduct)"
- label: 'No'
- label: "Yes and I have read the [Contribution Guide](https://hashnode.withangular.dev/contributing) and I agree to follow this project's [Code of Conduct](https://hashnode.withangular.dev/code-of-conduct)"
- label: 'No'
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ body:
label: I would be willing to submit a PR to fix this issue
description: Assistance is provided if you need help submitting a pull request
options:
- label: "Yes and I have read the [Contribution Guide](https://anguhashblog.com/contributing) and I agree to follow this project's [Code of Conduct](https://anguhashblog.com/code-of-conduct)"
- label: 'No'
- label: "Yes and I have read the [Contribution Guide](https://hashnode.withangular.dev/contributing) and I agree to follow this project's [Code of Conduct](https://hashnode.withangular.dev/code-of-conduct)"
- label: 'No'
2 changes: 1 addition & 1 deletion .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:

To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please reach out to us on [Discord](https://discord.gg/SQCFCACz) or follow up on the issue itself.

For full info on how to contribute, please check out our [contributors guide](https://anguhashblog.com/contributing).
For full info on how to contribute, please check out our [contributors guide](https://hashnode.withangular.dev/contributing).
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to AnguHashBlog
# Contributing to HashnodeWithAngular

First off, thanks for taking the time to contribute! ❀️

Expand Down Expand Up @@ -84,13 +84,13 @@ Even if the issue is labeled as not implemented, it remains your responsibility

Before you submit your Pull Request (PR) consider the following guidelines:

1. Search [AhguHashBlog](https://github.com/AnguHashBlog) for an open or closed PR that relates to your submission.
1. Search [HashnodeWithAngular](https://github.com/HashnodeWithAngular) for an open or closed PR that relates to your submission.
You don't want to duplicate existing efforts.

2. Be sure that an issue describes the problem you're fixing, or documents the design for the feature you'd like to add.
Discussing the design upfront helps to ensure that we're ready to accept your work.

3. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the `AnguHashBlog` repo of your choice.
3. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the `HashnodeWithAngular` repo of your choice.

4. In your forked repository, make your changes in a new git branch:

Expand Down Expand Up @@ -120,7 +120,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
git push origin my-fix-branch
```

10. In GitHub, send a pull request to `AnguHashBlog/angular-primeng:main`.
10. In GitHub, send a pull request to `HashnodeWithAngular/angular-primeng:main`.

**DO NOT** erase the provided PR template! It is intended for you to use, not to replace it with random text.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Angular PrimeNG App

Use this app version of
## ![anguhashblog logo](/anguhashblog-logo-readme.png) AnguHashBlog
## ![HashnodeWithAngular logo](./hashnode-withangular-logo-readme.png) HashnodeWithAngular
which allows you to connect your Hashnode Blog to
# ![angular logo](/angular.png) Angular

and includes the

### ![primeng logo](/primeng-logo.png) PrimeNG UI library
### ![primeng logo](/primeng-logo.png) PrimeNG UI library
File renamed without changes
Binary file removed public/images/anguhashblog-logo-purple-bgr.jpg
Binary file not shown.
Binary file removed public/images/angular-primeng-anguhashblog-dark.jpg
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/app/components/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<div class="toolbar-row">
<p>&copy; {{ date }} {{ blogName }}</p>
<small>Created using
<a href="https://github.com/HashBlogWithAngular/angular-primeng" target="_blank">
HashBlogWithAngular
<a href="https://github.com/HashnodeWithAngular/angular-primeng" target="_blank">
HashnodeWithAngular
</a>
</small>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/app/components/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class HeaderComponent implements OnInit, OnDestroy {
blogInfo!: BlogInfo;
blogId: string = "";
blogName: string = "";
blogImage: string = "/images/anguhashblog-logo-purple-bgr.jpg";
blogImage: string = "/images/hashnode-withangular-logo-purple-bgr.jpg";
blogSocialLinks!: BlogLinks;
checked: boolean = true;
selectedTheme: string = "dark";
Expand All @@ -61,15 +61,15 @@ export class HeaderComponent implements OnInit, OnDestroy {
if (this.blogInfo.isTeam && this.blogInfo.favicon) {
this.blogImage = this.blogInfo.favicon;
} else {
this.blogImage = "/images/anguhashblog-logo-purple-bgr.jpg";
this.blogImage = "/images/hashnode-withangular-logo-purple-bgr.jpg";
}
if (!this.blogInfo.isTeam) {
this.blogService.getAuthorInfo(this.blogURL).subscribe((data) => {
if (data.profilePicture) {
this.blogImage = data.profilePicture;
} else {
this.blogImage =
"/images/anguhashblog-logo-purple-bgr.jpg";
"/images/hashnode-withangular-logo-purple-bgr.jpg";
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p-dialog [(visible)]="visible" [style]="{width: '27vw'}">
<div class="logo-wrapper">
<img class="logo" src="/images/anguhashblog-logo-purple-bgr.jpg" alt="">
<img class="logo" src="/images/hashnode-withangular-logo-purple-bgr.jpg" alt="">
</div>
<h3>Hey, πŸ‘‹ sign up or sign in to interact.</h3>
<a class="button" href="https://hashnode.com/" target="_blank" rel="noopener noreferrer"><img src="/images/hashnode-logo-white.png" alt="Sign in">Sign in with Hashnode</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h3>{{blogURL}}</h3>
} @else {
<div class="dialog-content">
<h3>Try with your Blog</h3>
<p>try AnguHashBlog</p>
<p>try HashnodeWithAngular</p>
<small>with another Hashnode blog </small>
<span class="p-input-icon-right">
@if (newBlogInput) {
Expand Down
6 changes: 3 additions & 3 deletions src/app/partials/settings-dialog/settings-dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { ButtonModule } from "primeng/button";
})
export class SettingsDialogComponent implements OnInit {
visible = false;
blogURL: string = "hashblog-withangular.hashnode.dev";
blogURL: string = "blog-hashnode.withangular.dev";
newBlogInput: string = "";
newBlogURL: string = "";
blogURLChanged: boolean = false;
Expand All @@ -32,7 +32,7 @@ export class SettingsDialogComponent implements OnInit {

ngOnInit() {
this.blogURL = this.blogService.getBlogURL();
this.blogURLChanged = this.blogURL !== "hashblog-withangular.hashnode.dev";
this.blogURLChanged = this.blogURL !== "blog-hashnode.withangular.dev";
}

changeBlogURL(): void {
Expand All @@ -56,7 +56,7 @@ export class SettingsDialogComponent implements OnInit {
}

// Check if it's the default URL case
if (this.newBlogURL === "hashblog-withangular.hashnode.dev") {
if (this.newBlogURL === "blog-hashnode.withangular.dev") {
this.blogURLChanged = false;
return;
}
Expand Down
8 changes: 4 additions & 4 deletions src/app/services/blog.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { isPlatformBrowser } from "@angular/common";
providedIn: "root",
})
export class BlogService {
blogURL: string = "hashblog-withangular.hashnode.dev";
blogURL: string = "blog-hashnode.withangular.dev";
private readonly localStorageKey = "userBlogURL";

constructor(
Expand All @@ -30,10 +30,10 @@ export class BlogService {
if (isPlatformBrowser(this.platformId)) {
return (
localStorage.getItem(this.localStorageKey) ??
"hashblog-withangular.hashnode.dev"
"blog-hashnode.withangular.dev"
);
}
return "hashblog-withangular.hashnode.dev";
return "blog-hashnode.withangular.dev";
}

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

resetBlogURL(): void {
localStorage.removeItem(this.localStorageKey);
this.blogURL = "hashblog-withangular.hashnode.dev";
this.blogURL = "blog-hashnode.withangular.dev";
}

getBlogInfo(host: string): Observable<BlogInfo> {
Expand Down
8 changes: 4 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Angular PrimeNG | AnguHashBlog</title>
<title>Angular PrimeNG | HashnodeWithAngular</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="/images/angular-primeng-anguhashblog-dark.jpg" />
<meta property="og:image:secure_url" content="/images/angular-primeng-anguhashblog-dark.jpg" />
<meta property="og:image" content="/images/angular-primeng-hashnode-with-angular-dark.jpg" />
<meta property="og:image:secure_url" content="/images/angular-primeng-hashnode-with-angular-dark.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="675" />
<meta property="og:title" content="Angular (PrimeNG) Template for Hashnode Blogs" />
<meta property="og:description" content="AnguHashBlog - Open Source project by Esther White" />
<meta property="og:description" content="HashnodeWithAngular - Open Source project by Esther White" />
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link id="app-theme" rel="stylesheet" href="dark.css">
</head>
Expand Down