Implement GitHub Star Prompt via Topbar
This commit is contained in:
committed by
Aditya Chandel
parent
c3f54e0a88
commit
2d77644b8e
@@ -0,0 +1,15 @@
|
||||
<p class="mb-4" style="max-width: 450px; word-wrap: break-word; line-height: 1.5; font-size: 1rem;">
|
||||
I hope <strong>Booklore</strong> has made managing your book collection easier and more enjoyable.
|
||||
If you appreciate the project, please consider giving it a ⭐ on GitHub. Your support truly means a lot and motivates me to keep improving.
|
||||
</p>
|
||||
<p class="mb-4 text-left italic text-gray-300" style="max-width: 450px; font-size: 0.9rem;">
|
||||
— Aditya (Creator of BookLore)
|
||||
</p>
|
||||
<div class="flex justify-center" style="max-width: 450px; margin: auto;">
|
||||
<p-button
|
||||
label="Go to GitHub"
|
||||
icon="pi pi-github"
|
||||
size="small"
|
||||
(click)="openGithub()">
|
||||
</p-button>
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {Button} from 'primeng/button';
|
||||
|
||||
@Component({
|
||||
selector: 'app-github-support-dialog',
|
||||
imports: [
|
||||
Button
|
||||
],
|
||||
templateUrl: './github-support-dialog.html',
|
||||
styleUrl: './github-support-dialog.scss'
|
||||
})
|
||||
export class GithubSupportDialog {
|
||||
openGithub(): void {
|
||||
window.open('https://github.com/adityachandelgit/booklore', '_blank');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user