mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
feat: add support section in settings
This commit is contained in:
parent
393fa9598c
commit
9f23a7a48e
4 changed files with 37 additions and 1 deletions
33
resources/views/livewire/settings/support.blade.php
Normal file
33
resources/views/livewire/settings/support.blade.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<section class="w-full">
|
||||
@include('partials.settings-heading')
|
||||
|
||||
<x-settings.layout heading="Support" subheading="Support the development of this project">
|
||||
|
||||
<div class="flex items-center gap-4">
|
||||
<div class="flex items-center justify-end gap-2">
|
||||
<flux:button class="w-42"
|
||||
href="https://github.com/sponsors/bnussbau"
|
||||
target="_blank"
|
||||
icon:trailing="arrow-up-right">{{ __('GitHub Sponsors') }}</flux:button>
|
||||
<flux:button class="w-42"
|
||||
href="https://www.buymeacoffee.com/bnussbau"
|
||||
target="_blank"
|
||||
icon:trailing="arrow-up-right">{{ __('Buy me a coffee') }}</flux:button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative mt-10">
|
||||
<flux:heading>{{ __('Referral Code') }}</flux:heading>
|
||||
<flux:subheading>{{ __('Use the code to receive a $15 discount on your TRMNL device purchase.') }}</flux:subheading>
|
||||
|
||||
<div class="mt-3 flex items-center justify-start gap-2">
|
||||
<flux:input value="laravel-trmnl" readonly copyable class="max-w-42"/>
|
||||
<flux:button class="w-42"
|
||||
href="https://usetrmnl.com/?ref=laravel-trmnl"
|
||||
target="_blank"
|
||||
icon:trailing="arrow-up-right">{{ __('Referral link') }}</flux:button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</x-settings.layout>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue