This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new home page * 📱 * use lead form on hero * cleanup * typo * more mobile fixes
- Loading branch information
1 parent
d620e1d
commit 9f05203
Showing
43 changed files
with
3,067 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import styles from './CenteredDemoForm.module.css'; | ||
|
||
import LeadForm from '../lead-form'; | ||
|
||
export default () => ( | ||
<div className={styles.container}> | ||
<h2>A Trusted Platform That Grows With You</h2> | ||
<p className="L"> | ||
Complete audits faster with well-documented controls, clear | ||
audit trails for third parties, and all of the security and | ||
compliance features you need get certified. | ||
</p> | ||
|
||
<div className={styles.leadFormContainer}> | ||
<LeadForm id="Home Page - Request a Demo" /> | ||
</div> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.container { | ||
margin: 196px auto; | ||
padding: 0 210px; | ||
max-width: 1120px; | ||
box-sizing: border-box; | ||
text-align: center; | ||
} | ||
|
||
.leadFormContainer { | ||
box-sizing: border-box; | ||
padding: 0 90px; | ||
} | ||
|
||
@media (--mobile) { | ||
.container { | ||
width: auto; | ||
margin: 48px 24px; | ||
padding: 0; | ||
} | ||
|
||
.leadFormContainer { | ||
padding: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import React from 'react'; | ||
import styles from './HowAptibleWorks.module.css'; | ||
import cn from 'classnames'; | ||
|
||
const steps = [ | ||
[ | ||
{ | ||
id: '01', | ||
title: 'Deploy Your app', | ||
text: 'Point the platform at an existing Docker image to deploy containers automatically, or let Aptible build Docker images for you.' | ||
}, | ||
{ | ||
id: '02', | ||
title: 'Provision a Database', | ||
text: 'Quickly provision a database by picking a type and footprint and letting Aptible do the rest. Get your credentials instantly and resize the container and disk anytime.' | ||
}, | ||
{ | ||
id: '03', | ||
title: 'Configure Your Environment', | ||
text: 'Aptible natively supports 12-factor apps—just provide a list of environment variables and Aptible will securely store and make them available.' | ||
} | ||
], | ||
[ | ||
{ | ||
id: '04', | ||
title: 'Establish Encrypted Endpoints', | ||
text: 'Add an endpoint and Aptible will provision and configure a load balancer that includes SSL termination. You’ll get a hostname back you can use to create a CNAME or send traffic there directly.' | ||
}, | ||
{ | ||
id: '05', | ||
title: 'Access Your Logs', | ||
text: 'Access your logs in real-time via the Aptible CLI. For long-term storage or more advanced use cases, configure a Log Drain to deliver your logs via Syslog or HTTPS.' | ||
}, | ||
{ | ||
id: '06', | ||
title: 'Pass Audits', | ||
text: 'Aptible automates the implementation of all of your infrastructure’s security controls. Evidence of your controls performance is continuously collected for you.' | ||
} | ||
] | ||
] | ||
|
||
|
||
const Step = ({ id, title, text }) => ( | ||
<div className={styles.step}> | ||
<p className={cn('L-bold', styles.stepId)}>{id}</p> | ||
<p className={cn('L-bold', styles.stepTitle)}>{title}</p> | ||
<p className={cn('L', styles.stepDescription)}>{text}</p> | ||
</div> | ||
) | ||
|
||
export default () => ( | ||
<div className={styles.container} id="how-aptible-works"> | ||
<div className={styles.intro}> | ||
<h2>How Aptible Works</h2> | ||
<p className='XL'>Aptible is a Docker-based Platform-as-a-Service that helps you go from code to cloud without ever worrying about managing servers.</p> | ||
</div> | ||
<div className={styles.steps}> | ||
{steps.map((stepRow, i) => ( | ||
<div key={`step-row-${i}`} className={styles.stepRow}> | ||
{stepRow.map((step, k) => ( | ||
<Step key={`step-${i}-${k}`} {...step} /> | ||
))} | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
.container { | ||
margin-bottom: 196px; | ||
max-width: 1120px; | ||
width: 100%; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
.step { | ||
padding: 48px 32px 48px 0; | ||
border-top: 1px solid var(--aptible-green-dark); | ||
box-sizing: border-box; | ||
width: 33%; | ||
} | ||
|
||
.stepId { | ||
color: var(--aptible-yellow); | ||
} | ||
|
||
.stepTitle { | ||
color: white; | ||
} | ||
|
||
.stepRow { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
|
||
.intro { | ||
width: 33%; | ||
margin-bottom: 48px; | ||
} | ||
|
||
@media (--mobile) { | ||
.container { | ||
width: auto; | ||
margin: 48px 24px; | ||
} | ||
|
||
.intro { | ||
width: 100%; | ||
margin-bottom: 16px; | ||
} | ||
|
||
.stepRow { | ||
flex-direction: column; | ||
} | ||
|
||
.step { | ||
padding: 16px 16px 16px 0; | ||
width: 100%; | ||
} | ||
} |
Oops, something went wrong.