diff --git a/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.html b/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.html index 714390e1d..2b5ef603c 100644 --- a/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.html +++ b/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.html @@ -4,8 +4,8 @@
-

Support Booklore

-

Help us grow and improve

+

Support BookLore

+

From a solo dev who loves books

-
- - Open Source & Community Driven - -

- Booklore -

-

- A modern platform crafted to help you curate, organize, and cherish your personal library with elegance and simplicity. -

-
+

+ I built BookLore on my own time because I wanted a book manager that actually felt good to use. Thousands of hours have gone into making it what it is today. + If it's been useful to you, here's how you can say thanks. +

-
- - - + - - -
-

- Your support and engagement fuel Booklore's continuous evolution and inspire meaningful improvements. -

-

- ACX10, Creator & Maintainer

-
+

Thank you for being part of the BookLore community.

diff --git a/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.scss b/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.scss index ffb474c4c..21db61b52 100644 --- a/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.scss +++ b/booklore-ui/src/app/shared/components/github-support-dialog/github-support-dialog.scss @@ -11,7 +11,7 @@ } .dialog-content { - padding: 1.5rem 1.5rem 2.5rem; + padding: 1.5rem; background: var(--card-background); border: 1px solid var(--border-color); border-top: none; @@ -19,127 +19,108 @@ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); } -.header-section { +.intro { + font-size: 1rem; + line-height: 1.7; + color: var(--text-color-secondary); text-align: center; - margin-bottom: 1.5rem; - - .badge { - display: inline-block; - padding: 0.375rem 1rem; - border-radius: 9999px; - background: linear-gradient(to right, rgba(59, 130, 246, 0.4), rgba(99, 102, 241, 0.4)); - color: var(--primary-text-color); - font-size: 0.75rem; - font-weight: 600; - letter-spacing: 0.05em; - margin-bottom: 1rem; - box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); - } - - .title { - font-size: 2rem; - font-weight: 700; - color: var(--high-contrast-text-color); - margin-bottom: 0.75rem; - letter-spacing: -0.025em; - } - - .description { - font-size: 0.9375rem; - line-height: 1.6; - color: var(--text-color-secondary); - max-width: 750px; - margin: 0 auto; - } + margin: 0 0 1.5rem; } -.message-section { - text-align: center; - margin-top: 1.5rem; - padding-top: 1.5rem; - border-top: 1px solid var(--border-color); - - .message { - font-size: 0.875rem; - line-height: 1.6; - color: var(--primary-text-color); - margin-bottom: 0.5rem; - } - - .author { - font-size: 0.875rem; - font-weight: 300; - color: var(--primary-text-color); - } -} - -.actions-section { +.support-cards { display: flex; + flex-direction: column; + gap: 0.75rem; +} + +.support-card { + display: flex; + align-items: center; gap: 1rem; - justify-content: center; - margin-bottom: 1.5rem; + padding: 1rem 1.125rem; + border-radius: 10px; + border: 1px solid var(--border-color); + background: var(--ground-background); + text-decoration: none; + color: inherit; + transition: border-color 0.2s, transform 0.15s; - a { - text-decoration: none; - flex: 0 1 auto; + &:hover { + transform: translateY(-1px); } - @media (max-width: 768px) { - flex-direction: column; + &.star-card { + border-color: rgba(34, 197, 94, 0.3); - a { - width: 100%; + &:hover { + border-color: rgb(34, 197, 94); } - ::ng-deep .action-button { - width: 100%; + .card-icon { + color: rgb(34, 197, 94); + } + } + + &.collective-card { + border-color: rgba(99, 102, 241, 0.3); + + &:hover { + border-color: rgb(99, 102, 241); + } + + .card-icon { + color: rgb(99, 102, 241); + } + } + + &.kofi-card { + border-color: rgba(251, 146, 60, 0.3); + + &:hover { + border-color: rgb(251, 146, 60); + } + + .card-icon { + color: rgb(251, 146, 60); } } } -.footer-section { +.card-icon { + font-size: 1.5rem; + flex-shrink: 0; +} + +.card-text { + flex: 1; + min-width: 0; + display: flex; + flex-direction: column; + gap: 0.2rem; +} + +.card-title { + font-size: 1rem; + font-weight: 600; + color: var(--text-color); +} + +.card-desc { + font-size: 0.875rem; + color: var(--text-secondary-color); + line-height: 1.5; +} + +.card-arrow { + font-size: 0.85rem; + color: var(--text-secondary-color); + flex-shrink: 0; +} + +.closing { text-align: center; - padding-top: 1.5rem; - border-top: 1px solid var(--border-color); - - .support-info { - font-size: 0.875rem; - line-height: 1.6; - color: var(--text-color-secondary); - margin: 0 auto 1.25rem; - - p { - margin-bottom: 0.875rem; - - &:last-child { - margin-bottom: 0; - } - } - - .highlight { - font-weight: 600; - color: var(--primary-text-color); - - &.github { - color: limegreen; - } - - &.open-collective { - color: dodgerblue; - } - } - - .final-message { - padding-top: 0.25rem; - color: #fcd34d; - } - } - - .commitment { - font-size: 0.875rem; - font-weight: 600; - letter-spacing: 0.025em; - color: #6ee7b7; - margin-bottom: 0; - } + font-size: 0.9rem; + font-weight: 500; + color: var(--primary-text-color); + margin: 1.5rem 0 0; } diff --git a/booklore-ui/src/app/shared/services/dialog-launcher.service.ts b/booklore-ui/src/app/shared/services/dialog-launcher.service.ts index 7ba3c1c33..daf73fe32 100644 --- a/booklore-ui/src/app/shared/services/dialog-launcher.service.ts +++ b/booklore-ui/src/app/shared/services/dialog-launcher.service.ts @@ -73,7 +73,7 @@ export class DialogLauncherService { openGithubSupportDialog(): DynamicDialogRef | null { return this.openDialog(GithubSupportDialog, { showHeader: false, - styleClass: `${DialogSize.LG} ${DialogStyle.MINIMAL}`, + styleClass: `${DialogSize.MD} ${DialogStyle.MINIMAL}`, }); }