2024-06-07 03:16:38 -04:00
|
|
|
---
|
2024-11-12 14:20:33 -05:00
|
|
|
// Settings
|
2024-12-10 22:45:19 -05:00
|
|
|
import { SiteSettings, FeelbackConfig } from '@config'
|
2024-11-12 14:20:33 -05:00
|
|
|
import {version} from '../../package.json'
|
2024-06-07 03:16:38 -04:00
|
|
|
|
|
|
|
// Properties
|
2024-10-24 14:50:48 -04:00
|
|
|
const { frontmatter, Title, Feedback, Feelback } = Astro.props
|
2024-06-07 03:16:38 -04:00
|
|
|
|
|
|
|
// Components
|
|
|
|
import Head from '@components/global/Head.astro'
|
|
|
|
import Header from '@components/global/Header.astro'
|
2024-06-10 01:25:56 -04:00
|
|
|
import Sidebar from '@components/Sidebar.astro'
|
|
|
|
import FeelbackYesNo from "astro-feelback/components/FeelbackYesNo.astro"
|
2024-11-30 23:55:34 -05:00
|
|
|
import {Zorn} from "@minpluto/zorn"
|
2024-06-07 03:16:38 -04:00
|
|
|
|
|
|
|
// Styles
|
2024-11-12 14:20:33 -05:00
|
|
|
import "@styles/index.scss"
|
|
|
|
import "@styles/feelback.css"
|
2024-09-17 23:07:39 -04:00
|
|
|
import "@styles/prism.css"
|
2024-06-07 03:16:38 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
<Head/>
|
|
|
|
<Header/>
|
|
|
|
<div class="page">
|
2024-11-14 23:52:37 -05:00
|
|
|
<article>
|
2024-06-10 01:25:56 -04:00
|
|
|
<Sidebar/>
|
2024-06-07 03:16:38 -04:00
|
|
|
<div class="document">
|
2024-10-24 14:50:48 -04:00
|
|
|
<h1>{frontmatter.Title}</h1>
|
2024-06-07 03:16:38 -04:00
|
|
|
<slot/>
|
|
|
|
<!-- <hr/>
|
|
|
|
<p>Last Updated: null</p> -->
|
2024-12-10 22:45:19 -05:00
|
|
|
{FeelbackConfig.Enabled ?
|
|
|
|
<FeelbackYesNo
|
|
|
|
contentSetId={FeelbackConfig.ContentSetId}
|
|
|
|
preset={FeelbackConfig.Present}
|
|
|
|
textQuestion={FeelbackConfig.Question}
|
|
|
|
textAnswer={FeelbackConfig.Answer}
|
|
|
|
/>
|
|
|
|
:
|
|
|
|
null
|
|
|
|
}
|
2024-06-07 03:16:38 -04:00
|
|
|
</div>
|
2024-11-14 23:52:37 -05:00
|
|
|
</article>
|
2024-11-30 23:55:34 -05:00
|
|
|
|
|
|
|
<Zorn is:raw PlayerName="zorn_null" Poster="#" Video="#"/>
|
2024-06-07 03:16:38 -04:00
|
|
|
<div class="footer">
|
|
|
|
<div class="footer-start">
|
2024-11-12 14:20:33 -05:00
|
|
|
<p>© {SiteSettings.OrgName}. All right reserved.</p>
|
2024-06-07 03:16:38 -04:00
|
|
|
</div>
|
|
|
|
<div class="footer-end">
|
2024-11-12 14:20:33 -05:00
|
|
|
{SiteSettings.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
|
|
|
|
}
|
2024-11-12 14:20:33 -05:00
|
|
|
{SiteSettings.FooterVersion ?
|
|
|
|
<p style="opacity: 0.5;">v{version}</p>
|
|
|
|
:
|
|
|
|
null
|
|
|
|
}
|
2024-06-07 03:16:38 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-11-30 23:55:34 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Zorn is broken if a player is not already set -->
|
|
|
|
<style is:global>#zorn-player-zorn_null {display: none}</style>
|