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

remove LandingForm component and added a simple row with a mailTo button #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/all.sass
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ $menu-label-color: $white-ter

// form
.section--form
min-height: 50vh
// min-height: 50vh
background: linear-gradient(45deg, rgba(243,84,76,1)0,rgba(224,70,88,1) 100%)

.form
Expand Down
24 changes: 22 additions & 2 deletions src/templates/index-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { graphql } from 'gatsby'
import Layout from '../components/Layout'
import Features from '../components/Features'
import Carousel from '../components/Carousel'
import LandingForm from '../components/LandingForm'
// import LandingForm from '../components/LandingForm'
// import BlogRoll from '../components/BlogRoll'

export const IndexPageTemplate = ({
Expand Down Expand Up @@ -95,7 +95,27 @@ export const IndexPageTemplate = ({
</div>
</section>
<Carousel items={intro.carousel} />
<LandingForm form={form} />
<section className="section has-text-centered section--form has-text-white">
<div className="columns is-centered">
<div className="column is-6">
<h3 className="has-text-weight-semibold is-size-2" >
Prendiamoci un caffè
</h3>
<p className="has-text-weight-regular is-size-5-widescreen">
Mettiti in contatto con il nostro team per scoprire quanto
<strong className="has-text-white"> Local Impact </strong>
può essere rilevante <wbr/> per i tuoi punti vendita e per il tuo business.
</p>
<a
style={{padding: '.5rem 4rem', marginTop: '2rem'}}
className="button is-info is-large is-rounded is-size-5-mobile is-size-5-tablet is-size-4-widescreen"
href="mailto:[email protected]"
>
Contattaci
</a>
</div>
</div>
</section>
</div>
)
// <div className="columns">
Expand Down