Stylistic changes according to new guidelines
This commit is contained in:
@@ -1,56 +1,82 @@
|
||||
import React from 'react'
|
||||
|
||||
import PageIntro from '../components/PageIntro'
|
||||
import SectionIntro from '../components/SectionIntro'
|
||||
|
||||
const ContactPage = () => (
|
||||
<div>
|
||||
<PageIntro intro="Contact" headline="Let's connect" text="and build something awesome together" sectionClasses="mb-16 lg:mb-8" />
|
||||
|
||||
<section className="container mx-auto my-12 p-4">
|
||||
<SectionIntro
|
||||
headline="Use the form below or any of the alternatives to connect"
|
||||
<PageIntro
|
||||
intro="Contact"
|
||||
headline="Let's connect"
|
||||
text="and build something awesome together"
|
||||
sectionClasses="mb-16 lg:mb-8"
|
||||
/>
|
||||
|
||||
<p>Request a Proposal</p>
|
||||
<p>Request a Video Call</p>
|
||||
<p>Old-fashioned phone calls work as well: - +...</p>
|
||||
</section>
|
||||
<section className="container mx-auto my-12 p-4">
|
||||
<form className="p-6 w-1/2">
|
||||
<div className="flex flex-wrap -mx-3">
|
||||
<div className="w-full md:w-1/2 p-3">
|
||||
<label
|
||||
className="block uppercase tracking-wide text-grey-darker text-xs font-bold mb-2"
|
||||
for="grid-first-name"
|
||||
>
|
||||
Name
|
||||
</label>
|
||||
<input
|
||||
className="appearance-none block w-full bg-grey-lightest text-grey-darker border rounded py-3 px-4"
|
||||
id="grid-first-name"
|
||||
type="text"
|
||||
placeholder="Jane"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
|
||||
<form className="container mx-auto max-w-md p-6">
|
||||
<div className="flex flex-wrap -mx-3">
|
||||
<div className="w-full md:w-1/2 p-3">
|
||||
<label
|
||||
className="block uppercase tracking-wide text-grey-darker text-xs font-bold mb-2"
|
||||
for="grid-first-name"
|
||||
>
|
||||
E-mail
|
||||
</label>
|
||||
<input
|
||||
className="appearance-none block w-full bg-grey-lightest text-grey-darker border rounded py-3 px-4"
|
||||
id="grid-last-name"
|
||||
type="email"
|
||||
placeholder="Doe"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="w-full md:w-1/2 p-3">
|
||||
<label className="block uppercase tracking-wide text-grey-darker text-xs font-bold mb-2" for="grid-first-name">
|
||||
Name
|
||||
</label>
|
||||
<input className="appearance-none block w-full bg-grey-lightest text-grey-darker border rounded py-3 px-4" id="grid-first-name" type="text" placeholder="Jane" required />
|
||||
<div className="w-full p-3">
|
||||
<label
|
||||
className="block uppercase tracking-wide text-grey-darker text-xs font-bold mb-2"
|
||||
for="grid-first-name"
|
||||
>
|
||||
Message
|
||||
</label>
|
||||
<textarea
|
||||
className="appearance-none block w-full bg-grey-lightest text-grey-darker border rounded py-3 px-4"
|
||||
id="grid-last-name"
|
||||
type="text"
|
||||
placeholder="Doe"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button
|
||||
className="w-full shadow bg-green hover:bg-green-light text-white font-bold py-2 px-4 rounded"
|
||||
type="submit"
|
||||
>
|
||||
Send Mail
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<div className="w-1/2">
|
||||
<p>Request a Proposal</p>
|
||||
<p>Request a Video Call</p>
|
||||
<p>Old-fashioned phone calls work as well: - +...</p>
|
||||
</div>
|
||||
|
||||
<div className="w-full md:w-1/2 p-3">
|
||||
<label className="block uppercase tracking-wide text-grey-darker text-xs font-bold mb-2" for="grid-first-name">
|
||||
E-mail
|
||||
</label>
|
||||
<input className="appearance-none block w-full bg-grey-lightest text-grey-darker border rounded py-3 px-4" id="grid-last-name" type="email" placeholder="Doe" required />
|
||||
</div>
|
||||
|
||||
<div className="w-full p-3">
|
||||
<label className="block uppercase tracking-wide text-grey-darker text-xs font-bold mb-2" for="grid-first-name">
|
||||
Message
|
||||
</label>
|
||||
<textarea className="appearance-none block w-full bg-grey-lightest text-grey-darker border rounded py-3 px-4" id="grid-last-name" type="text" placeholder="Doe" required />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div className="w-full">
|
||||
<button className="w-full shadow bg-purple hover:bg-purple-light text-white font-bold py-2 px-4 rounded" type="submit">
|
||||
Send Mail
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
)
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ import ImgIntro from '../images/web-development-agency.svg'
|
||||
import ImgDesign from '../images/ux-ui-design.svg'
|
||||
import ImgFullstack from '../images/fullstack-web-development.svg'
|
||||
import ImgMobile from '../images/mobile-development.svg'
|
||||
import ServicesBg from '../images/services-background.svg'
|
||||
|
||||
import LogoIBM from '../images/logo-ibm-color.svg'
|
||||
import LogoRicoh from '../images/logo-ricoh-color.svg'
|
||||
@@ -40,7 +41,7 @@ const IndexPage = ({ ...props }) => (
|
||||
/>
|
||||
</section>
|
||||
|
||||
<section className="relative">
|
||||
<section className="bg-saburly relative bg-saburly-fadeout">
|
||||
<Service
|
||||
img={ImgDesign}
|
||||
title="User Experience (UX) Design"
|
||||
@@ -66,9 +67,18 @@ const IndexPage = ({ ...props }) => (
|
||||
standard
|
||||
text="More About What We Do"
|
||||
url="/services"
|
||||
classes="m-1 rounded-full hover:shadow-md text-grey-darker hover:shadow"
|
||||
classes="mb-8 lg:mb-24 rounded-full hover:shadow-md text-grey-darker hover:shadow"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400.8 96.4">
|
||||
<title>bg-saburly-white</title>
|
||||
<path
|
||||
d="M417.7,96.4C655.2,93.3,743.6,0,983.1,0h417.7V96.4H417.7Z"
|
||||
transform="translate(0 0)"
|
||||
style={{ fill: '#fff' }}
|
||||
/>
|
||||
</svg>
|
||||
</section>
|
||||
|
||||
<section className="container mx-auto max-w-lg text-center p-4 my-12">
|
||||
@@ -97,8 +107,8 @@ const IndexPage = ({ ...props }) => (
|
||||
|
||||
<Button
|
||||
filled
|
||||
text="Get a free proposal"
|
||||
url="/proposal"
|
||||
text="Let's Get In Touch"
|
||||
url="/contact"
|
||||
classes="text-white font-normal shadow hover:shadow-md rounded-full mt-2 font-light bg-teal hover:bg-teal-dark"
|
||||
/>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user