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

New homepage banner design changes #150

Open
wants to merge 8 commits into
base: website-in-react
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
6 changes: 2 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@
Limited
</title>
<!-- <link rel="stylesheet" href="styles/main.min.css" /> -->
<link
href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap" rel="stylesheet">
<script
type="text/javascript"
async=""
Expand Down
Binary file added src/assets/images/home/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/banner_mb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/contact_us_btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/contact_us_btn_mb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/contact_us_mb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/gophercon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/gophercon.png.webp
Binary file not shown.
Binary file added src/assets/images/home/gophercon_mb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/gophercon_mb.png.webp
Binary file not shown.
Binary file added src/assets/images/home/santa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/home/santa_mb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 66 additions & 2 deletions src/assets/stylesheets/pages/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
}

.disruption-margin {
margin: 3.5rem 3.5rem !important;
margin: 1rem 1rem !important;
}

.slider {
Expand Down Expand Up @@ -674,6 +674,70 @@
}
@include media-breakpoint-down(sm) {
min-height: 150px;
max-height: 150px
max-height: 150px;
}
}

.bg-light-gray {
background-color: $gray-96;
}

.banner-wrapper-mb {
height: 384px;
display: flex;
align-items: center;
justify-content: flex-end;
background: transparent url('../images/home/banner_mb.png') no-repeat bottom center;
background-size: cover;
flex-direction: column;
padding-bottom: 48px;
}

.banner-wrapper {
height: 384px;
display: flex;
align-items: center;
justify-content: flex-end;
background: transparent url('../images/home/banner.png') no-repeat bottom center;
background-size: cover;
flex-direction: column;
padding-bottom: 48px;
}

.banner-normal-text {
margin-top: -10px;
font-size: 16px;
line-height: 20px;
@include media-breakpoint-down(sm) {
margin-top: -4px;
}
}

.btn-banner-contact-us {
margin-bottom: 8px;
}

.banner-heading-font-weight-bold {
font-weight: 900;
font-size: 52px;
line-height: 62px;
margin-bottom: 24px;
@include media-breakpoint-down(sm) {
font-size: 30px;
line-height: 36px;
margin-bottom: 18px;
}
}

.banner-secondary-heading-font-weight-bold {
font-weight: 700;
line-height: 0px;
font-size: 24px;
margin-bottom: 24px;
@include media-breakpoint-down(sm) {
line-height: 16px;
font-size: 18px;
margin-bottom: 16px;
}

}
75 changes: 75 additions & 0 deletions src/components/home/HomePageBanner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
import React from 'react';
import { Row, Col } from 'reactstrap';
import Santa from '../../assets/images/home/santa.png';
import SantaMob from '../../assets/images/home/santa_mb.png';
import ContactUsBtn from '../../assets/images/home/contact_us_btn.png';
import ContactUsBtnMob from '../../assets/images/home/contact_us_btn_mb.png';
import Media from 'react-media';

const TagLines = () => {
return (
<Row className="justify-content-center">
<Col>
<p className="text-center disruption-margin">
Disruption is not the future, it is the present. In an ever evolving technological landscape, it is
<br/>
imperative for innovation to win over the mundane, and that's exactly what we aim to achieve.
</p>
</Col>
</Row>
)
};

const HomePageBanner = () => {
return (
<Media query="(max-width: 500px)">
{matches =>
matches ? (
<section className="bg-light-gray justify-content-center">
<div className="banner-wrapper-mb">
<h2 className="banner-heading-font-weight-bold text-white text-center">
INNOVATION & DISRUPTION
</h2>
<h5 className="banner-secondary-heading-font-weight-bold text-white">
is the way We change the Game
</h5>
<a href="/contact_us">
<img src={ContactUsBtnMob} alt="contact-us" />
</a>
<h6 className="text-white banner-normal-text">
to change yours
</h6>
</div>
<div className="text-center banner-text">
<img src={SantaMob} alt="santa-mobile" style={{ transform: `rotate(-10deg)` }}/>
</div>
<TagLines />
</section>
) : (
<section className="bg-light-gray justify-content-center">
<div className="banner-wrapper">
<h2 className="banner-heading-font-weight-bold text-white">
INNOVATION & DISRUPTION
</h2>
<h5 className="banner-secondary-heading-font-weight-bold text-white">
is the way We change the Game
</h5>
<a href="/contact_us">
<img src={ContactUsBtn} alt="contact-us" />
</a>
<h6 className="text-white banner-normal-text">
to change yours
</h6>
</div>
<div className="text-center">
<img src={Santa} alt="santa" style={{ transform: `rotate(-10deg)` }}/>
</div>
<TagLines />
</section>
)
}
</Media>
);
}

