Primer commit

This commit is contained in:
2026-08-03 18:01:15 +02:00
commit 99b9fed37f
121 changed files with 18222 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
<script setup>
import { ref } from 'vue';
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
import Dropdown from '@/Components/Dropdown.vue';
import DropdownLink from '@/Components/DropdownLink.vue';
import NavLink from '@/Components/NavLink.vue';
import ResponsiveNavLink from '@/Components/ResponsiveNavLink.vue';
import { Link } from '@inertiajs/vue3';
const showingNavigationDropdown = ref(false);
</script>
<template>
<div>
<div class="min-vh-100 bg-light">
<nav class="navbar navbar-expand-lg navbar-light bg-white border-bottom shadow-sm">
<div class="container">
<Link :href="route('dashboard')" class="navbar-brand d-flex align-items-center me-3">
<ApplicationLogo style="height: 36px; width: auto;" />
</Link>
<div class="d-none d-lg-flex align-items-center gap-2">
<NavLink :href="route('dashboard')" :active="route().current('dashboard')">
Dashboard
</NavLink>
<NavLink :href="route('projects.index')" :active="route().current('projects.index')">
Projects
</NavLink>
</div>
<div class="ms-auto d-flex align-items-center gap-2">
<Dropdown align="right" width="48">
<template #trigger>
<button type="button" class="btn btn-outline-secondary btn-sm">
{{ $page.props.auth.user.name }}
</button>
</template>
<template #content>
<DropdownLink :href="route('profile.edit')">Profile</DropdownLink>
<DropdownLink :href="route('logout')" method="post" as="button">Log Out</DropdownLink>
</template>
</Dropdown>
</div>
</div>
</nav>
<header class="bg-white border-bottom" v-if="$slots.header">
<div class="container py-3">
<slot name="header" />
</div>
</header>
<main>
<slot />
</main>
</div>
</div>
</template>

View File

@@ -0,0 +1,20 @@
<script setup>
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
import { Link } from '@inertiajs/vue3';
</script>
<template>
<div class="min-vh-100 bg-light d-flex flex-column align-items-center justify-content-center py-4">
<div class="mb-4">
<Link href="/">
<ApplicationLogo class="d-block" style="height: 80px; width: 80px;" />
</Link>
</div>
<div class="card shadow-sm w-100" style="max-width: 28rem;">
<div class="card-body p-4 p-sm-5">
<slot />
</div>
</div>
</div>
</template>