Use a shared public view layout component

This commit is contained in:
Johannes Zellner
2025-03-31 11:18:09 +02:00
parent cbba373d7d
commit 15269713cc
11 changed files with 176 additions and 238 deletions

View File

@@ -0,0 +1,22 @@
<script setup>
import { Button } from 'pankow';
import PublicPageLayout from '../components/PublicPageLayout.vue';
// coming from oidc_error.html server-side rendered
const name = window.cloudron.name;
const iconUrl = window.cloudron.iconUrl;
const submitUrl = window.cloudron.submitUrl;
const footer = window.cloudron.footer;
</script>
<template>
<PublicPageLayout :footerHtml="footer">
<div style="max-width: 300px;">
<h2>You do not have access to {{ name }}</h2>
<br/>
<Button :href="submitUrl">Continue</Button>
</div>
</PublicPageLayout>
</template>