Skip to content

Commit

Permalink
Approach backgrounf
Browse files Browse the repository at this point in the history
  • Loading branch information
naticampiglia committed Feb 1, 2024
1 parent ea5a9f2 commit 047231a
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 9 deletions.
17 changes: 9 additions & 8 deletions src/components/approach.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import ANALYSE from '../images/approach/analyse.svg';

const Approach = () => {
return (
<div id='#approach' className='approach-section container-border-bottom'>
<div id='#approach' className='approach-section'>
<div className="approach-background"></div>
<div className='container mx-auto'>
<div className='flex flex-col relative lg:py-24 pt-10 pb-5'>
<div className='lg:col-span-12 flex flex-col items-center pb-10'>
<h2 className='lg:text-display-lg text-display-md font-semibold pb-4 text-center lg:px-24'>
<h2 className='lg:text-display-lg text-display-md font-semibold pb-4 text-center lg:px-24 text-white'>
Our Approach
</h2>
</div>
Expand All @@ -20,10 +21,10 @@ const Approach = () => {
<div className='image-circle mb-4'>
<img src={CONNECT} alt='UI' className='' />
</div>
<h2 className='lg:text-4xl text-display-xs font-semibold text-center mb-2'>
<h2 className='lg:text-4xl text-display-xs font-semibold text-center mb-2 text-white'>
Evaluate
</h2>
<p className='text-body-md font-normal text-neutral-600 text-center'>
<p className='text-body-md font-normal text-neutral-600 text-center text-neutral-300'>
We begin with a detailed site evaluation to understand your
energy monitoring needs, from overall consumption to specific
equipment. <br />
Expand All @@ -37,10 +38,10 @@ const Approach = () => {
<div className='image-circle mb-4'>
<img src={DEPLOY} alt='UI' />
</div>
<h2 className='lg:text-4xl text-display-xs font-semibold text-center mb-2'>
<h2 className='lg:text-4xl text-display-xs font-semibold text-center mb-2 text-white'>
Deploy
</h2>
<p className='text-body-md font-normal text-neutral-600 text-center'>
<p className='text-body-md font-normal text-neutral-600 text-center text-neutral-300'>
We provide an all-inclusive package of hardware, connectivity,
and software, specifically tailored to your logistical
operations. <br /> Our turnkey solutions ensure a smooth and
Expand All @@ -52,10 +53,10 @@ const Approach = () => {
<div className='image-circle mb-4'>
<img src={ANALYSE} alt='UI' />
</div>
<h2 className='lg:text-4xl text-display-xs font-semibold text-center mb-2'>
<h2 className='lg:text-4xl text-display-xs font-semibold text-center mb-2 text-white'>
Analyse
</h2>
<p className='text-body-md font-normal text-neutral-600 text-center'>
<p className='text-body-md font-normal text-neutral-600 text-center text-neutral-300'>
Benefit from immediate analytics post-deployment, offering
instant access to crucial energy data. <br /> Empower your
decision-making with timely and accurate energy insights.
Expand Down
2 changes: 1 addition & 1 deletion src/components/solutions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import CLOUD from '../images/solutions/cloud.svg';

const Solutions = () => {
return (
<div id='#solutions' className='container-border-bottom'>
<div id='#solutions' className=''>
<div className='container mx-auto'>
<div className='flex flex-col relative lg:pt-24 pt-10 pb-5'>
<div className='lg:col-span-12 flex flex-col items-center pb-10'>
Expand Down
11 changes: 11 additions & 0 deletions src/images/linear-gradient.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
--neutral-50: #f9fafb;
}

body {
overflow-x: hidden;
}

.container-border-bottom {
border-bottom: 1px solid #efefef;
}
Expand Down Expand Up @@ -58,6 +62,21 @@
}

.approach-section {
position: relative;
.approach-background {
width: 200%;
height: 100%;
position: absolute;
top: 0;
left: -50%;
background: linear-gradient(
to bottom right,
var(--primary-300) 20%,
var(--primary-600)
);
transform: rotate(-5deg);
}

.image-circle {
width: 80px;
height: 80px;
Expand Down

0 comments on commit 047231a

Please sign in to comment.