mirror of
https://ark.sudovanilla.org/Korbs/butterflyvu.git
synced 2024-12-22 23:33:54 +00:00
Setup Feelback configuration and componet
This commit is contained in:
parent
aa8d824293
commit
904536b407
|
@ -9,6 +9,13 @@
|
||||||
"WhiteLabel": "true",
|
"WhiteLabel": "true",
|
||||||
"FooterVersion": "true"
|
"FooterVersion": "true"
|
||||||
},
|
},
|
||||||
|
"FeelbackConfig": {
|
||||||
|
"Enabled": false,
|
||||||
|
"ContentSetId": "566e8b96-c65e-4bf7-87df-d22a9f4994a2",
|
||||||
|
"Present": "like-dislike",
|
||||||
|
"Question": "Did this article help?",
|
||||||
|
"Answer": "Thank you for your feedback."
|
||||||
|
},
|
||||||
"HeaderItems": [
|
"HeaderItems": [
|
||||||
{
|
{
|
||||||
"text": "Syntax",
|
"text": "Syntax",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
// Settings
|
// Settings
|
||||||
import { SiteSettings } from '@config'
|
import { SiteSettings, FeelbackConfig } from '@config'
|
||||||
import {version} from '../../package.json'
|
import {version} from '../../package.json'
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
@ -29,21 +29,16 @@ import "@styles/prism.css"
|
||||||
<slot/>
|
<slot/>
|
||||||
<!-- <hr/>
|
<!-- <hr/>
|
||||||
<p>Last Updated: null</p> -->
|
<p>Last Updated: null</p> -->
|
||||||
<!-- {
|
{FeelbackConfig.Enabled ?
|
||||||
FEEDBACK_ENABLED ?
|
<FeelbackYesNo
|
||||||
// Feelback
|
contentSetId={FeelbackConfig.ContentSetId}
|
||||||
FEELBACK_ENABLED ?
|
preset={FeelbackConfig.Present}
|
||||||
<FeelbackYesNo
|
textQuestion={FeelbackConfig.Question}
|
||||||
contentSetId="2308b02b-8f9f-437e-9780-5ad4c0db016e"
|
textAnswer={FeelbackConfig.Answer}
|
||||||
preset="like-dislike"
|
/>
|
||||||
textQuestion="Did this article help?"
|
:
|
||||||
textAnswer="Thank you for your feedback."
|
null
|
||||||
/>
|
}
|
||||||
:
|
|
||||||
null
|
|
||||||
:
|
|
||||||
null
|
|
||||||
} -->
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue