mirror of
https://gh.wpcy.net/https://github.com/fairpm/aspirecloud.git
synced 2026-06-20 02:22:28 +08:00
* feat: Changes required on existing files to setup Jetstream * feat: add the Inertia Home and Dashboard * feat: Add all required files and migrations to setup Jetstream * feat: Add the Sanctum middleware to the API endpoints - Added Sanctum to the API endpoints to requiere an API Key - Added a setting to control if the app should use authenticated API or not (see .env.example) - Fix redirection on API routes to the login page when a request was unauthenticated * feat: Users Management and Authication API Keys - Refactor existing tests to make authenticated request is enable - Hide the permissions setting on the UI, for now we only have a read-only API - Add tests to test authenticated and unauthenticated calls
24 lines
756 B
Vue
24 lines
756 B
Vue
<script setup>
|
|
import { Head } from '@inertiajs/vue3';
|
|
import AuthenticationCardLogo from '@/Components/AuthenticationCardLogo.vue';
|
|
|
|
defineProps({
|
|
policy: String,
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<Head title="Privacy 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>
|