Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incluindo formulário do rodapé do site #38

Merged
merged 16 commits into from
Jun 18, 2018

Conversation

gabrielpedepera
Copy link
Contributor

Referente a tarefa #20
vagalume-fale-com-a-gente

Formulário é exibido apenas em dispositivos com largura menor ou igual a 768px

Mobile:
screen shot 2018-05-31 at 18 57 55

Desktop:
screen shot 2018-05-31 at 18 55 00

@gabrielpedepera gabrielpedepera force-pushed the #20-footer-form-contact branch 2 times, most recently from 7e1f605 to b671c2d Compare June 3, 2018 21:55
@@ -12,6 +12,52 @@
& > * + * {
margin-top: 1.5rem;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acho que faz mais sentido mover esses estilos para o breakpoint do desktop, assim não precisamos fazer um display: none e fica de acordo com a abordagem mobile-first

_config.yml Outdated
@@ -33,6 +33,7 @@ contato:
telefone: (11) 3032-6032
endereco_1: Rua Aspicuelta, 678, Vila Madalena
endereco_2: 05433-011 - São Paulo - SP
formulario_google_app_script: https://script.google.com/macros/s/AKfycbxtepCGgMK3p1e3KxGDx2pRow2rydS6jNMVGffU4Q/exec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Utilizar o app scripts da Vaga Lume


// add form-specific values into the data
data.formDataNameOrder = JSON.stringify(fields);
data.formGoogleSheetName = form.dataset.sheet || "responses"; // default sheet name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Não acho que é necessário salvar no google sheets nesse momento, talvez possamos tirar esses dados do script.

@gabrielpedepera gabrielpedepera force-pushed the #20-footer-form-contact branch 6 times, most recently from 10a69c1 to cb67300 Compare June 16, 2018 19:21
@gabrielpedepera gabrielpedepera merged commit fb0bfb6 into master Jun 18, 2018
@gabrielpedepera gabrielpedepera deleted the #20-footer-form-contact branch June 18, 2018 13:28
pedromanoel pushed a commit that referenced this pull request Jun 18, 2018
commit fb0bfb6
Author: Gabriel Silva Pereira <[email protected]>
Date:   Mon Jun 18 10:28:08 2018 -0300

    Incluindo formulário do rodapé do site (#38)

    * Adicionando formulário de contato no rodapé

    - Proposta de HTML a ser aplicada
    - Primeiros estilos ao formulário

    * Removendo placeholder quando input ou textarea está em foco

    * Esconder formulário em dispositivos com resolução <= 768px

    * Habilitar/Desabilitar botão de submit no formulário de contato

    - Quando todos atributos estiverem preenchidos botão de submit deve ser habilitado para envio do contato

    * Adicionando lógica para envio de e-mail

    - Foi utilizado uma solução utilizando o Google App Scrips para envio do email,
    baseado nesse tutorial: https://github.com/dwyl/learn-to-send-email-via-google-script-html-no-server

    * Habilitando honeypot no formulário

    * Removendo javascripts do HTML

    * Alterando helper para asset ao invés de js

    * Movendo javascript para diretórios js

    * Alterando cor para variável

    * Adicionando extensão ao arquivo javascript home

    * Corrigindo um pequendo de digitação

    * Movendo estilos para breakpoint do desktop

    * Movendo mixin

    * Removendo chamada do google sheet

    * Alterando formulário para envio de e-mail
pedromanoel pushed a commit that referenced this pull request Jun 25, 2018
pedromanoel pushed a commit that referenced this pull request Jun 25, 2018
commit 5e5cf55
Author: Pedro Manoel Evangelista <[email protected]>
Date:   Mon Jun 25 20:01:24 2018 -0300

    Revert "Incluindo formulário do rodapé do site (#38)"

    This reverts commit fb0bfb6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants