Skip to content

Commit

Permalink
fix: fix privacy policy and terms of service display (#7224)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Apr 9, 2024
1 parent 7f932bd commit 91c1773
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
1 change: 0 additions & 1 deletion public/img/auth/twitter.svg

This file was deleted.

23 changes: 23 additions & 0 deletions resources/js/Pages/PrivacyPolicy.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<script setup>
import AuthenticationCardLogo from '@/Components/AuthenticationCardLogo.vue';
defineProps({
policy: String,
});
</script>

<template>
<div class="font-sans text-gray-900 antialiased">
<div class="pt-4 bg-gray-100">
<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 shadow-md dark:shadow-gray-700 overflow-hidden sm:rounded-lg prose"
v-html="policy"></div>
</div>
</div>
</div>
</template>
23 changes: 23 additions & 0 deletions resources/js/Pages/TermsOfService.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<script setup>
import AuthenticationCardLogo from '@/Components/AuthenticationCardLogo.vue';
defineProps({
terms: String,
});
</script>

<template>
<div class="font-sans text-gray-900 antialiased">
<div class="pt-4 bg-gray-100">
<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 shadow-md dark:shadow-gray-700 overflow-hidden sm:rounded-lg prose"
v-html="terms"></div>
</div>
</div>
</div>
</template>

0 comments on commit 91c1773

Please sign in to comment.