import React from 'react'
import Link from 'gatsby-link'

import SectionIntro from '../components/SectionIntro'
import Button from '../components/Button'
import Card from '../components/Card'
import Service from '../components/Service'
import PageIntro from '../components/PageIntro'
import InfoBox from '../components/InfoBox'
import Technologies from '../components/Technologies'
import Typed from 'react-typed'
import SEO from '../components/SEO'

import ImgIntro from '../images/web-development-company.svg'
import ImgDesign from '../images/user-experience-design-agency.svg'
import ImgFullstack from '../images/fullstack-web-development-agency.svg'
import ImgMobile from '../images/mobile-app-development-company.svg'
import ServicesBg from '../images/services-background.svg'

import LogoIBM from '../images/logo-ibm-color.svg'
import LogoRicoh from '../images/logo-ricoh-color.svg'
import LogoKinnarps from '../images/logo-kinnarps-color.svg'
import LogoCoor from '../images/logo-coor-color.svg'
import LogoIMCG from '../images/logo-imcg.png'
import LogoColounge from '../images/logo-colounge.svg'
import LogoHyrma from '../images/logo-hyrma-admin.svg'
import TopWebDevelopers from '../images/top-web-developer-company.png'

import PageTransition from 'gatsby-plugin-page-transitions'

const IndexPage = ({ ...props }) => (
  <PageTransition>
    <SEO
      siteTitle="Saburly - Digital agency that makes you stand out"
      siteDescription="We are in the business of solving real-world problems with digital solutions. Our mission is to make you stand out with the help of modern technologies"
      siteUrl="https://saburly.com"
    />

    <PageIntro
      text="We are in the business of solving real-world problems with digital solutions. Our mission is to make you stand out and gain competitive advantages with the help of modern technologies."
      image={ImgIntro}
      imgClasses="-mb-20 p-2 md:p-8"
    >
      <h1 className="my-4 text-3xl xsm:text-4xl font-black text-black md:text-5xl">
        Top {' '}

        <Typed
          strings={['developers', 'designers', 'experts']}
          typeSpeed={100}
          backSpeed={50}
          backDelay={3000}
          loop
        />
  <br />
        for your next project
      </h1>
    </PageIntro>

    <main>
      <section className="md:flex p-8 mt-10 items-center puttthemhere justify-center m-auto">
        <div className="text-center">
        <a href="https://clutch.co/se/app-developers" target="_blank">
          <img
            src={TopWebDevelopers}
            alt="Top Web Developer Company"
          />
          </a>
          </div>
            <SectionIntro
            classes="p-8 md:max-w-lg"
            h2Classes="text-3xl xsm:text-4xl sm:text-5xl xl:text-6xl font-black"
            headline="Because beautiful code makes our heart pound"
            text="What gets us going is our passion for cutting edge technologies and incredible user experiences. Our developers deliver custom end-to-end software solutions daily and can even help you with initial analysis, architecture design, testing and deployments."
            />
      </section>

      <section className="relative">
        <Service
        reversed
          classes="py-8"
          h2Classes="text-2xl xsm:text-3xl saburly-color"
          img={ImgDesign}
          title="User Experience Design"
          text="Our approach is simple: focus on how users might use the product in the best ways possible. We offer UX and UI design services for all screens and devices. The solutions are usually shaped through iterative processes of research, prototyping and testing."
        />

        <Service
          classes="py-8"
          h2Classes="text-2xl xsm:text-3xl saburly-color"
          img={ImgFullstack}
          title="Full-Stack Development"
          text="We love modern web development. Our talented developers work with both client-side and server-side technologies are always up to speed with cutting edge trends. We deliver high-quality, maintainable code on time and know how to balance between cost, time and quality."
          imgClasses=""
        />

        <Service
        reversed
          img={ImgMobile}
          classes="py-8"
          h2Classes="text-2xl xsm:text-3xl saburly-color"
          imgClasses="max-h-sm"
          title="Mobile App Development"
          text="We have what it takes to develop competitive iOS and Android applications using both native languages and hybrid solutions. Solutions for iOS are built with Swift & Objective-C and Android solutions are built with Java & Kotlin. We love using technologies like React Native to build cross-platform native apps."
        />
      </section>

      <section className="bg-saburly-lighter text-center p-4">
        <div className="my-8 py-8 container mx-auto max-w-lg">
          <SectionIntro
            h2Classes="text-3xl font-black xsm:text-4xl sm:text-5xl"
            headline="You'll be in great company"
            text="By thinking big, designing smart and developing fast, we are helping organizations of various sizes bring life to ideas. We are now eager to hear what challenges you have for us."
          />
          <div className="p-4 sm:flex flex-wrap items-center max-w-full justify-around">
            <div className="sm:w-1/2 md:w-1/6 p-2">
              <img
                src={LogoColounge}
                className="opacity-50 hover:opacity-100 client-logo p-2"
                alt="Colounge Logo"
              />
            </div>
            <div className="sm:w-1/2 md:w-1/6 p-2">
              <img
                src={LogoRicoh}
                className="opacity-50 hover:opacity-100 client-logo p-2"
                alt="Ricoh Logo"
              />
            </div>
            <div className="sm:w-1/3 md:w-1/6 p-2">
              <img
                src={LogoCoor}
                className="opacity-50 hover:opacity-100 client-logo p-2"
                alt="Coor Logo"
              />
            </div>
            <div className="sm:w-1/3 md:w-1/6 p-2">
              <img
                src={LogoKinnarps}
                className="opacity-50 hover:opacity-100 client-logo p-2"
                alt="Kinnarps Logo"
              />
            </div>
            <div className="sm:w-1/3 md:w-1/6 p-2">
              <img
                src={LogoIMCG}
                className="opacity-50 hover:opacity-100 client-logo p-2"
                alt="IMCG Logo"
              />
            </div>
            <div className="sm:w-1/3 md:w-1/6 p-2">
              <img
                src={LogoHyrma}
                className="opacity-50 hover:opacity-100 client-logo p-2"
                alt="Hyrma Logo"
              />
            </div>
          </div>

          <div className="text-center lg:flex justify-center">
            <Button
              standard
              text="More About What We Do"
              url="/services"
              classes="rounded-full m-2 hover:shadow-md text-grey-darker hover:shadow"
            />
            <Button
              filled
              text="Let's Get In Touch"
              url="/contact"
              classes="text-white shadow hover:shadow-md rounded-full m-2 font-light bg-teal hover:bg-teal-dark"
            />
          </div>
        </div>
      </section>
    </main>
  </PageTransition>
)

//export const query = graphql`
  //query indexPostsQuery {
    //allWordpressPost(limit: 2) {
      //edges {
        //node {
          //id
          //title
          //author {
            //id
            //name
          //}
          //excerpt
          //status
          //slug
          //date(formatString: "MMMM DD, YYYY")
          //featured_media {
            //localFile {
              //childImageSharp {
                //resolutions(width: 700, height: 300) {
                  //src
                  //width
                  //height
                //}
              //}
            //}
          //}
        //}
      //}
    //}
  //}
//`

export default IndexPage
