From 67ae4a8b7cd3057ec15083e3efb95a3360958881 Mon Sep 17 00:00:00 2001 From: Allythy Date: Mon, 28 Jun 2021 17:42:48 -0300 Subject: [PATCH 1/3] refactor: Change the form from be our client to apex --- _includes/client-form.html | 100 +++---------------------------------- _sass/cda/_client.scss | 12 +++++ 2 files changed, 19 insertions(+), 93 deletions(-) diff --git a/_includes/client-form.html b/_includes/client-form.html index 55d6c1d..b7f1cc4 100644 --- a/_includes/client-form.html +++ b/_includes/client-form.html @@ -20,99 +20,13 @@ - - - - Nome - - - - - - - - - Email - - - - - - - - - - - - Empresa - - - - - - - - - Celular - - - - - - - - - - - Ramo da atividade - - - - - - - - Cidade - - - - - - Bairro - - - - - - - - - Rua - - - - - - CNPJ - - - - - - - - - Ponto de Referência - - - - - - - Enviar - - - + + + + diff --git a/_sass/cda/_client.scss b/_sass/cda/_client.scss index 8f76a76..c13c037 100644 --- a/_sass/cda/_client.scss +++ b/_sass/cda/_client.scss @@ -3,3 +3,15 @@ background-size: cover; background-position: center; } + +#client_form{ + height: 70vh; + width: 40vw; +} + +@media (max-width: 768px) { + #client_form{ + height: 100vh; + width: 100vw; + } +} \ No newline at end of file From 85b040e791515d592427c9ef1b00a2eef496e3dc Mon Sep 17 00:00:00 2001 From: Allythy Date: Tue, 29 Jun 2021 13:30:01 -0300 Subject: [PATCH 2/3] refactor: Change the form from contact us to apex --- _includes/contact.html | 74 ++++------------------------------------- _sass/cda/_contact.scss | 18 ++++++++++ 2 files changed, 24 insertions(+), 68 deletions(-) diff --git a/_includes/contact.html b/_includes/contact.html index f587a9e..ee0bf1d 100644 --- a/_includes/contact.html +++ b/_includes/contact.html @@ -17,77 +17,15 @@ - + {{ site.data.contact.text }} - - - - - - Nome - - - - - - - - - - Email - - - - - - - - - - Telefone - - - - - - - - - - - Coloque assim o número. Exemplo: 84-9923-1632 - - - - - - - Assunto - - - - Dúvida - Sugestão - Reclamação - - - - - - - Mensagem - - - - - - - Enviar - - - + + diff --git a/_sass/cda/_contact.scss b/_sass/cda/_contact.scss index 2d93777..b1bc7da 100644 --- a/_sass/cda/_contact.scss +++ b/_sass/cda/_contact.scss @@ -16,3 +16,21 @@ width: 100%; height: 100%; } + +.container-iframe{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} +.contact-us-iframe{ + height: 45vh; + width: 40vw; +} + +@media (max-width: 768px) { + .contact-us-iframe{ + height: 70vh; + width: 100vw; + } +} \ No newline at end of file From 4c7196b28f69524eb8e56e78f3fad2d13faf70c9 Mon Sep 17 00:00:00 2001 From: Allythy Date: Tue, 29 Jun 2021 13:58:34 -0300 Subject: [PATCH 3/3] fix: Add page number from form url --- _includes/client-form.html | 2 +- _includes/contact.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/client-form.html b/_includes/client-form.html index b7f1cc4..408613e 100644 --- a/_includes/client-form.html +++ b/_includes/client-form.html @@ -23,7 +23,7 @@ diff --git a/_includes/contact.html b/_includes/contact.html index ee0bf1d..0ecd0c2 100644 --- a/_includes/contact.html +++ b/_includes/contact.html @@ -23,7 +23,7 @@
- - - - -
{{ site.data.contact.text }}
Coloque assim o número. Exemplo: 84-9923-1632