{"id":214,"date":"2023-05-10T08:34:35","date_gmt":"2023-05-10T15:34:35","guid":{"rendered":"https:\/\/hcds.ca\/?page_id=214"},"modified":"2023-05-11T17:31:43","modified_gmt":"2023-05-12T00:31:43","slug":"donate","status":"publish","type":"page","link":"https:\/\/hcds.ca\/index.php\/donate\/","title":{"rendered":"Donate"},"content":{"rendered":"<section class=\"bde-section-214-100 bde-section\">\n  \n  \n\t\n\n\n\n<div class=\"section-container\"><div class=\"bde-columns-214-101 bde-columns\"><div class=\"bde-column-214-102 bde-column\">\n  \n  \n\t\n\n\n\n<div class=\"bde-image-214-103 bde-image\">\n<figure class=\"breakdance-image breakdance-image--125\">\n\t<div class=\"breakdance-image-container\">\n\t\t<div class=\"breakdance-image-clip\"><img loading=\"lazy\" decoding=\"async\" class=\"breakdance-image-object\" src=\"https:\/\/hcds.ca\/wp-content\/uploads\/2023\/05\/Current-Hopetown-en.webp\" width=\"1200\" height=\"901\" srcset=\"https:\/\/hcds.ca\/wp-content\/uploads\/2023\/05\/Current-Hopetown-en.webp 1200w, https:\/\/hcds.ca\/wp-content\/uploads\/2023\/05\/Current-Hopetown-en-300x225.webp 300w, https:\/\/hcds.ca\/wp-content\/uploads\/2023\/05\/Current-Hopetown-en-1024x769.webp 1024w, https:\/\/hcds.ca\/wp-content\/uploads\/2023\/05\/Current-Hopetown-en-768x577.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\"><\/div>\n\t<\/div><\/figure>\n\n<\/div>\n<\/div><div class=\"bde-column-214-104 bde-column\">\n  \n  \n\t\n\n\n\n<div class=\"bde-text-214-105 bde-text\">\nNow is the time of \u201cNew Beginnings\u201d.\n<\/div><h2 class=\"bde-heading-214-106 bde-heading\">\nDonate to\u00a0 Hopetown's development\n<\/h2><div class=\"bde-rich-text-214-115 bde-rich-text breakdance-rich-text-styles\">\n<p>You can help out with the development of the future of Hopetown through a donation to the HCDS.<br><br>1. E-transfer to treasurer@hcds.ca<br><br>2. Automatic monthly withdrawal (please email us at treasurer@hcds.ca for the form to set up)<\/p><p>3. Donate using your credit card <a target=\"_blank\" href=\"https:\/\/square.link\/u\/o8qwVFjP\">HERE<\/a>, or the Donate button below:<\/p><p><\/p>\n<\/div><div class=\"bde-code-block-214-114 bde-code-block\">\n\n  <div>\n\n  <div><div style=\"\n  overflow: auto;\n  display: flex;\n  flex-direction: column;\n  justify-content: flex-end;\n  align-items: center;\n  width: 259px;\n  background: #FFFFFF;\n  border: 1px solid rgba(0, 0, 0, 0.1);\n  box-shadow: -2px 10px 5px rgba(0, 0, 0, 0);\n  border-radius: 10px;\n  font-family: SQ Market, Helvetica, Arial, sans-serif;\n  \">\n  <div style=\"padding: 20px;\">\n    <a target=\"_blank\" data-url=\"https:\/\/square.link\/u\/o8qwVFjP?src=embd\" href=\"https:\/\/square.link\/u\/o8qwVFjP?src=embed\" style=\"\n    display: inline-block;\n    font-size: 18px;\n    line-height: 48px;\n    height: 48px;\n    color: #ffffff;\n    min-width: 212px;\n    background-color: #000000;\n    text-align: center;\n    box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset;\n    \n  \">Donate<\/a>\n  <\/div>\n<\/div>\n<\/div>\n\n  <script>\n    function showCheckoutWindow(e) {\n      e.preventDefault();\n\n      const url = document.getElementById('embedded-checkout-modal-checkout-button').getAttribute('data-url');\n      const title = 'Square Online Checkout';\n\n      \/\/ Some platforms embed in an iframe, so we want to top window to calculate sizes correctly\n      const topWindow = window.top ? window.top : window;\n\n      \/\/ Fixes dual-screen position                                Most browsers          Firefox\n      const dualScreenLeft = topWindow.screenLeft !==  undefined ? topWindow.screenLeft : topWindow.screenX;\n      const dualScreenTop = topWindow.screenTop !==  undefined   ? topWindow.screenTop  : topWindow.screenY;\n\n      const width = topWindow.innerWidth ? topWindow.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;\n      const height = topWindow.innerHeight ? topWindow.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;\n\n      const h = height * .75;\n      const w = 500;\n\n      const systemZoom = width \/ topWindow.screen.availWidth;\n      const left = (width - w) \/ 2 \/ systemZoom + dualScreenLeft;\n      const top = (height - h) \/ 2 \/ systemZoom + dualScreenTop;\n      const newWindow = window.open(url, title, `scrollbars=yes, width=${w \/ systemZoom}, height=${h \/ systemZoom}, top=${top}, left=${left}`);\n\n      if (window.focus) newWindow.focus();\n    }\n\n    \/\/ This overrides the default checkout button click handler to show the embed modal\n    \/\/ instead of opening a new tab with the given link url\n    document.getElementById('embedded-checkout-modal-checkout-button').addEventListener('click', function (e) {\n      showCheckoutWindow(e);\n    });\n  <\/script>\n<\/div>\n\n\n<\/div>\n<\/div><\/div><\/div>\n<\/section>","protected":false},"excerpt":{"rendered":"<p>Now is the time of \u201cNew Beginnings\u201d. Donate to\u00a0 Hopetown&#8217;s development You can help out with the development of the future of Hopetown through a donation to the HCDS.1. E-transfer to treasurer@hcds.ca2. Automatic monthly withdrawal (please email us at treasurer@hcds.ca for the form to set up)3. Donate using your credit card HERE, or the Donate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_breakdance_hide_in_design_set":false,"_breakdance_tags":"","footnotes":""},"class_list":["post-214","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/pages\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":8,"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/pages\/214\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/pages\/214\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/hcds.ca\/index.php\/wp-json\/wp\/v2\/media?parent=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}