build: initialize RetroHub with Laravel, Inertia, Vue, and Horizon

This commit is contained in:
2026-08-10 13:45:18 +02:00
commit 717db65139
218 changed files with 28356 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<script setup lang="ts">
import Navigation from '@/Shared/Components/Navigation.vue';
interface Props {
title?: string;
user: {
name: string;
email: string;
};
}
defineProps<Props>();
</script>
<template>
<div class="min-h-screen bg-gray-100 dark:bg-gray-900">
<Navigation :user="user" />
<header v-if="$slots.header" class="bg-white dark:bg-gray-800 shadow">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<slot name="header" />
</div>
</header>
<main>
<slot />
</main>
</div>
</template>
@@ -0,0 +1,22 @@
<script setup>
import ApplicationLogo from '@/Shared/Components/ApplicationLogo.vue';
import { Link } from '@inertiajs/vue3';
</script>
<template>
<div
class="flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0 dark:bg-gray-900"
>
<div>
<Link href="/">
<ApplicationLogo class="h-20 w-20 fill-current text-gray-500" />
</Link>
</div>
<div
class="mt-6 w-full overflow-hidden bg-white px-6 py-4 shadow-md sm:max-w-md sm:rounded-lg dark:bg-gray-800"
>
<slot />
</div>
</div>
</template>