Add support buttons

This commit is contained in:
2025-06-03 10:00:11 +03:00
parent 80fe63b82e
commit edb772489f
5 changed files with 31 additions and 7 deletions

View File

@@ -6,10 +6,10 @@ const { user, clear } = useUserSession();
<div class="w-full h-16 border-b-4 border-b-orange-500 flex"> <div class="w-full h-16 border-b-4 border-b-orange-500 flex">
<UContainer class="max-w-2xl flex justify-between items-center"> <UContainer class="max-w-2xl flex justify-between items-center">
<div class="flex gap-2 items-center"> <div class="flex gap-2 items-center">
<NuxtImg src="/ghostwriter-logo.png" class="size-9" />
<div class="font-bold text-xl tracking-tight font-fira-code"> <div class="font-bold text-xl tracking-tight font-fira-code">
Ghostwriter Ghostwriter
</div> </div>
<NuxtImg src="/ghostwriter-logo.png" class="size-9" />
</div> </div>
<UDropdownMenu :items="[{ label: 'Log out', onSelect: () => clear() }]"> <UDropdownMenu :items="[{ label: 'Log out', onSelect: () => clear() }]">
<UAvatar <UAvatar

View File

@@ -4,8 +4,12 @@
> >
<div class="text-center"> <div class="text-center">
Built with 💪 in Athens, Greece 🇬🇷 by Marios Antonoudiou. Built with 💪 in Athens, Greece 🇬🇷 by Marios Antonoudiou.
<ULink class="underline" href="mailto:mariosant@sent.com"
>Send feedback</ULink <ULink
class="underline"
target="_blank"
href="https://buymeacoffee.com/mariosant"
>Support Ghostwriter 👻</ULink
>. >.
</div> </div>
<NuxtImg src="/images/powered-by-strava.svg" width="80px" /> <NuxtImg src="/images/powered-by-strava.svg" width="80px" />

View File

@@ -13,10 +13,10 @@ const { openInPopup } = useUserSession();
<UCard class="max-w-sm grid gap-6 justify-center items-center"> <UCard class="max-w-sm grid gap-6 justify-center items-center">
<div class="flex flex-col gap-10 items-center justify-center"> <div class="flex flex-col gap-10 items-center justify-center">
<div class="flex gap-2 items-center"> <div class="flex gap-2 items-center">
<NuxtImg src="/ghostwriter-logo.png" class="size-9" />
<div class="font-bold text-xl tracking-tight font-fira-code"> <div class="font-bold text-xl tracking-tight font-fira-code">
Ghostwriter Ghostwriter
</div> </div>
<NuxtImg src="/ghostwriter-logo.png" class="size-9" />
</div> </div>
<div class="grid gap-2"> <div class="grid gap-2">
<div class="text-center text-2xl font-bold"> <div class="text-center text-2xl font-bold">

View File

@@ -60,9 +60,9 @@ const saveOp = watchPausable(
<div class="font-bold text-lg">Welcome to Ghostwriter!</div> <div class="font-bold text-lg">Welcome to Ghostwriter!</div>
<div> <div>
Ghostwriter automatically generates fun and engaging titles and Let's generate fun and engaging titles and descriptions for your Strava
descriptions for your Strava activities, right when they are created. activities automatically, right when they are created. Customize your
Customize your preferences below. preferences below.
</div> </div>
<div> <div>
@@ -70,6 +70,26 @@ const saveOp = watchPausable(
choose your language, and we'll do the rest! choose your language, and we'll do the rest!
</div> </div>
</UContainer> </UContainer>
<UContainer class="max-w-2xl py-8 flex flex-col gap-4">
<div class="font-bold text-lg"> Support</div>
<UCard class="">
<div class="flex flex-col gap-8">
Ghostwriter 👻 is free but keeping it up and running is not! Please
consider supporting this application and it's author.
</div>
<template #footer>
<ULink href="https://buymeacoffee.com/mariosant" target="_blank">
<NuxtImg
src="images/bmac-orange-button.png"
height="32px"
class="h-8"
/>
</ULink>
</template>
</UCard>
</UContainer>
<UContainer <UContainer
class="max-w-2xl py-8 flex flex-col gap-4" class="max-w-2xl py-8 flex flex-col gap-4"
v-if="status === 'success'" v-if="status === 'success'"

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB