Browse Source

js chat

master
rdrew 2 years ago
parent
commit
1faff50fe7
  1. 55
      templates/landingpage/node--landing-page-paragraphs.html.twig

55
templates/landingpage/node--landing-page-paragraphs.html.twig

@ -80,23 +80,48 @@
%} %}
{{ attach_library('roblib_2023/node') }} {{ attach_library('roblib_2023/node') }}
<article{{ attributes.addClass(classes) }}> <article{{ attributes.addClass(classes) }}>
<div{{ content_attributes.addClass('node__content') }}> <div{{ content_attributes.addClass('node__content') }}>
{{ content.field_search_tabs }} {{ content.field_search_tabs }}
<div class="lp-button-group"> <div class="lp-button-group">
{{ content.field_navigation_button_group }} {{ content.field_navigation_button_group }}
</div> </div>
<section class="help-me"> <section class="help-me">
<div class="left"> <div class="left">
{{ content.field__help_me_section_title }} {{ content.field__help_me_section_title }}
{{ content.field_subject_librarians }} {{ content.field_subject_librarians }}
</div> </div>
<div class="right"> <div class="right">
{{ content.field__help_me_text_block}} <div class="lp-askus-block">
</div>
</section> <!-- Place this div in your web page where you want your chat widget to appear. -->
</div> <div class="needs-js">
<div class="dummy-widget">
<h3>Library Ask Us</h3>
<div class="textout window">JavaScript disabled or chat unavailable.</div>
<div class="textin window">Chat Is Unavailable</div>
</div>
</div>
<!-- Place this script as near to the end of your BODY as possible. --><script type="text/javascript">
(function() {
var x = document.createElement("script"); x.type = "text/javascript"; x.async = true;
x.src = (document.location.protocol === "https:" ? "https://" : "http://") + "ca.libraryh3lp.com/js/libraryh3lp.js?5343";
var y = document.getElementsByTagName("script")[0]; y.parentNode.insertBefore(x, y);
})();
</script>
</div>
<section class="helpme-text-block">
{{ content.field__help_me_text_block}}
</section>
</div>
</section>
</div>
</article> </article>

Loading…
Cancel
Save