diff --git a/packages/thriver-core-components/lib/component-sidebar/aside.js b/packages/thriver-core-components/lib/component-sidebar/aside.js index 94423401..64434795 100755 --- a/packages/thriver-core-components/lib/component-sidebar/aside.js +++ b/packages/thriver-core-components/lib/component-sidebar/aside.js @@ -105,6 +105,13 @@ Template.aside.helpers({ width: 700, position: 'right', template: 'payments', + }, { + title: 'Privacy Policy', + icon: 'eye', + id: 'legal-privacy-policy', + width: 700, + position: 'right', + template: 'legal-privacy-policy', }], }); diff --git a/packages/thriver-core-components/lib/component-sidebar/sidebars.less b/packages/thriver-core-components/lib/component-sidebar/sidebars.less index 0bc1cbd1..693d79a2 100644 --- a/packages/thriver-core-components/lib/component-sidebar/sidebars.less +++ b/packages/thriver-core-components/lib/component-sidebar/sidebars.less @@ -40,6 +40,18 @@ aside.off-canvas{ -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3); @media @mobile { .shadowNone; } } + .sidebar-document{ + padding: 40px; + text-align: left; + &, p, h1, h2, h3, h4{ color: #fff; } + h2{ + text-transform: uppercase; + font-size: 15px; + line-height: 20px; + margin-top: 40px; + margin-bottom: 10px; + } + } form + button[data-action], .ref{ cursor: pointer; color: #ffffff; diff --git a/packages/thriver-core-styles/lib/styles/icons.import.less b/packages/thriver-core-styles/lib/styles/icons.import.less index af917903..efa94348 100755 --- a/packages/thriver-core-styles/lib/styles/icons.import.less +++ b/packages/thriver-core-styles/lib/styles/icons.import.less @@ -10,6 +10,7 @@ bell "\f0f3", user "\f007", caret-right "\f0da", news "\f1ea", +eye "\f06e", institution "\f19c", heart "\f004", important "\f06a", diff --git a/packages/thriver-navigation/lib/utility.js b/packages/thriver-navigation/lib/utility.js index 3639c10d..9556b467 100755 --- a/packages/thriver-navigation/lib/utility.js +++ b/packages/thriver-navigation/lib/utility.js @@ -101,6 +101,13 @@ Thriver.utilityNavigationHelpers = { sidebar: 'payments', position: 'right', user: 'public', + }, { + title: 'Privacy Policy', + icon: 'eye', + type: 'sidebar', + sidebar: 'legal-privacy-policy', + position: 'right', + user: 'public', }, { // Youtube title: 'Youtube', diff --git a/packages/wcasa:contact/lib/templates/contact.html b/packages/wcasa:contact/lib/templates/contact.html index 90c6b194..d6259594 100755 --- a/packages/wcasa:contact/lib/templates/contact.html +++ b/packages/wcasa:contact/lib/templates/contact.html @@ -25,7 +25,10 @@

{{heading}}

{{imgAlt}}
- + @@ -54,3 +57,82 @@

Your message failed to send!

Please try again later or contact the site administrator for support.

+ + \ No newline at end of file diff --git a/packages/wcasa:contact/lib/templates/contact.less b/packages/wcasa:contact/lib/templates/contact.less index a24b8f12..3ae59d77 100755 --- a/packages/wcasa:contact/lib/templates/contact.less +++ b/packages/wcasa:contact/lib/templates/contact.less @@ -177,6 +177,15 @@ section.contact{ ul.contactInfo li, p.address li{ margin-bottom: 0px; } } +div.sidebar-document { + a { color: @white; text-decoration: underline; } + li { list-style: initial; margin: 0 20px; } +} + +#utility a[aria-controls="legal-privacy-policy"]{ + display: none; +} + @media @mobile{ section.contact{ padding: 20px; @@ -251,4 +260,4 @@ section.contact{ margin: 20px; } } -} \ No newline at end of file +}