Skip to content

Commit

Permalink
Add Freshdesk help widget
Browse files Browse the repository at this point in the history
  • Loading branch information
rowenslee committed Mar 2, 2024
1 parent 7af394b commit d3c869f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/section/Intro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
export default {
methods: {
contact() {
FreshworksWidget('open');
}
}
Expand Down
10 changes: 10 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ export default {
type: 'text/javascript',
charset: 'utf-8'
},
// Freskdesk Helper widget
{ src: 'https://euc-widget.freshworks.com/widgets/103000007830.js', async: true },
{
innerHTML: `window.fwSettings={
'widget_id':103000007830
};
!function(){if("function"!=typeof window.FreshworksWidget){var n=function(){n.q.push(arguments)};n.q=[],window.FreshworksWidget=n}}() `,
type: 'text/javascript',
charset: 'utf-8'
},
]
},

Expand Down

0 comments on commit d3c869f

Please sign in to comment.