[Assembly] homepage refresh (#1558)
* Updates <BrandedCta /> * Add <WhyBoundary /> section * Add <HowBoundaryWorks /> section * Updates <UseCases /> content * Adjust <HomepageHero /> content * Update <HowItWorks /> section * Content updates * Update icon directory * Update how it works title * Removes extra grid container * Adds lang attribute to document * Fix heading level usage * Content updates * Remove secure * Captialize works * Content update * Update use case links * Update background * CTA text * Convert ssh to svg * Convert to SVG * Coming soon to feature block
This commit is contained in:
1 parent
c8b29ded1c
commit
ebb4d4e99f
47 files changed
+1178
-641
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import s from './style.module.css'
|
||||
|
||||
export default function WhyBoundary({ heading, items }) {
|
||||
return (
|
||||
<div className={s.root}>
|
||||
<h2 className={s.heading}>{heading}</h2>
|
||||
<ul className={s.items}>
|
||||
{items.map((item, index) => {
|
||||
return (
|
||||
// Index is stable
|
||||
// eslint-disable-next-line react/no-array-index-key
|
||||
<li key={index}>
|
||||
<img className={s.itemIcon} src={item.icon} alt={item.heading} />
|
||||
<h3 className={s.itemHeading}>{item.heading}</h3>
|
||||
<p className={s.itemDescription}>{item.description}</p>
|
||||
</li>
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
.root {
|
||||
composes: g-grid-container from global;
|
||||
}
|
||||
|
||||
.heading {
|
||||
margin: 0;
|
||||
composes: g-type-display-2 from global;
|
||||
}
|
||||
|
||||
.items {
|
||||
--columns: 1;
|
||||
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 90px 0 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
|
||||
grid-gap: 48px 32px;
|
||||
|
||||
@media (--medium-up) {
|
||||
--columns: 3;
|
||||
}
|
||||
}
|
||||
|
||||
.itemHeading {
|
||||
margin: 38px 0 0;
|
||||
composes: g-type-display-4 from global;
|
||||
}
|
||||
|
||||
.itemDescription {
|
||||
margin: 12px 0 0;
|
||||
composes: g-type-body from global;
|
||||
}
|
||||
Reference in new issue
Block a user