export default HomePageBanner;
30 changes: 4 additions & 26 deletions src/components/home/domainExpertise.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,6 @@ const DomainExpertise = props => {

return (
<Fragment>
<section className="gray-back justify-content-center">
<Row className="justify-content-around m-auto tech-list">
<Col md={8} xs={12} sm={12}>
<JoshCarousel items={carouselItems} settings={carouselSettings} />
</Col>
</Row>
</section>
<section id="clientsSlide" className="section-home">
<Heading1>Domain Expertise</Heading1>
<Row className="justify-content-around m-auto">
Expand Down Expand Up @@ -145,25 +138,10 @@ const DomainExpertise = props => {
<Col sm={2} md={3} />
</Row>
</section>
<section className="gray-back d-flex justify-content-center">
<Row className="d-xs-none w-55">
<Col>
<p className="text-center disruption-margin">
Disruption is not the future, it is the present. In an ever
evolving technological landscape, it is imperative for innovation
to win over the mundane, and that's exactly what we aim to
achieve.
</p>
</Col>
</Row>
<Row className="justify-content-center d-md-none m-auto w-100 p-md-3">
<Col>
<p className="text-center disruption-margin">
Disruption is not the future, it is the present. In an ever
evolving technological landscape, it is imperative for innovation
to win over the mundane, and that's exactly what we aim to
achieve.
</p>
<section className="gray-back justify-content-center">
<Row className="justify-content-around m-auto tech-list">
<Col md={8} xs={12} sm={12}>
<JoshCarousel items={carouselItems} settings={carouselSettings} />
</Col>
</Row>
</section>
Expand Down
6 changes: 6 additions & 0 deletions src/components/home/homePageCarousal.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ HomePageCarousal.defaultProps = {
title: "Gopher Guide",
subTitle: "Past event."
},
{
image: "gophercon",
name: "Gophercon 2020",
title: "Gophercon 2020",
subTitle: "Upcoming event."
},
]
}

Expand Down
5 changes: 2 additions & 3 deletions src/components/home/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import HomePageCarousal from './homePageCarousal.js';
import HomePageBanner from './HomePageBanner.js';
import { Clients } from './clients.js';
import Testimonials from './testimonials.js';
import Company from "./company.js";
Expand All @@ -14,9 +14,8 @@ const Home = () => {

return (
<>
<div className="main-container" />
<main id="page-wrap">
<HomePageCarousal />
<HomePageBanner />
<DomainExpertise />
<WhatWeDo />
<Innovations />
Expand Down
6 changes: 6 additions & 0 deletions src/components/home/testimonials.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ const Testimonial = (props) => {

Testimonials.defaultProps = {
testimonialData: [
{
"description": "At this moment I would like to take the opportunity to say thanks to the entire Josh Team who have been part of this journey. I must say that it has been the most comfortable engagements ever in my experience so far.",
"clientName": "Mr. Prakash Pandey",
"designation": "Head of Technology",
"projectName": "BCSG/Legalzoom UK"
},
{
"description": "Josh Team has been able to turnaround our CRM and mobile App by understanding our needs, engaging in continuous dialogue during development phase to align the output and giving a product which is working with wonderful speed and ease for our doctors and patients. Deeper listening, long term view, flexibility and timely output have been some qualities that have made this a mutually beneficial experience!",
"clientName": "Dr. Pramod Tripathi",
Expand Down
9 changes: 9 additions & 0 deletions src/components/testimonials/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ const TestimonialsList = (props) => {

TestimonialsList.defaultProps = {
testimonialList: [
{
"description": <div>
<p className="para-text">At this moment I would like to take the opportunity to say thanks to the entire Josh Team who have been part of this journey. I must say that it has been the most comfortable engagements ever in my experience so far.</p>
<p className="para-text">I must say I am thoroughly impressed with Josh team. They have managed the expectation very well from the engagement perspective. They are technically very sound on the project as well as professional in delivering the output yet keeping things very informal and comfortable for the client.
All in all, it was a thorough satisfying journey with Josh so far in my experience. </p></div>,
"clientName": "Mr. Prakash Pandey",
"designation": "Head of Technology",
"projectName": "BCSG/Legalzoom UK"
},
{
"description": <div>
<p className="para-text">The search for a development partner can be a daunting task. You are not just looking for the right skill set and experience, you need a team you can trust. My search finished a little over 6 years ago when I found Josh. Since the early days of Brandscope, the Josh team have been with us all the way. They have worked with us, not for us, and have helped transform Brandscope into something we are all proud of.</p>
Expand Down