From 8a77d281f2e3effe06ed88b1bfdf7160c0c34aad Mon Sep 17 00:00:00 2001 From: Dallas Hogan Date: Mon, 31 Jul 2023 08:40:56 -0400 Subject: [PATCH] Use HubSpot contact form --- src/styles/_request.scss | 54 +++++++++--------------------- src/templates/new_request_page.hbs | 41 +++++------------------ 2 files changed, 24 insertions(+), 71 deletions(-) diff --git a/src/styles/_request.scss b/src/styles/_request.scss index b88c3f0e..933b3437 100644 --- a/src/styles/_request.scss +++ b/src/styles/_request.scss @@ -7,7 +7,6 @@ padding: var(--mm-spacing); } -.new__request__title, .request__title { font-size: 28px; } @@ -46,40 +45,26 @@ } @media only screen and (min-width: 768px) { - .new__request, .request__page { padding: var(--mm-spacing); } - .new__request__title, .request__title { font-size: 42px; } } @media only screen and (min-width: 1200px) { - .new__request, .request__page { padding: var(--mm-spacing) 0; } - .new__request { - display: grid; - grid-template-areas: - 'header' - 'form' - 'contact'; - justify-items: center; - } - - .new__request__header, .request__page__header { max-width: var(--mm-max-width); padding: 0 var(--mm-spacing) 0; width: 100%; } - .new__request__form, .request__container, .contact__container { max-width: var(--mm-max-width); @@ -88,7 +73,6 @@ } } -.new__request__header, .request__page__header { grid-area: header; margin: 0; @@ -96,7 +80,6 @@ width: 100%; z-index: 5; - .new__request__title, .request__title { color: #00374c; font-family: var(--mm-font-stack-display); @@ -193,27 +176,6 @@ } } -.new__request__form { - font-family: montserrat,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Ubuntu,sans-serif; - grid-area: form; - - .searchbox { - padding-top: 10px; - - a { - color: var(--mm-color-display-text); - } - } - - label { - font-family: var(--mm-font-stack-display); - font-size: 14px; - font-weight: 500; - line-height: 1.2em; - position: relative; - } -} - .request__details { @include mixins.pattern-border; background-color: var(--mm-color-sidebar); @@ -465,3 +427,19 @@ input[type='submit']:focus { display: none; } } + +/* HubSpot form */ + +.hs-form-iframe { + min-height: 1100px; +} + +.hbspt-form { + @media only screen and (min-width: 600px) { + width: 600px; + } + + @media only screen and (min-width: 1200px) { + width: 880px; + } +} diff --git a/src/templates/new_request_page.hbs b/src/templates/new_request_page.hbs index 6b9cd50d..461e224f 100644 --- a/src/templates/new_request_page.hbs +++ b/src/templates/new_request_page.hbs @@ -1,35 +1,10 @@
-
-

- {{t 'submit_a_request'}} -

-

To help you get assistance faster, please include your account ID number - in the description of your request below. - Learn - how to find your account ID number. -

-

- Please never include your full license key in your message. We will only need the first 4 characters (when applicable) for troubleshooting. -

-
-
- {{request_form wysiwyg=true}} -
-
-
-
- Emergency Contact -
-

If you are experiencing an urgent issue (e.g. your service is down or - billing has been interrupted) please contact us right away. - The "Chat" popup in the lower right corner - is available 3am to 7am and 10am to 9pm Eastern Time, Monday - Friday. We'll get back to you - within 60 seconds. -

-

If you are contacting us outside of regular business hours, please email - alert@maxmind.com. -

-

Additional contact information can be found here.

-
-
+ +