Design tweaks and color changes

This commit is contained in:
Moris Zen
2018-08-29 14:52:49 +02:00
parent 9e16924bfb
commit 90c05a76c2
6 changed files with 28 additions and 34 deletions

View File

@@ -2,7 +2,7 @@ import React from 'react'
import Link from 'gatsby-link' import Link from 'gatsby-link'
import Button from './Button' import Button from './Button'
import LogoSaburly from '../images/Saburly-logo.svg' import LogoSaburly from '../images/saburly-logo-white.svg'
import Facebook from '../images/facebook.svg' import Facebook from '../images/facebook.svg'
import Instagram from '../images/instagram.svg' import Instagram from '../images/instagram.svg'
@@ -14,10 +14,10 @@ let menuClasses =
const Footer = () => ( const Footer = () => (
<footer className="saburly-main-bg"> <footer className="saburly-main-bg">
<div className="text-center py-4 lg:px-4"> <div className="text-center py-4 lg:px-4 saburly-overlay-shadow">
<Link className="no-underline text-white" to="/contact"> <Link className="no-underline text-white" to="/contact">
<div <div
className="p-2 items-center text-indigo-lightest leading-none lg:rounded-full flex lg:inline-flex" className="p-2 items-center text-white leading-none lg:rounded-full flex lg:inline-flex"
role="alert" role="alert"
> >
<span className="flex rounded-full bg-indigo uppercase px-2 py-1 text-xs font-bold mr-3"> <span className="flex rounded-full bg-indigo uppercase px-2 py-1 text-xs font-bold mr-3">
@@ -36,7 +36,7 @@ const Footer = () => (
</div> </div>
</Link> </Link>
</div> </div>
<div className="container mx-auto lg:flex"> <div className="container mx-auto my-4 lg:flex">
<div className="lg:w-1/4 p-4"> <div className="lg:w-1/4 p-4">
<img <img
src={LogoSaburly} src={LogoSaburly}
@@ -81,26 +81,12 @@ const Footer = () => (
</a> </a>
</div> </div>
</div> </div>
<div>
<a
className="text-center lg:text-left opacity-70 hover:opacity-100 py-4 lg:py-1 text-xl lg:text-sm no-underline text-white block"
href="mailto:info@saburly.com"
>
E-mail: info@saburly.com
</a>
<a
className="text-center text-xl lg:text-sm lg:text-left opacity-70 hover:opacity-100 no-underline text-white block"
href="tel:+46760477717"
>
Phone: +46760477717
</a>
</div>
</div> </div>
<div className="lg:w-3/4"> <div className="lg:w-3/4">
<div className="p-4 text-center lg:text-left sm:flex justify-around"> <div className="p-4 text-center lg:text-left sm:flex justify-around">
<nav> <nav>
<p className="font-thin text-white opacity-50">Sitemap</p> <p className="font-thin text-white opacity-80">Sitemap</p>
<ul className="list-reset text-sm inline-block"> <ul className="list-reset text-sm inline-block">
<Link className="block my-2 hover:opacity-70" to="/"> <Link className="block my-2 hover:opacity-70" to="/">
<li className={menuClasses}>Home</li> <li className={menuClasses}>Home</li>
@@ -117,14 +103,14 @@ const Footer = () => (
</ul> </ul>
</nav> </nav>
<div> <div>
<p className="font-thin text-white opacity-50">Office - Sweden</p> <p className="font-thin text-white opacity-80">Office - Sweden</p>
<p className="text-white my-2 opacity-80 leading-normal"> <p className="text-white my-2 leading-normal">
Saburly AB<br />Vretenvägen 13<br />171 54 Solna<br />Sweden Saburly AB<br />Vretenvägen 13<br />171 54 Solna<br />Sweden
</p> </p>
</div> </div>
<div> <div>
<p className="font-thin text-white opacity-50">Office - Bosnia</p> <p className="font-thin text-white opacity-80">Office - Bosnia</p>
<p className="text-white my-2 opacity-80 leading-normal"> <p className="text-white my-2 leading-normal">
Saburly d.o.o<br />Hakije Turajlica 2<br />71 000 Sarajevo<br />Bosnia Saburly d.o.o<br />Hakije Turajlica 2<br />71 000 Sarajevo<br />Bosnia
& Herzegovina & Herzegovina
</p> </p>

View File

@@ -13,7 +13,7 @@ class Header extends Component {
render() { render() {
return ( return (
<header className="saburly-main-bg saburly-bottom-shadow"> <header className="saburly-main-bg saburly-bottom-shadow">
<nav className="container border-saburly-header mx-auto flex items-center justify-between lg:p-6 p-4"> <nav className="container mx-auto flex items-center justify-between lg:p-6 p-4">
<Link to="/"> <Link to="/">
<div className="max-w-xs mr-8"> <div className="max-w-xs mr-8">
<img <img

View File

@@ -51,7 +51,7 @@ class SideMenu extends Component {
X X
</button> </button>
<Link to="/" className="side-close menu-home no-underline"> <Link to="/" className="side-close menu-home no-underline">
<li className="hover:bg-indigo hover:opacity-100 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-white hover:text-black text-right no-underline text-2xl uppercase p-4 text-white">
Home Home
</li> </li>
</Link> </Link>
@@ -59,22 +59,22 @@ class SideMenu extends Component {
to="/services" to="/services"
className="side-close menu-services no-underline" className="side-close menu-services no-underline"
> >
<li className="hover:bg-indigo hover:opacity-100 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-white hover:text-black text-right no-underline text-2xl uppercase p-4 text-white">
Services Services
</li> </li>
</Link> </Link>
<Link to="/about" className="side-close menu-about no-underline"> <Link to="/about" className="side-close menu-about no-underline">
<li className="hover:bg-indigo hover:opacity-100 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-white hover:text-black text-right no-underline text-2xl uppercase p-4 text-white">
About Us About Us
</li> </li>
</Link> </Link>
<Link to="/blog" className="side-close menu-blog no-underline"> <Link to="/blog" className="side-close menu-blog no-underline">
<li className="hover:bg-indigo hover:opacity-100 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-white hover:text-black text-right no-underline text-2xl uppercase p-4 text-white">
Blog Blog
</li> </li>
</Link> </Link>
<Link to="/contact" className="side-close menu-contact no-underline"> <Link to="/contact" className="side-close menu-contact no-underline">
<li className="hover:bg-indigo hover:opacity-100 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-white hover:text-black text-right no-underline text-2xl uppercase p-4 text-white">
Contact Contact
</li> </li>
</Link> </Link>

View File

@@ -25,7 +25,7 @@ const IndexPage = ({ ...props }) => (
<PageIntro <PageIntro
text="We're a team of experienced, creative and passionate engineers and designers. Our mission is to make you stand out and gain competitive advantages with the help of modern technologies." text="We're a team of experienced, creative and passionate engineers and designers. Our mission is to make you stand out and gain competitive advantages with the help of modern technologies."
image={ImgIntro} image={ImgIntro}
imgClasses="-mb-20 lg:-mt-12" imgClasses="-mb-20"
> >
<h2 className="text-black pt-1 pb-2"> <h2 className="text-black pt-1 pb-2">
We{' '} We{' '}

View File

@@ -19,7 +19,7 @@ const ServicesPage = () => (
headline="Agile Practitioners" headline="Agile Practitioners"
text="At Saburly we embrace Agiles methodologies for every project and business environment, no matter the size, scale, or complexity. Our flexible processes ensure high productivity and we know how to balance between cost, time and quality." text="At Saburly we embrace Agiles methodologies for every project and business environment, no matter the size, scale, or complexity. Our flexible processes ensure high productivity and we know how to balance between cost, time and quality."
image={IntroImage} image={IntroImage}
imgClasses="-mb-12 lg:-mt-8 border-white border-8 rounded" imgClasses="-mb-12 border-white border-8 rounded"
/> />
<section className="px-4 py-16"> <section className="px-4 py-16">
<div className="container mx-auto"> <div className="container mx-auto">

View File

@@ -16,7 +16,7 @@ body {
} }
.bg-saburly-light { .bg-saburly-light {
background: #f8f8f8; background: rgba(87, 99, 171, 0.05);
} }
.bg-saburly-light-header { .bg-saburly-light-header {
@@ -47,7 +47,7 @@ body {
background: linear-gradient( background: linear-gradient(
180deg, 180deg,
RGBA(116, 68, 207, 1) 0%, RGBA(116, 68, 207, 1) 0%,
RGBA(57, 57, 144, 1) 100% RGBA(87, 99, 171, 1) 100%
); );
} }
@@ -94,7 +94,7 @@ body {
max-height: 3rem; max-height: 3rem;
} }
.saburly-bottom-shadow { .border-bottom-saburly {
box-shadow: 0 6px 14px 0 rgba(51, 6, 13, 0.04), box-shadow: 0 6px 14px 0 rgba(51, 6, 13, 0.04),
0 2px 3px 0 rgba(51, 6, 13, 0.12); 0 2px 3px 0 rgba(51, 6, 13, 0.12);
} }
@@ -114,3 +114,11 @@ body {
.saburly-logo { .saburly-logo {
margin-bottom: -0.4rem; margin-bottom: -0.4rem;
} }
.border-saburly-header {
box-shadow: 0 4px 2px -2px #000000;
}
.saburly-overlay-shadow {
background-color: RGBA(0, 0, 0, 0.1);
}