Skip to content
Merged
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
8 changes: 0 additions & 8 deletions components/index/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,8 @@ const SectionStyled = styled.section`
justify-content: center;
z-index: ${({ theme }) => theme.zIndex.pageContent};
h1 {
font-size: 2em;
margin: 0 0 ${({ theme }) => theme.spacing[4]}px 0;
text-transform: uppercase;
@media ${({ theme }) => theme.breakpoint.xs} {
font-size: 2.5em;
}
@media ${({ theme }) => theme.breakpoint.sm} {
line-height: 1em;
font-size: 3em;
}
}
p {
max-width: ${({ theme }) => theme.width.article};
Expand Down
278 changes: 278 additions & 0 deletions components/index/location-data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
import Head from 'next/head'
import Slider from 'react-slick'
import styled from 'styled-components'

const SectionStyled = styled.section`
color: ${({ theme }) => theme.color.white};
padding: ${({ theme }) => theme.spacing[5]}px 0;
.container {
background-color: ${({ theme }) => theme.color.blue};
box-sizing: border-box;
.content {
box-sizing: border-box;
margin: 0 auto;
max-width: ${({ theme }) => theme.width.page};
padding: ${({ theme }) => theme.spacing[5]}px
${({ theme }) => theme.spacing[3]}px;
text-align: center;
h2 {
margin: 0 auto;
max-width: 750px;
text-transform: uppercase;
}
.carousel {
box-sizing: border-box;
.item {
align-items: center;
box-sizing: border-box;
display: flex !important;
flex-direction: column;
justify-content: center;
padding: 20px;
.message {
margin: 0;
max-width: 150px;
}
.title {
font-size: 2em;
font-weight: ${({ theme }) => theme.font.regular};
}
}
}
.image-globe {
width: 100%;
}
.products {
margin: -100px 0 0 0;
@media ${({ theme }) => theme.breakpoint.xs} {
margin: -150px 0 0 0;
}
@media ${({ theme }) => theme.breakpoint.sm} {
align-items: center;
display: flex;
justify-content: center;
margin: -175px 0 0 0;
}
@media ${({ theme }) => theme.breakpoint.md} {
margin: -200px 0 0 0;
}
@media ${({ theme }) => theme.breakpoint.md} {
margin: -250px 0 0 0;
}
.left {
@media ${({ theme }) => theme.breakpoint.sm} {
padding: 0 ${({ theme }) => theme.spacing[3]}px 0 0;
}
@media ${({ theme }) => theme.breakpoint.sm} {
padding: 0 ${({ theme }) => theme.spacing[4]}px 0 0;
}
}
.logo {
align-items: center;
display: flex;
justify-content: center;
margin: 0 0 ${({ theme }) => theme.spacing[4]}px 0;
img {
margin: 0 ${({ theme }) => theme.spacing[3]}px 0 0;
max-width: 150px;
width: 100%;
@media ${({ theme }) => theme.breakpoint.xs} {
max-width: 175px;
}
}
p {
font-size: 2em;
font-weight: ${({ theme }) => theme.font.light};
@media ${({ theme }) => theme.breakpoint.xs} {
font-size: 2.25em;
}
}
}
.right {
@media ${({ theme }) => theme.breakpoint.sm} {
padding: 0 0 0 ${({ theme }) => theme.spacing[3]}px;
}
@media ${({ theme }) => theme.breakpoint.sm} {
padding: 0 0 0 ${({ theme }) => theme.spacing[4]}px;
}
}
.screenshot {
margin: 0 0 ${({ theme }) => theme.spacing[5]}px 0;
.screenshot-image {
border-radius: 10px;
max-width: 400px;
width: 100%;
}
}
}
}
}
.shape {
box-sizing: border-box;
height: calc(100vw * 0.066);
min-height: 25px;
width: 100%;
svg {
fill: ${({ theme }) => theme.color.blue};
}
}
`

export default function LocationData() {
const sliderSettings = {
arrows: false,
autoplay: true,
autoplaySpeed: 2000,
dots: false,
slidesToScroll: 1,
slidesToShow: 5,
responsive: [
{
breakpoint: 992,
settings: {
slidesToShow: 4
}
},
{
breakpoint: 768,
settings: {
slidesToShow: 3
}
},
{
breakpoint: 576,
settings: {
slidesToShow: 2
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1
}
}
]
}

const sliderItems = [
{
title: '20B+',
message: 'Daily Online Interactions'
},
{
title: '100K+',
message: 'App Access through Syndication partnership'
},
{
title: '2.4B+',
message: 'Device Graph North America'
},
{
title: '260+',
message: 'Terabytes of Data Collected Monthly'
},
{
title: '18M+',
message: 'MAU Devices in Canada'
}
]

return (
<SectionStyled>
<Head>
<link
charSet='UTF-8'
href='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css'
rel='stylesheet'
type='text/css'
/>
<link
href='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css'
rel='stylesheet'
type='text/css'
/>
</Head>

<div className='shape'>
<svg
height='100%'
preserveAspectRatio='none'
width='100%'
viewBox='0 0 100 100'
>
<polygon points='50 100, 100 0, 100 100, 0 100, 0 0' />
</svg>
</div>

<div className='container'>
<div className='content'>
<h2>
EQ Provides a Wealth of Geo-Spatial Location Data in
our&nbsp;Algorithms
</h2>

<img
alt={`Globe with logos and text emerging from different areas: Consumer Purchase Data,
Mastercard logo, Real Estate, Statistics Canada logo, Credit Score Data, TMG Analytics logo,
Automotive data, Behavioural data, Caddle logo, and Opta logo.`}
className='image-globe'
src='/images/index/fallback/location-data-world.png'
/>

<div className='products'>
<div className='left screenshot'>
<div className='logo'>
<img
alt='Locus logo'
src='/images/components/fallback/logo-locus-white.png'
/>
<p>DMP</p>
</div>
<img
alt='Product design screenshot of EQ Locus platform'
className='screenshot-image'
src='/images/index/fallback/location-data-locus.png'
/>
</div>
<div className='right screenshot'>
<div className='logo'>
<img
alt='Atom logo'
src='/images/components/fallback/logo-atom-white.png'
/>
<p>DSP</p>
</div>
<img
alt='Product design screenshot of EQ Atom platform'
className='screenshot-image'
src='/images/index/fallback/location-data-atom.jpg'
/>
</div>
</div>

<div className='carousel'>
<Slider {...sliderSettings}>
{sliderItems.map((item) => (
<div className='item' key={item.title}>
<p className='title'>{item.title}</p>
<p className='message'>{item.message}</p>
</div>
))}
</Slider>
</div>
</div>
</div>

<div className='shape'>
<svg
height='100%'
preserveAspectRatio='none'
width='100%'
viewBox='0 0 100 100'
>
<polygon points='0 0, 100 0, 50, 100' />
</svg>
</div>
</SectionStyled>
)
}
6 changes: 2 additions & 4 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ const BetterUnderstand = dynamic(() =>
import('../components/index/better-understand')
)
const Tabs = dynamic(() => import('../components/index/tabs'))
const LocationBehaviour = dynamic(() =>
import('../components/index/location-behaviour')
)
const LocationData = dynamic(() => import('../components/index/location-data'))
const ConnectedDevices = dynamic(() =>
import('../components/index/connected-devices')
)
Expand All @@ -23,7 +21,7 @@ export default function Index() {
<Hero />
<BetterUnderstand />
<Tabs />
<LocationBehaviour />
<LocationData />
<ConnectedDevices />
<SimplifyYour title='digital advertising' />
<OurClientsNoSSR header />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 public/images/index/location-data-atom.jpg
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 public/images/index/location-data-locus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions styles/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,25 @@ const GlobalStyle = createGlobalStyle`

h1 {
font-family: ${({ theme }) => theme.font.name}, sans-serif;
font-weight: ${({ theme }) => theme.font.regular};
font-size: 2em;
font-weight: ${({ theme }) => theme.font.light};
line-height: 1.25em;
margin: 0;
padding: 0;
@media ${({ theme }) => theme.breakpoint.sm} {
font-size: 3em;
}
}

h2 {
font-family: ${({ theme }) => theme.font.name}, sans-serif;
font-weight: ${({ theme }) => theme.font.regular};
font-size: 2em;
font-size: 1.5em;
font-weight: ${({ theme }) => theme.font.light};
margin: 0;
padding: 0;
@media ${({ theme }) => theme.breakpoint.sm} {
font-size: 2em;
}
}

h3 {
Expand Down