Files
rpotisk/resources/js/Layouts/GuestLayout.vue

49 lines
1.7 KiB
Vue

<script setup>
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
import { Link } from '@inertiajs/inertia-vue3';
import Logo from '@/Data/tis_full-1.svg';
</script>
<template>
<div class="min-h-screen bg-gray-100">
<nav class="flex items-center justify-between flex-wrap bg-stone-400 p-6">
<div class="flex items-center flex-no-shrink text-white mr-6">
<a href="https://transparency.sk/sk/">
<Logo class="fill-blue-700 mr-4" />
</a>
<Link :href="route('rpo')">
<span class="font-semibold text-xl tracking-tight">Register právnických osôb</span>
</Link>
</div>
<div class="block lg:hidden">
<button class="flex items-center px-3 py-2 border rounded text-teal-lighter border-teal-light hover:text-white hover:border-white">
<svg class="h-3 w-3" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><title>Menu</title><path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"/></svg>
</button>
</div>
<div class="w-full block flex-grow lg:flex lg:items-center lg:w-auto">
<div class="text-sm lg:flex-grow">
<div class="block mt-4 lg:inline-block lg:mt-0 text-teal-lighter hover:text-white mr-4">
<Link :href="route('info')">
Info
</Link>
</div>
<div class="block mt-4 lg:inline-block lg:mt-0 text-teal-lighter hover:text-white mr-4">
<Link :href="route('doc')">
Doc
</Link>
</div>
</div>
<div>
<a href="#" class="inline-block text-sm px-4 py-2 leading-none border rounded text-white border-white hover:border-transparent hover:text-teal hover:bg-white mt-4 lg:mt-0">Download</a>
</div>
</div>
</nav>
<main>
<slot />
</main>
</div>
</template>