Setup Feelback configuration and componet
This commit is contained in:
parent
aa8d824293
commit
904536b407
2 changed files with 18 additions and 16 deletions
|
@ -9,6 +9,13 @@
|
|||
"WhiteLabel": "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": [
|
||||
{
|
||||
"text": "Syntax",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
// Settings
|
||||
import { SiteSettings } from '@config'
|
||||
import { SiteSettings, FeelbackConfig } from '@config'
|
||||
import {version} from '../../package.json'
|
||||
|
||||
// Properties
|
||||
|
@ -29,21 +29,16 @@ import "@styles/prism.css"
|
|||
<slot/>
|
||||
<!-- <hr/>
|
||||
<p>Last Updated: null</p> -->
|
||||
<!-- {
|
||||
FEEDBACK_ENABLED ?
|
||||
// Feelback
|
||||
FEELBACK_ENABLED ?
|
||||
{FeelbackConfig.Enabled ?
|
||||
<FeelbackYesNo
|
||||
contentSetId="2308b02b-8f9f-437e-9780-5ad4c0db016e"
|
||||
preset="like-dislike"
|
||||
textQuestion="Did this article help?"
|
||||
textAnswer="Thank you for your feedback."
|
||||
contentSetId={FeelbackConfig.ContentSetId}
|
||||
preset={FeelbackConfig.Present}
|
||||
textQuestion={FeelbackConfig.Question}
|
||||
textAnswer={FeelbackConfig.Answer}
|
||||
/>
|
||||
:
|
||||
null
|
||||
:
|
||||
null
|
||||
} -->
|
||||
}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
|
Loading…
Reference in a new issue