2024-06-07 07:16:38 +00:00
|
|
|
---
|
|
|
|
// Environment Variables
|
|
|
|
import {
|
|
|
|
ORG_NAME,
|
|
|
|
FEEDBACK_ENABLED,
|
|
|
|
FEELBACK_ENABLED,
|
|
|
|
REVERT_LAYOUT,
|
|
|
|
WHITELABEL
|
|
|
|
} from '@utils/GetConfig'
|
|
|
|
|
|
|
|
// Properties
|
2024-06-08 20:20:59 +00:00
|
|
|
const { frontmatter } = Astro.props
|
2024-06-07 07:16:38 +00:00
|
|
|
|
|
|
|
// Components
|
|
|
|
import Head from '@components/global/Head.astro'
|
|
|
|
import Header from '@components/global/Header.astro'
|
|
|
|
import FeelbackYesNo from "astro-feelback/components/FeelbackYesNo.astro";
|
|
|
|
|
|
|
|
// Styles
|
2024-06-08 20:20:59 +00:00
|
|
|
import "@styles/index.scss";
|
|
|
|
import "@styles/splash.scss";
|
2024-06-07 07:16:38 +00:00
|
|
|
import "@styles/feelback.css";
|
|
|
|
---
|
|
|
|
|
|
|
|
<Head/>
|
|
|
|
<Header/>
|
|
|
|
<div class="page">
|
|
|
|
<div class="content">
|
2024-06-08 20:20:59 +00:00
|
|
|
<div class="splash">
|
|
|
|
<div class="splash-content">
|
|
|
|
<h1>{frontmatter.Title}</h1>
|
|
|
|
<p>{frontmatter.Description}</p>
|
|
|
|
<div class="splash-action">
|
|
|
|
<a href={frontmatter.PrimaryLink} class="button">{frontmatter.PrimaryText}</a>
|
|
|
|
<a href={frontmatter.SecondaryLink} class="button-secondary">{frontmatter.SecondaryText}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<img src={frontmatter.Banner}/>
|
|
|
|
</div>
|
2024-06-07 07:16:38 +00:00
|
|
|
<div class="document">
|
|
|
|
<slot/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
|
|
|
<div class="footer-start">
|
|
|
|
<p>© {ORG_NAME}. All right reserved.</p>
|
|
|
|
</div>
|
|
|
|
<div class="footer-end">
|
|
|
|
{WHITELABEL ?
|
2024-06-07 11:09:39 +00:00
|
|
|
<p>Built with <a href="#">ButterflyVu</a></p>
|
2024-06-07 07:16:38 +00:00
|
|
|
:
|
|
|
|
null
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-06-08 20:20:59 +00:00
|
|
|
</div>
|