polarpress-pagebuilder/resources/js/layouts/AuthenticatedLayout.vue
Helge-Mikael Nordgård e15d3ae146
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
Transferred and translated the frontend code from L10 to L12
2025-05-05 19:01:27 +02:00

36 lines
1.4 KiB
Vue
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup lang="ts">
import { Link } from '@inertiajs/vue3';
import AuthLayout from '@/layouts/auth/AuthSimpleLayout.vue';
defineProps<{
title?: string;
description?: string;
}>();
</script>
<template>
<div class="w-full p-8 bg-gray-900">
<ul class="flex justify-end gap-3 text-sm leading-normal">
<li>
<Link
:href="route('forsiden')"
target="_blank"
class="inline-block mr-4 rounded-sm border border-black bg-[#1b1b18] px-5 py-1.5 text-sm leading-normal text-white hover:border-black hover:bg-black dark:border-[#eeeeec] dark:bg-[#eeeeec] dark:text-[#1C1C1A] dark:hover:border-white dark:hover:bg-white"
>
Tilbake
</Link>
<Link
:href="route('page-builder.landing-page.create')"
target="_blank"
class="inline-block rounded-sm border border-black bg-[#1b1b18] px-5 py-1.5 text-sm leading-normal text-white hover:border-black hover:bg-black dark:border-[#eeeeec] dark:bg-[#eeeeec] dark:text-[#1C1C1A] dark:hover:border-white dark:hover:bg-white"
>
🧾 Ny side
</Link>
</li>
</ul>
</div>
<AuthLayout :title="title" :description="description">
<slot />
</AuthLayout>
</template>