diff --git a/public/images/icon-buycoffee.svg b/public/images/icon-buycoffee.svg new file mode 100644 index 0000000..e37f21d --- /dev/null +++ b/public/images/icon-buycoffee.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/icon-coffee.png b/public/images/icon-coffee.png new file mode 100644 index 0000000..da0a35a Binary files /dev/null and b/public/images/icon-coffee.png differ diff --git a/src/components/Global/Donation.vue b/src/components/Global/Donation.vue index 90d3317..14e4b09 100644 --- a/src/components/Global/Donation.vue +++ b/src/components/Global/Donation.vue @@ -1,7 +1,7 @@ @@ -58,19 +58,28 @@ @@ -99,25 +108,13 @@ export default defineComponent({ diff --git a/src/locales/en.json b/src/locales/en.json index 68cfa93..d14a274 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -14,7 +14,8 @@ "p4-b2": "a symbolic highlight", "p5": "Thank you and enjoy the app!
~ Spythere", "action-exit": "Maybe next time...", - "action-confirm": "DONATE!", + "action-paypal": "DONATE WITH PAYPAL", + "action-buycoffee": "BUY ME A COFFEE!", "dispatcher-message": "Dispatcher supporting the Stacjownik project!", "driver-message": "Driver supporting the Stacjownik project!" }, diff --git a/src/locales/pl.json b/src/locales/pl.json index c47c453..89cf4d6 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -14,7 +14,8 @@ "p4-b2": "wyróżnienie", "p5": "Dzięki i miłego korzystania z aplikacji!
~ Spythere", "action-exit": "Może kiedy indziej...", - "action-confirm": "WSPOMÓŻ!", + "action-paypal": "PRZELEJ PAYPALEM", + "action-buycoffee": "POSTAW KAWĘ!", "dispatcher-message": "Dyżurny wspierający projekt Stacjownika!", "driver-message": "Maszynista wspierający projekt Stacjownika!" }, diff --git a/src/styles/global.scss b/src/styles/global.scss index 18c5215..f749bf9 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -164,7 +164,8 @@ ul { } } -button { +button, +a.a-button { cursor: pointer; color: white; background: none; @@ -184,44 +185,44 @@ button { pointer-events: none; opacity: 0.85; } -} -button.btn--filled { - background-color: #1a1a1a; + &.btn--filled { + background-color: #1a1a1a; - &:hover { - background-color: #2a2a2a; + &:hover { + background-color: #2a2a2a; + } } -} -button.btn--action { - background-color: #424242; - border-radius: 0.25em; + &.btn--action { + background-color: #424242; + border-radius: 0.25em; - &:hover { - background-color: #555; + &:hover { + background-color: #555; + } } -} -button.btn--option { - color: white; - background-color: #333; + &.btn--option { + color: white; + background-color: #333; - &.checked { - color: var(--clr-primary); + &.checked { + color: var(--clr-primary); + font-weight: bold; + + background-color: #3c3c3c; + } + } + + &.btn--image { font-weight: bold; + padding: 0.35em 0.75em; - background-color: #3c3c3c; - } -} - -button.btn--image { - font-weight: bold; - padding: 0.35em 0.75em; - - img { - width: 1.5em; - vertical-align: middle; + img { + width: 1.5em; + vertical-align: middle; + } } }