2024-06-07 03:16:38 -04:00
|
|
|
---
|
|
|
|
// Environment Variables
|
|
|
|
import {
|
|
|
|
ORG_NAME,
|
|
|
|
FEEDBACK_ENABLED,
|
|
|
|
FEELBACK_ENABLED,
|
|
|
|
REVERT_LAYOUT,
|
|
|
|
WHITELABEL
|
|
|
|
} from '@utils/GetConfig'
|
|
|
|
|
|
|
|
// Properties
|
|
|
|
const { Title, Feedback, Feelback } = Astro.props
|
|
|
|
|
|
|
|
// 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 16:20:59 -04:00
|
|
|
import "@styles/index.scss";
|
2024-06-07 03:16:38 -04:00
|
|
|
import "@styles/feelback.css";
|
|
|
|
---
|
|
|
|
|
|
|
|
<Head/>
|
|
|
|
<Header/>
|
|
|
|
<div class="page">
|
|
|
|
<div class="content">
|
|
|
|
<div class="sidebar">
|
|
|
|
<h2>Sidebar Header</h2>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<h2>Sidebar Header</h2>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<h2>Sidebar Header</h2>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
<a href="#">Document Title</a>
|
|
|
|
</div>
|
|
|
|
<div class="document">
|
|
|
|
<h1>{Title}</h1>
|
|
|
|
<slot/>
|
|
|
|
<!-- <hr/>
|
|
|
|
<p>Last Updated: null</p> -->
|
|
|
|
{
|
|
|
|
FEEDBACK_ENABLED ?
|
|
|
|
// Feelback
|
|
|
|
FEELBACK_ENABLED ?
|
|
|
|
<FeelbackYesNo
|
|
|
|
contentSetId="2308b02b-8f9f-437e-9780-5ad4c0db016e"
|
|
|
|
preset="like-dislike"
|
|
|
|
textQuestion="Did this article help?"
|
|
|
|
textAnswer="Thank you for your feedback."
|
|
|
|
/>
|
|
|
|
:
|
|
|
|
null
|
|
|
|
:
|
|
|
|
null
|
|
|
|
}
|
|
|
|
</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 07:09:39 -04:00
|
|
|
<p>Built with <a href="#">ButterflyVu</a></p>
|
2024-06-07 03:16:38 -04:00
|
|
|
:
|
|
|
|
null
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Style is temporary here -->
|
|
|
|
<style is:global lang="scss">
|
|
|
|
</style>
|
|
|
|
|
|
|
|
{REVERT_LAYOUT ?
|
|
|
|
<style>
|
|
|
|
.content {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
:
|
|
|
|
null
|
|
|
|
}
|