Design Changes and tweaks

This commit is contained in:
Moris Zen
2018-08-23 14:18:31 +02:00
parent 8f1e279723
commit 2df21e68ea
7 changed files with 21 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ class Header extends Component {
render() { render() {
return ( return (
<header className="bg-saburly-light-header"> <header className="bg-saburly-light-header">
<nav className="container mx-auto flex items-center justify-between lg:p-6 p-4"> <nav className="container border-saburly-header 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

@@ -10,7 +10,7 @@ const PageIntro = ({ ...props }) => (
props.reversed ? 'flex-col-reverse' : '' props.reversed ? 'flex-col-reverse' : ''
} p-4`} } p-4`}
> >
<div className="text-center lg:text-left lg:mt-4"> <div className="text-center lg:text-left">
<SectionIntro <SectionIntro
intro={props.intro} intro={props.intro}
classes={`lg:text-left lg:max-w-sm content-center ${ classes={`lg:text-left lg:max-w-sm content-center ${

View File

@@ -8,7 +8,7 @@
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
z-index: 0; z-index: 0;
display: none; display: none;
background-color: #5640a6; background-color: #7444cf;
} }
.slideout-menu-left { .slideout-menu-left {

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 opacity-80 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-indigo hover:opacity-100 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 opacity-80 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-indigo hover:opacity-100 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 opacity-80 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-indigo hover:opacity-100 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 opacity-80 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-indigo hover:opacity-100 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 opacity-80 text-right no-underline text-2xl uppercase p-4 text-white"> <li className="hover:bg-indigo hover:opacity-100 text-right no-underline text-2xl uppercase p-4 text-white">
Contact Contact
</li> </li>
</Link> </Link>

View File

@@ -28,7 +28,7 @@ const ContactPage = () => (
<div className="font-normal text-xl mb-2"> <div className="font-normal text-xl mb-2">
Saburly Office in Sarajevo Saburly Office in Sarajevo
</div> </div>
<p className="md:flex text-left justify-around text-grey-darker text-base"> <div className="md:flex text-left justify-around text-grey-darker text-base">
<div> <div>
<h4>Adress</h4> <h4>Adress</h4>
Saburly d.o.o <br /> Saburly d.o.o <br />
@@ -54,7 +54,7 @@ const ContactPage = () => (
bosnia@saburly.com bosnia@saburly.com
</a>{' '} </a>{' '}
</div> </div>
</p> </div>
</div> </div>
</div> </div>
</div> </div>
@@ -65,7 +65,7 @@ const ContactPage = () => (
<div className="font-normal text-xl mb-2"> <div className="font-normal text-xl mb-2">
Saburly Office in Stockholm Saburly Office in Stockholm
</div> </div>
<p className="md:flex text-left justify-around text-grey-darker text-base"> <div className="md:flex text-left justify-around text-grey-darker text-base">
<div> <div>
<h4>Adress</h4> <h4>Adress</h4>
Saburly AB <br /> Saburly AB <br />
@@ -91,7 +91,7 @@ const ContactPage = () => (
sweden@saburly.com sweden@saburly.com
</a>{' '} </a>{' '}
</div> </div>
</p> </div>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -28,8 +28,7 @@ const IndexPage = ({ ...props }) => (
buttonClasses="text-white font-normal shadow hover:shadow-md rounded-full mt-4 font-light bg-teal hover:bg-teal-dark mb-20" buttonClasses="text-white font-normal shadow hover:shadow-md rounded-full mt-4 font-light bg-teal hover:bg-teal-dark mb-20"
intro="Welcome To Saburly" intro="Welcome To Saburly"
headline="We build the right software for you" headline="We build the right software for you"
text="Saburly is a team of highly experienced, creative and passionate engineers. 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. Our mission is to make you stand out and gain competitive advantages with the help of modern technologies."
sectionClasses="md:pt-10"
image={ImgIntro} image={ImgIntro}
imgClasses="-mb-20 lg:-mt-12" imgClasses="-mb-20 lg:-mt-12"
/> />

View File

@@ -21,7 +21,7 @@
} }
.bg-saburly-light-header { .bg-saburly-light-header {
background: #5640a6; background: #7444cf;
@media (min-width: 992px) { @media (min-width: 992px) {
background: linear-gradient( background: linear-gradient(
90deg, 90deg,
@@ -56,7 +56,7 @@
background: rgb(255, 255, 255); background: rgb(255, 255, 255);
background: linear-gradient( background: linear-gradient(
180deg, 180deg,
RGBA(112, 92, 182, 1) 0%, RGBA(116, 68, 207, 1) 0%,
RGBA(57, 57, 144, 1) 100% RGBA(57, 57, 144, 1) 100%
); );
} }
@@ -111,3 +111,9 @@
.border-contact { .border-contact {
border-bottom: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2);
} }
.border-saburly-header {
@media (max-width: 991px) {
box-shadow: 0 4px 2px -2px #000000;
}
}