-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b2807b
commit cc95ba6
Showing
10 changed files
with
722 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use Illuminate\Http\Request; | ||
use Illuminate\Routing\Controller; | ||
use Illuminate\Support\Str; | ||
use Inertia\Inertia; | ||
use Laravel\Jetstream\Jetstream; | ||
|
||
class RefundPolicyController extends Controller | ||
{ | ||
/** | ||
* Show the privacy policy for the application. | ||
* | ||
* @return \Inertia\Response | ||
*/ | ||
public function show(Request $request) | ||
{ | ||
$policyFile = Jetstream::localizedMarkdownPath('refund.md'); | ||
|
||
return Inertia::render('RefundPolicy', [ | ||
'policy' => Str::markdown(file_get_contents($policyFile)), | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
<script setup> | ||
import LegalNotice from "@/Components/LegalNotice.vue"; | ||
</script> | ||
|
||
<template> | ||
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100 dark:bg-gray-900"> | ||
<div | ||
class="min-h-screen flex flex-col items-center justify-around pt-6 sm:pt-0 bg-gray-100 dark:bg-gray-900" | ||
> | ||
<div> | ||
<slot name="logo" /> | ||
</div> | ||
<div> | ||
<slot name="logo" /> | ||
</div> | ||
|
||
<div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white dark:bg-gray-800 shadow-md overflow-hidden sm:rounded-lg"> | ||
<slot /> | ||
<div | ||
class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white dark:bg-gray-800 shadow-md overflow-hidden sm:rounded-lg" | ||
> | ||
<slot /> | ||
</div> | ||
</div> | ||
|
||
<LegalNotice /> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<template> | ||
<div class="flex flex-col items-center"> | ||
<a | ||
href="https://x.com/b_shulha" | ||
class="flex gap-2 text-sm" | ||
target="_blank" | ||
> | ||
<svg | ||
class="w-6 h-6 text-gray-800 dark:text-white" | ||
aria-hidden="true" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
fill="currentColor" | ||
viewBox="0 0 24 24" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
d="M22 5.892a8.178 8.178 0 0 1-2.355.635 4.074 4.074 0 0 0 1.8-2.235 8.343 8.343 0 0 1-2.605.981A4.13 4.13 0 0 0 15.85 4a4.068 4.068 0 0 0-4.1 4.038c0 .31.035.618.105.919A11.705 11.705 0 0 1 3.4 4.734a4.006 4.006 0 0 0 1.268 5.392 4.165 4.165 0 0 1-1.859-.5v.05A4.057 4.057 0 0 0 6.1 13.635a4.192 4.192 0 0 1-1.856.07 4.108 4.108 0 0 0 3.831 2.807A8.36 8.36 0 0 1 2 18.184 11.732 11.732 0 0 0 8.291 20 11.502 11.502 0 0 0 19.964 8.5c0-.177 0-.349-.012-.523A8.143 8.143 0 0 0 22 5.892Z" | ||
clip-rule="evenodd" | ||
/> | ||
</svg> | ||
|
||
<span class="underline hover:text-blue-500">@b_shulha</span> | ||
</a> | ||
|
||
<div | ||
class="w-full flex flex-col gap-4 items-center px-6 py-4 text-xs text-gray-500" | ||
> | ||
<div> | ||
<a | ||
href="https://ptah.sh/" | ||
class="underline hover:text-blue-500" | ||
target="_blank" | ||
>Ptah.sh</a | ||
> | ||
© {{ new Date().getFullYear() }} | ||
</div> | ||
<div class="flex gap-4"> | ||
<div> | ||
<div>Operated by Bohdan Shulha, Private Entrepreneur</div> | ||
<div>00-833, Warsaw, ul. Sienna 75, lok. 8.51</div> | ||
</div> | ||
<div> | ||
<div>Tax Identification Number (NIP): 5223265838</div> | ||
<div> | ||
Contact Email: | ||
<a | ||
href="mailto:[email protected]" | ||
class="underline hover:text-blue-500" | ||
>[email protected]</a | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script setup lang="ts"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<script setup> | ||
import { Head } from "@inertiajs/vue3"; | ||
import AuthenticationCardLogo from "@/Components/AuthenticationCardLogo.vue"; | ||
defineProps({ | ||
policy: String, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<Head title="Refund Policy" /> | ||
|
||
<div class="font-sans text-gray-900 dark:text-gray-100 antialiased"> | ||
<div class="pt-4 bg-gray-100 dark:bg-gray-900"> | ||
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0"> | ||
<div> | ||
<AuthenticationCardLogo /> | ||
</div> | ||
|
||
<div | ||
class="w-full sm:max-w-2xl mt-6 p-6 bg-white dark:bg-gray-800 shadow-md overflow-hidden sm:rounded-lg prose dark:prose-invert" | ||
v-html="policy" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
Oops, something went wrong.