-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create deployment options page (#543)
* Add section one * Add title and meta description of the page * Update the hero image alt text * Add the three deployment option sections * Replace the selectedTab prop name with deploymentOption names for a better semantic * Add some tweaks * Make the headings dynamic * Replace the names of the section components to more semantic ones * Add comparison table section * Make deployment option sections responsible for mobile screen width * Make hero section responsible for mobile screen width * Replace the hero image with HTML+CSS * Add missing icons to the hero image * Fix the section component names from the home, product, and pricing pages * Add deployment options menu item below product link button and refactor part of the menu code * Create a container component and add it to deployment options page * Fix DeploymentOption typing --------- Co-authored-by: Breno <[email protected]>
- Loading branch information
Showing
104 changed files
with
1,387 additions
and
619 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 |
---|---|---|
|
@@ -238,6 +238,7 @@ const cfg: GatsbyConfig = { | |
`500`, | ||
`600`, | ||
`700`, | ||
`900`, | ||
], | ||
}, | ||
], | ||
|
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 was deleted.
Oops, something went wrong.
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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,21 @@ | ||
import React, { ReactNode } from 'react'; | ||
import clsx from 'clsx'; | ||
import { container, vertical } from './styles.module.less'; | ||
|
||
interface ContainerProps { | ||
children: ReactNode; | ||
className?: string; | ||
isVertical?: boolean; | ||
} | ||
|
||
const Container = ({ children, className, isVertical }: ContainerProps) => { | ||
return ( | ||
<div | ||
className={clsx(container, className, isVertical ? vertical : null)} | ||
> | ||
{children} | ||
</div> | ||
); | ||
}; | ||
|
||
export default Container; |
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,39 @@ | ||
@import '../../globalStyles/sections.module.less'; | ||
|
||
.container { | ||
.globalMaxWidth; | ||
display: flex; | ||
gap: 60px; | ||
align-items: center; | ||
justify-content: space-between; | ||
|
||
> :nth-child(1), | ||
> :nth-child(2) { | ||
flex: 1; | ||
max-width: 50%; | ||
} | ||
|
||
@media (max-width: 1024px) { | ||
flex-direction: column-reverse; | ||
gap: 40px; | ||
|
||
> :nth-child(1), | ||
> :nth-child(2) { | ||
max-width: 100%; | ||
} | ||
} | ||
|
||
@media (max-width: 425px) { | ||
gap: 20px; | ||
} | ||
} | ||
|
||
.vertical { | ||
flex-direction: column; | ||
|
||
> :nth-child(1), | ||
> :nth-child(2) { | ||
flex: 1; | ||
max-width: 100%; | ||
} | ||
} |
12 changes: 9 additions & 3 deletions
12
...ntModes/DeploymentOptionDetails/index.tsx → ...ponents/DeploymentOptionDetails/index.tsx
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
Oops, something went wrong.