mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
Move/rename templates
This commit is contained in:
21
template/component-feedback-widget.html.jinja
Normal file
21
template/component-feedback-widget.html.jinja
Normal file
@@ -0,0 +1,21 @@
|
||||
<!-- Feedback Widget -->
|
||||
<script src="{{currentpage.prefix}}assets/vendor/custom-widget.js"></script>
|
||||
<div id="feedback-content"></div>
|
||||
<script>
|
||||
const widget = new EmbeddableWidget.default({
|
||||
theme: 'xrpl',
|
||||
opened: false,
|
||||
parentElement: '#feedback-content',
|
||||
currentPath: window.location.pathname,
|
||||
adapter: 'ga',
|
||||
app:'Feedback Widget',
|
||||
adapterConfig:{
|
||||
containerId:"GTM-THHW334",
|
||||
trackingId:"UA-45576805-2"
|
||||
}
|
||||
});
|
||||
setTimeout(() => {
|
||||
widget.open();
|
||||
// EmbeddableWidget.default.unmount();
|
||||
}, 2000);
|
||||
</script>
|
||||
Reference in New Issue
Block a user