[Website] Public Launch Assembly (#438)

* Reduce hero size for placeholder

* Clean up Sticky Footer

- Increase the specificity of the selector to prevent any accidental
collisions
- Account for the meganav that exists

* [Website] Add Boundary Features section to homepage (#436)

* Install and implement ProductFeaturesList

* Add images and content

* Inline the product features

* [Website] Add use cases section (#445)

* Commit to illustrate UseCases error

* update react image

* Add in content from design

* Tweaks

* Apply handy edits

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* [Website] Add SectionBreakCta component (#452)

* Create implement barebones component

* Build structure/add content

* Get CSS up to spec

- Typography
- spacing
- Layout
- box-shadow
- Accent line

* Mobile treatment

* Update URL

* Add a break-section to give bg on page

* Change link to outbound

Design is incorrect for this link

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* Reduce CSS selectors

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* [Website] Add branded CTA section (#450)

* Create skeleton for component

* Bring in line with CallToAction styles

* Set up background

* Typography and layout (and mobile)

* Button polish

* Changes to prep for updates

These will keep the homepage ready for component updates 
and the upcoming docs and download pages.

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* Address feedback

- Reduce button hackiness
- Adjust pattern position on mobile to not overlap button

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* Upgrade button, minor tweaks to BrandedCTA (#481)

* Updates dependencies

* [Website] Homepage hero updates (#503)

* Adjustments to align and lay out left side

* Implement hero background

* Adjust hero URLs

* Implement mobile hero pattern/tweaks

* Add video!

* Mobile tweaks

* Remove mobile bg

* Center the text/buttons on mobile

* Remove mobile hero pattern

* Address visual nits

* Adjust interface for video

* [Website] Add "How it works" section (#483)

* Create skeleton and implement component

* Add sections

* Add CSS and adjust structure

* Remove sections ternary

* Change nomenclature for clarity

* Mobile tweaks

* Tweaks inspired by HCP

* Create LogoList component skeleton

* Implement LogoList on main component

- Shift footertext responsibility to it
- Assume logos will be passed in, because it doesn't render otherwise
  anyway with the right checks

* Implement some logos/restructure LogoList

* CSS adjustments to logolist/section layout

* Show example for too many integrations

* Remove cutoff logic

* Add SVGs for diagram stack

* Combine SVGs into a component

This is necessary to act on various parts of the image independently.

* Fully combine SVG and remove unneeded CSS

* Further CSS cleanup

* Implement stickyness

* Set up active example checks for graphic

* Implement reactivity

- Apply styles based on inactivity or activity, whichever fits best
  per-element
- Add expected state to the general HowItWorks component, where it will
  be managed and passed into the diagram
- Make icon and arrow spacers use the same spacer class

* CSS tweaks for design/organization

* Implement scroll-to-animate functionality!

* Fill out icons for integrations

* Feature updates

- Move LogoList into folder
- Give descriptions some margin

* Mobile treatment tweaks

* Import logic from the cloud-platform page on .com

This fixes a bug in which the in-view example would not update in an
expected manner.

* Remove max-width adjustment on UL

* Fix need for height on the graphic

* Padding/margin tweaks

* Minor CSS tweaks

* Final padding adjustments

* Plugging in proper content into the landing page (#545)

* Misc content updates to align with copy doc

* Plug in feature SVGs

* Move use cases up

* Remove the MegaNav - to be replaced soon

* Updates the nav

* Add footer content, security page

* Remove react-mega-nav from styles

* Downloads Page (#541)

* [Website] Add use cases section (#445)

* Commit to illustrate UseCases error

* update react image

* Add in content from design

* Tweaks

* Apply handy edits

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* Port new downloader page to Boundary

* update placeholder data

* missing css property

* Fix the weird rebase

* Fix padding

Co-authored-by: Noel Quiles <3746694+EnMod@users.noreply.github.com>
Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* [Website] Add alert banner (#557)

* Bring over waypoint's implementation

* Prove that it works/theme to boundary

* revert to hidden for now

* [Website] README polish (#558)

* Adjust readme for boundary

* Correct URL in first paragraph

* [Website] Add community page (#555)

* Just import files from Consul

* Revert CSS paradigm for VerticalBlockList

* Adds community to the nav

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>

* A few small content / bug tweaks (#563)

* adds HashiStackMenu

* Fix platform agnostic copy

* Reduce padding between sections

* Fix Subnav indicator for docs page

* Fix features padding

* Adds Favicon

* Update how it works content

* Adds share image

* Updates use cases

* Styling to community page

* Remove some color overrides

* Add SVGO option to nextconfig (#565)

* Add press kit to footer (#567)

* Plug in proper link for onboard users

* Plug in proper video URL (#584)

* Bump HSM version (#582)

* Downloads Page Content (#585)

* Wire up Boundary Downloads content

* Plug in remaining downloads content

* Download via Product slug

* Tweak with transition timing (#587)

* Plug in proper logo into the downloads page (#589)

* Content tweaks (#590)

* Remove border top from footer (#591)

* More content tweaks (#608)

* Updates the hero to support UI/CLI previews (#609)

* Updates the hero to support UI/CLI previews

* Updates video

* More content tweaks (#634)

* Plugs in light theme UI video

* Update infra as code feature

* Remove Auth (#636)

* Remove auth-related files

* Remove auth-related config

* Remove auth provider and next-auth pkgs

* Remove *env.local from gitignore

* Swtich og:image to have a www subdomain

Co-authored-by: Noel Quiles <3746694+EnMod@users.noreply.github.com>

* Elevate prop destructuring to function call

Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>

* Update website/pages/community/index.jsx

Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>

Co-authored-by: Noel Quiles <3746694+EnMod@users.noreply.github.com>
Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
Co-authored-by: Zack Tanner <zacktanner@gmail.com>
Co-authored-by: Jimmy Merritello <7191639+jmfury@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2020-10-12 15:56:27 -07:00
1 parent b7139920a1
commit dcb609b831
85 files changed
+2803 -1164

No files matched your search

@@ -1,28 +0,0 @@
.signInWrapper {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.loadingIconSpin {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
animation: spin 0.5s linear infinite;
}
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
.loginLockup {
display: flex;
width: 50vw;
justify-content: space-around;
}
-83
View File
@@ -1,83 +0,0 @@
import { useSession, getCsrfToken, getProviders } from 'next-auth/client'
import LoadingIcon from './loading.svg?include'
import InlineSvg from '@hashicorp/react-inline-svg'
import styles from './auth-gate.module.css'
import Button from '@hashicorp/react-button'
import { useEffect, useState } from 'react'
import { useRouter } from 'next/router'
import SigninErrorPage from 'components/signin-error-page'
export default function AuthGate({ children }) {
const [session, loading] = useSession()
const { query } = useRouter()
if (query?.error === 'oAuthCallback') return <SigninErrorPage />
if (loading)
return <InlineSvg className={styles.loadingIconSpin} src={LoadingIcon} />
return session ? (
<>{children}</>
) : (
<div className={styles.signInWrapper}>
<SignInForm />
</div>
)
}
function SignInForm() {
const [token, setToken] = useState(null)
useEffect(() => {
async function getToken() {
const t = await getCsrfToken()
if (t) {
setToken(t)
}
}
getToken()
}, [token])
return token ? (
<section className={styles.signInWrapper}>
<Form token={token} callbackUrl={window.location.origin} />
</section>
) : null
}
function Form({ callbackUrl, token }) {
const authProviders = useAuthProviders()
return (
<div className={styles.loginLockup}>
{authProviders &&
Object.keys(authProviders).map((ap) => (
<form
key={ap}
action={`${callbackUrl}/api/auth/signin/${ap}`}
method="POST"
>
<input type="hidden" name="csrfToken" value={token} />
<input type="hidden" name="callbackUrl" value={callbackUrl} />
<Button
type="submit"
title={`Sign in with ${authProviders[ap].name}`}
theme={{ variant: 'primary', background: 'dark' }}
/>
</form>
))}
</div>
)
}
export function useAuthProviders() {
const [authProviders, setAuthProviders] = useState([])
async function getProviderList() {
const providers = await getProviders()
if (providers) {
setAuthProviders(providers)
}
}
useEffect(() => {
if (typeof window !== 'undefined') {
getProviderList()
}
}, [])
return authProviders
}
-1
View File
@@ -1 +0,0 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><circle opacity=".3" cx="24" cy="24" r="24" fill="#fff"/><path d="M48 24A24 24 0 1131.416 1.175l-1.112 3.423A20.4 20.4 0 1044.4 24H48z" fill="#1D1E23"/></svg>

Before

Width:  |  Height:  |  Size: 253 B

@@ -1,24 +0,0 @@
.authIndicator {
position: fixed;
bottom: 0;
width: 100vw;
z-index: 3;
padding: 1rem 2rem;
text-align: center;
background: var(--black);
color: var(--white);
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
@media (--medium-up) {
justify-content: flex-end;
}
}
.loggedInText {
margin: 1rem 1rem;
@media (--medium-up) {
margin: 0 1rem;
}
}
@@ -1,27 +0,0 @@
import { signOut, useSession } from 'next-auth/client'
import styles from './auth-indicator.module.css'
import Button from '@hashicorp/react-button'
export default function AuthIndicator() {
const [session, loading] = useSession()
if (loading) return `Loading...`
return (
<div className={styles.authIndicator}>
{session && (
<>
<span className={`g-type-label ${styles.loggedInText}`}>
Signed in as {session.user.email}
</span>
<span>
<Button
onClick={signOut}
title={`Sign out`}
size="small"
theme={{ variant: 'secondary-neutral', background: 'dark' }}
/>
</span>
</>
)}
</div>
)
}
@@ -1 +0,0 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><circle opacity=".3" cx="24" cy="24" r="24" fill="#fff"/><path d="M48 24A24 24 0 1131.416 1.175l-1.112 3.423A20.4 20.4 0 1044.4 24H48z" fill="#1D1E23"/></svg>

Before

Width:  |  Height:  |  Size: 253 B

@@ -0,0 +1,66 @@
.brandedCta {
padding: 88px 0;
background-color: var(--red-l3);
background-image: url('./img/bg-pattern.svg');
background-position: bottom right;
background-repeat: no-repeat;
@media (--small) {
background-position: bottom 0 right -130px;
}
@media (462px <= width < 600px) {
background-position: bottom 0 right -260px;
}
@media (width < 462px) {
background-position: bottom 0 right -170px;
}
}
.contentContainer {
@media (width >= 992px) {
display: flex;
}
@media (width < 992px) {
flex-direction: column;
}
}
.heading {
color: var(--black);
margin-top: 0;
@media (width >= 992px) {
flex-basis: 33.3%;
margin: 0;
}
}
.content {
max-width: 647px;
margin: 0;
color: var(--gray-3);
}
.content-and-links {
@media (width >= 992px) {
flex-basis: 66.6%;
margin-left: 32px;
}
& .g-type-body-large {
max-width: 35em;
}
}
.links {
margin-top: 40px;
margin-bottom: -16px;
& a {
margin-right: 16px;
margin-bottom: 16px;
}
}
@@ -0,0 +1 @@
<svg width="404" height="285" viewBox="0 0 404 285" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M119.255 266.536c.066.066.197.131.197.196.131.262.065.524-.197.654l-.262.131L147.546 284h1.965l-30.256-17.464c.066 0 .066 0 0 0z" fill="url(#paint0_linear)"/><path d="M118.862 266.537c.066 0 .066 0 .132-.066-.066.066-.066.066-.132.066z" fill="url(#paint1_linear)"/><path d="M119.255 232.524a.898.898 0 01.262.197c.131.261.065.523-.196.654l-.262.131L206.617 284h1.965l-89.327-51.476c.066 0 0 0 0 0z" fill="url(#paint2_linear)"/><path d="M118.862 232.525c.066 0 .066-.066.132-.066-.066 0-.066.066-.132.066z" fill="url(#paint3_linear)"/><path d="M119.255 215.453c.066.066.197.131.262.196.131.262.065.524-.196.654l-.262.131 117.093 67.501h1.965l-118.862-68.482c.066.066 0 .066 0 0z" fill="url(#paint4_linear)"/><path d="M119.255 249.53c.066.066.197.131.262.196.131.262.065.524-.196.655l-.262.13L177.147 284h1.965l-59.857-34.47c.066 0 0 0 0 0z" fill="url(#paint5_linear)"/><path d="M118.862 215.519c.066 0 .066 0 .132-.066-.066 0-.066 0-.132.066z" fill="url(#paint6_linear)"/><path d="M118.862 249.531c.066 0 .066-.066.132-.066-.066.066-.066.066-.132.066z" fill="url(#paint7_linear)"/><path d="M119.189 266.536c.066 0 .066 0 .132.066-.066-.066-.132-.066-.132-.066z" fill="url(#paint8_linear)"/><path d="M118.796 267.386c-.262-.13-.327-.457-.196-.654l.196-.196h-.065L88.475 284h1.965l28.553-16.483-.197-.131z" fill="url(#paint9_linear)"/><path d="M118.666 266.732c-.131.262-.066.524.196.654l.262.131.262-.131c.262-.13.327-.457.196-.654l-.196-.196c-.066 0-.066 0-.131-.065h-.131c-.065 0-.065 0-.131.065a.706.706 0 00-.327.196z" fill="url(#paint10_linear)"/><path d="M118.666 266.732c-.131.262-.066.524.196.654l.262.131.262-.131c.262-.13.327-.457.196-.654l-.196-.196c-.066 0-.066 0-.131-.065h-.131c-.065 0-.065 0-.131.065a.706.706 0 00-.327.196z" fill="url(#paint11_linear)"/><path d="M118.797 250.381c-.262-.131-.328-.458-.197-.655l.197-.196h-.066L58.94 284h1.965l58.088-33.489-.196-.13z" fill="url(#paint12_linear)"/><path d="M119.189 249.465h.065c0 .065-.065.065-.065 0z" fill="url(#paint13_linear)"/><path d="M118.796 233.375c-.262-.131-.327-.458-.196-.654.065-.066.065-.131.131-.131L29.535 284H31.5l87.558-50.494-.262-.131z" fill="url(#paint14_linear)"/><path d="M118.797 216.368c-.262-.13-.328-.457-.197-.654l.197-.196h-.066L0 284h1.965l117.094-67.501-.262-.131z" fill="url(#paint15_linear)"/><path d="M118.666 249.726c-.131.262-.066.524.196.655l.262.13.262-.13c.262-.131.327-.458.196-.655-.065-.13-.131-.13-.262-.196h-.261c-.066 0-.066 0-.131.066-.131 0-.262.065-.262.13z" fill="url(#paint16_linear)"/><path d="M118.666 249.726c-.131.262-.066.524.196.655l.262.13.262-.13c.262-.131.327-.458.196-.655-.065-.13-.131-.13-.262-.196h-.261c-.066 0-.066 0-.131.066-.131 0-.262.065-.262.13z" fill="url(#paint17_linear)"/><path d="M118.797 233.375l.262.131.262-.131c.262-.131.327-.458.196-.654-.065-.131-.131-.197-.262-.197h-.196-.066c-.065 0-.065 0-.131.066 0 0-.065 0-.065.065l-.131.131c-.131.131-.066.458.131.589z" fill="url(#paint18_linear)"/><path d="M118.797 233.375l.262.131.262-.131c.262-.131.327-.458.196-.654-.065-.131-.131-.197-.262-.197h-.196-.066c-.065 0-.065 0-.131.066 0 0-.065 0-.065.065l-.131.131c-.131.131-.066.458.131.589z" fill="url(#paint19_linear)"/><path d="M118.666 215.649c-.131.262-.066.524.196.654l.262.131.262-.131c.262-.13.327-.457.196-.654a.915.915 0 00-.262-.196h-.261c-.066 0-.066 0-.131.066-.131 0-.262.065-.262.13z" fill="url(#paint20_linear)"/><path d="M118.666 215.649c-.131.262-.066.524.196.654l.262.131.262-.131c.262-.13.327-.457.196-.654a.915.915 0 00-.262-.196h-.261c-.066 0-.066 0-.131.066-.131 0-.262.065-.262.13z" fill="url(#paint21_linear)"/><path d="M325.347 114.136l-.064-.065s.064 0 .064.065zM325.938 114.202c-.066.065-.131.065-.262.065s-.197-.065-.328-.13l.066.065 78.521 45.262v-1.112l-77.212-44.542-.785.392zM325.414 113.416l.064-.064-.064.064zM296.402 114.202c-.066.065-.131.065-.262.065-.066 0-.131 0-.262-.065l108.056 62.333v-1.111L297.188 113.81l-.786.392zM295.812 113.483c0-.066.066-.066.132-.066-.066 0-.066 0-.132.066zM295.747 113.548v.065-.065c.065 0 0 0 0 0z" fill="#F04E54"/><path d="M295.944 114.203c-.066-.066-.132-.066-.132-.132 0 .066.066.132.132.132zM295.748 114.007c0-.066 0-.066-.066-.132.066.066.066.066.066.132zM354.883 113.483c0-.066.066-.066.132-.066-.066 0-.132 0-.132.066zM355.473 114.202c-.066.065-.131.065-.262.065-.066 0-.131 0-.262-.065l48.985 28.256v-1.112l-47.806-27.536-.655.392zM354.949 114.203c-.065-.066-.131-.066-.131-.132.066.066.066.132.131.132zM354.753 114.007c0-.066 0-.066-.066-.132.066.066.066.066.066.132zM385.008 114.202c-.065.065-.131.065-.262.065s-.196-.065-.327-.13l.065.065L404 125.452v-1.112l-18.271-10.53-.721.392zM384.484 113.352c-.065.065-.131.065-.196.195v.065c.065-.065.131-.195.196-.26zM384.353 114.136l-.065-.065c.065 0 .065 0 .065.065z" fill="#F04E54"/><path d="M222.793 156.586l-.197.196 59.071-34.012c.262-.131.328-.458.197-.654-.131-.262-.459-.327-.655-.196L222.4 155.801l.262.131c.196.131.262.Line truncated

After

Width:  |  Height:  |  Size: 26 KiB

+46
View File
@@ -0,0 +1,46 @@
import styles from './branded-cta.module.css'
import Button from '@hashicorp/react-button'
export default function BrandedCta({ heading, content, links }) {
return (
<div className={styles.brandedCta}>
<div className={`g-grid-container ${styles.contentContainer}`}>
<h2
data-testid="heading"
className={`g-type-display-2 ${styles.heading}`}
>
{heading}
</h2>
<div className="content-and-links">
<p
data-testid="content"
className={`g-type-body-large ${styles.content}`}
>
{content}
</p>
<div data-testid="links" className={styles.links}>
{links.map((link, stableIdx) => {
const buttonVariant = stableIdx === 0 ? 'primary' : 'secondary'
const linkType = link.type || ''
return (
<Button
// eslint-disable-next-line react/no-array-index-key
key={stableIdx}
linkType={linkType}
theme={{
variant: buttonVariant,
brand: 'red',
background: 'light',
}}
title={link.text}
url={link.url}
/>
)
})}
</div>
</div>
</div>
</div>
)
}
@@ -1,19 +0,0 @@
import AuthIndicator from 'components/auth-indicator'
import AuthGate from 'components/auth-gate'
import { Provider as NextAuthProvider } from 'next-auth/client'
const shouldApplyAuth =
process.env.HASHI_ENV === 'production' || process.env.HASHI_ENV === 'preview'
export default function ConditionalAuthProvider({ children, session }) {
return shouldApplyAuth ? (
<NextAuthProvider session={session}>
<AuthGate>
{children}
<AuthIndicator />
</AuthGate>
</NextAuthProvider>
) : (
<>{children}</>
)
}
@@ -0,0 +1,124 @@
import Tabs from '@hashicorp/react-tabs'
import { prettyOs, prettyArch } from 'components/downloader/utils/downloader'
import styles from './style.module.css'
export default function DownloadTabs({
defaultTabIdx,
tabData,
downloads,
version,
merchandisingSlot,
brand,
logo,
tutorialLink,
}) {
return (
<Tabs
key={defaultTabIdx}
centered
fullWidthBorder
theme={brand}
className={styles.tabs}
defaultTabIdx={defaultTabIdx}
items={tabData.map(({ os, packageManagers }) => ({
heading: prettyOs(os),
tabChildren: function TabChildren() {
return (
<div className={styles.cards}>
<Cards
key={os}
os={os}
downloads={downloads}
packageManagers={packageManagers}
version={version}
theme={brand}
logo={logo}
tutorialLink={tutorialLink}
/>
{merchandisingSlot}
</div>
)
},
}))}
/>
)
}
function Cards({
os,
downloads,
packageManagers,
version,
theme,
logo,
tutorialLink,
}) {
const arches = downloads[os]
const hasPackageManager = Boolean(packageManagers)
const hasMultiplePackageManagers = Array.isArray(packageManagers)
return (
<>
<div
className={
hasMultiplePackageManagers
? styles.downloadCardsSingle
: styles.downloadCards
}
>
{hasPackageManager && (
<div className={styles.packageManagers}>
<span className={styles.cardTitle}>Package Manager</span>
{Array.isArray(packageManagers) ? (
<Tabs
theme={theme}
items={packageManagers.map(({ label, commands }) => ({
heading: label,
tabChildren: function TabChildren() {
return (
<div className={styles.install}>
{commands.map((command) => (
<pre key={command}>{command}</pre>
))}
</div>
)
},
}))}
/>
) : (
<div className={styles.install}>
{packageManagers.commands.map((command) => (
<pre key={command}>{command}</pre>
))}
</div>
)}
{tutorialLink && (
<div>
<a href={tutorialLink.href}>{tutorialLink.label}</a>
</div>
)}
</div>
)}
<div className={hasPackageManager ? styles.card : styles.soloCard}>
<span className={styles.cardTitle}>Binary Download</span>
<div className={styles.logoDownloadWrapper}>
<div className={styles.logoWrapper}>
{logo}
<span className={styles.version}>{version}</span>
</div>
{Object.entries(arches).map(([arch, url]) => (
<a href={url} key={arch} className={styles.downloadLink}>
{prettyArch(arch)}
</a>
))}
</div>
<div className={styles.fastly}>
Bandwidth courtesy of
<img src={require('../logos/fastly.svg')} alt="Fastly" />
</div>
</div>
</div>
</>
)
}
@@ -0,0 +1,156 @@
.cards {
max-width: 880px;
margin: 0 auto;
}
.logoWrapper {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
}
.logoDownloadWrapper {
width: 100%;
}
.version {
margin-left: 8px;
}
.downloadCards {
justify-content: center;
margin: 54px 0 24px;
& a {
color: var(--gray-2);
}
@media (--medium-up) {
margin: 64px 0;
display: grid;
grid-template-columns: 1fr 1fr;
grid-column-gap: 48px;
justify-items: center;
}
& .downloadLink {
color: var(--brand);
margin-right: 16px;
}
}
.downloadCardsSingle {
composes: downloadCards;
& .card {
max-width: unset;
}
@media (--medium-up) {
grid-template-columns: 1fr;
& .card:first-child {
margin-bottom: 48px;
}
}
}
.card {
width: 100%;
min-height: 278px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: space-between;
padding: 40px 32px;
color: var(--gray-2);
border: 1px solid var(--gray-6);
&:first-child {
border-bottom: none;
@media (--medium-up) {
border-bottom: 1px solid var(--gray-6);
}
}
}
.packageManagers {
composes: card;
& a {
color: var(--brand);
}
& :global {
& .g-tabs {
width: 100%;
@media (--medium-up) {
width: initial;
}
}
}
}
.soloCard {
composes: card;
grid-column: span 2;
&:first-child {
border-bottom: 1px solid var(--gray-6);
}
}
.install {
color: var(--white);
background-color: var(--black);
padding: 16px 24px;
border-radius: 3px;
text-align: left;
margin: 32px 0;
& pre {
margin: 0;
padding: 0;
background-color: inherit;
white-space: normal;
&::before {
color: #e93471;
content: '$';
margin-right: 8px;
}
@media (--medium-up) {
white-space: pre;
}
}
}
.cardTitle {
font-family: var(--font-display);
font-size: 12px;
line-height: 18px;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--gray-4);
font-weight: bold;
}
.fastly {
display: flex;
align-items: center;
flex-direction: column;
& svg path {
fill: var(--black);
}
& img {
margin-top: 12px;
width: 48px;
}
}
@@ -0,0 +1,58 @@
import { useState, useRef, useEffect } from 'react'
import Button from '@hashicorp/react-button'
import styles from './style.module.css'
export default function Dropdown({ options, onChange, title, brand }) {
const [open, setOpen] = useState(false)
const buttonRef = useRef()
useEffect(() => {
function handleClickOutside(event) {
if (buttonRef.current.contains(event.target)) return
setOpen(false)
}
document.addEventListener('mousedown', handleClickOutside)
return () => {
document.removeEventListener('mousedown', handleClickOutside)
}
}, [])
return (
<div className={styles.root} ref={buttonRef}>
<Button
className="trigger"
theme={{ brand }}
onClick={() => setOpen((open) => !open)}
aria-expanded={open}
aria-controls="menu-list"
aria-haspopup="true"
title={title}
icon={{
position: 'right',
svg:
'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 7.5L10 12.5L15 7.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',
}}
/>
{open && (
<ul className={styles.menu} id="menu-list" role="menu">
{options.map((option) => (
<li
className={styles.option}
tabIndex={0}
role="menuitem"
key={option.value}
onClick={() => {
onChange(option.value)
setOpen(false)
}}
>
{option.label}
</li>
))}
</ul>
)}
</div>
)
}
@@ -0,0 +1,28 @@
.root {
display: inline-block;
position: relative;
}
.menu {
position: absolute;
list-style: none;
max-height: 250px;
overflow-y: auto;
top: 35px;
width: 100%;
padding: 0;
background-color: var(--white);
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
0 1px 3px 0 rgba(0, 0, 0, 0.12);
}
.option {
padding: 8px 16px;
cursor: pointer;
background-color: var(--brand);
color: var(--white);
&:hover {
background-color: var(--brand-d1);
}
}
@@ -0,0 +1,7 @@
<svg width="156" height="61" viewBox="0 0 156 61" xmlns="http://www.w3.org/2000/svg">
<path
d="M106.167 6.237v40.95h12.226V40.93h-4.04V0h-8.187v6.237zM0 40.93h4.156V21.174H0V15.74l4.156-.687v-5.5C4.156 2.891 5.597 0 14.042 0c1.824 0 3.986.271 5.879.614l-1.122 6.697c-1.283-.204-1.918-.24-2.728-.24-2.976 0-3.728.298-3.728 3.222v4.76h6.177v6.12h-6.177V40.93h4.113v6.255L0 47.187V40.93zm102.002-1.977c-1.28.272-2.4.239-3.211.259-3.368.083-3.077-1.03-3.077-4.226V21.174h6.41v-6.121h-6.41V0h-8.187v36.694c0 7.204 1.767 10.492 9.469 10.492 1.824 0 4.33-.472 6.223-.88l-1.217-7.353zm-24.695-17.79v-1.096c-2.477-.455-4.937-.461-6.27-.461-3.811 0-4.276 2.032-4.276 3.134 0 1.56.53 2.402 4.657 3.31 6.033 1.363 12.093 2.784 12.093 10.31 0 7.139-3.652 10.826-11.338 10.826-5.143 0-10.134-1.11-13.941-2.082v-6.151h6.2l-.004 1.092c2.668.519 5.465.467 6.926.467 4.064 0 4.721-2.198 4.721-3.367 0-1.622-1.165-2.4-4.975-3.178-7.177-1.234-12.873-3.699-12.873-11.033 0-6.943 4.616-9.666 12.302-9.666 5.207 0 9.166.812 12.976 1.785v6.11h-6.198zm-41.475 17.77v-.967h-.98v.965c-4.395-.257-7.91-3.81-8.139-8.237h.975v-.987h-.97c.26-4.397 3.761-7.915 8.133-8.171v.97h.981v-.973c4.31.232 7.782 3.633 8.157 7.928v.283h-.983v.987h.983v.27c-.373 4.298-3.846 7.701-8.157 7.933zm16.347.02l-.006-25.632h-8.186v2.404a16.673 16.673 0 00-5.567-2.119h.046v-2.844h1V8.671H31.22v2.091h1v2.845h.056c-7.83 1.45-13.764 8.348-13.764 16.646 0 9.35 7.534 16.93 16.828 16.93a16.674 16.674 0 008.672-2.419l1.474 2.423h8.648v-8.234h-1.957.001zm86.935-23.9H156v6.115h-4.037L141.607 46.8c-2.967 7.2-7.843 13.977-15.266 13.977-1.826 0-4.257-.203-5.942-.61l.74-7.476c1.082.203 2.499.337 3.242.337 3.443 0 7.326-2.146 8.541-5.883L122.43 21.168h-4.036v-6.115h16.895v6.115h-4.036l5.945 14.713 5.944-14.713h-4.027v-6.115zM39.639 26.569l-.623-.627-3.164 2.774a1.494 1.494 0 00-.51-.09c-.853 0-1.544.716-1.544 1.598 0 .883.69 1.598 1.545 1.598.853 0 1.546-.715 1.546-1.598 0-.168-.025-.33-.071-.481l2.82-3.174z"
fill="#000"
fill-rule="nonzero"
/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1,158 @@
import { useState, Fragment, useEffect } from 'react'
import Dropdown from 'components/downloader/dropdown'
import {
prettyArch,
prettyOs,
sortPlatforms,
getVersionLabel,
sortAndFilterReleases,
} from 'components/downloader/utils/downloader'
import styles from './style.module.css'
export default function ReleaseInformation({
productId,
productName,
latestVersion,
packageManagers,
containers,
tutorials,
changelog,
brand,
}) {
const [selectedVersionId, setSelectedVersionId] = useState(latestVersion)
const [releases, setReleases] = useState([])
const { version, ...selectedVersion } =
releases.find((release) => release.version === selectedVersionId) || {}
useEffect(() => {
// lazy load all release versions to populate dropdown & releases section
fetch(`https://releases.hashicorp.com/${productId}/index.json`)
.then((res) => res.json())
.then((data) => {
const latestReleases = sortAndFilterReleases(Object.keys(data.versions))
const releases = latestReleases.map((releaseVersion) => ({
...sortPlatforms(data.versions[releaseVersion]),
version: releaseVersion,
}))
setReleases(releases)
})
}, [])
return (
<div className={styles.root}>
<div className="g-container">
<h2>Release Information</h2>
<div className={styles.grid}>
{releases.length > 0 && (
<>
<div className={styles.releases}>Releases:</div>
<div>
<Dropdown
title={`${productName} ${getVersionLabel(
version,
latestVersion
)}`}
brand={brand}
options={releases.map((releaseData) => ({
label: `${productName} ${getVersionLabel(
releaseData.version,
latestVersion
)}`,
value: releaseData.version,
}))}
onChange={(release) => setSelectedVersionId(release)}
/>
<a
href={
changelog ||
`https://github.com/hashicorp/${productId}/blob/v${version}/CHANGELOG.md`
}
className={styles.changelog}
>
Changelog
</a>
</div>
</>
)}
<div className={styles.latestDownloads}>Latest Downloads:</div>
<div>
Package downloads for {productName} {version}
<div className={styles.downloads}>
{Object.entries(selectedVersion).map(([os, release]) => (
<Fragment key={os}>
<div className={styles.os}>{prettyOs(os)}</div>
<div>
{Object.entries(release).map(([arch, file]) => (
<a href={file} key={arch}>
{prettyArch(arch)}
</a>
))}
</div>
</Fragment>
))}
</div>
<p>
You can find the{' '}
<a
href={`https://releases.hashicorp.com/${productId}/${version}/${productId}_${version}_SHA256SUMS`}
>
SHA256 checksums for {productName} {version}
</a>{' '}
online and you can{' '}
<a
href={`https://releases.hashicorp.com/${productId}/${version}/${productId}_${version}_SHA256SUMS.sig`}
>
verify the checksums signature file
</a>{' '}
which has been signed using{' '}
<a href="https://hashicorp.com/security">
HashiCorp&apos;s GPG key.
</a>
</p>
</div>
{packageManagers?.length > 0 && (
<>
<div className={styles.heading}>Package Managers</div>
<div className={styles.links}>
{packageManagers.map((packageManager) => (
<div key={packageManager.label}>
Install with{' '}
<a href={packageManager.url}>{packageManager.label}</a>
</div>
))}
</div>
</>
)}
{containers?.length > 0 && (
<>
<div className={styles.heading}>Containers</div>
<div className={styles.links}>
{containers.map((container) => (
<div key={container.label}>
Run with <a href={container.url}>{container.label}</a>
</div>
))}
</div>
</>
)}
{containers?.length > 0 && (
<>
<div className={styles.heading}>Tutorials</div>
<div className={styles.links}>
{tutorials.map((tutorial) => (
<div key={tutorial.label}>
<a href={tutorial.url}>{tutorial.label}</a>
</div>
))}
</div>
</>
)}
</div>
</div>
</div>
)
}
@@ -0,0 +1,101 @@
.root {
background-color: var(--gray-7);
padding: 42px 0;
margin-top: 42px;
color: var(--gray-2);
& p {
color: var(--gray-2);
}
& a {
color: var(--gray-2);
}
& :global(.g-container) {
max-width: 825px;
}
& h2 {
text-align: center;
color: var(--black);
margin-bottom: 54px;
@media (--medium-up) {
margin-bottom: 64px;
}
}
}
.heading {
margin: 24px 0;
font-weight: bold;
color: var(--black);
@media (--medium-up) {
text-align: right;
margin: 0;
}
}
.changelog {
display: block;
margin: 24px 0 0;
color: var(--black);
@media (--medium-up) {
display: inline-block;
margin: 0 0 0 24px;
}
}
.grid {
margin: 48px auto;
@media (--medium-up) {
display: grid;
grid-column-gap: 32px;
grid-row-gap: 48px;
grid-template-columns: auto 1fr;
}
}
.latestDownloads {
composes: heading;
margin-top: 40px;
@media (--medium-up) {
margin-top: 0;
}
}
.downloads {
display: grid;
width: 100%;
grid-template-columns: auto 1fr;
margin: 17px 0 40px;
grid-column-gap: 28px;
grid-row-gap: 16px;
& a {
margin: 0 6px;
}
& .os {
font-weight: bold;
color: var(--black);
}
@media (--medium-up) {
margin: 20px 0 64px;
}
}
.releases {
align-self: center;
composes: heading;
}
.links > div:not(:first-child) {
margin: 15px 0;
}
@@ -0,0 +1,123 @@
import semverRSort from 'semver/functions/rsort'
import semverPrerelease from 'semver/functions/prerelease'
import semverValid from 'semver/functions/valid'
export function getVersionLabel(version, latestVersion) {
if (version === latestVersion) {
return `${version} (latest)`
}
return version
}
export function sortAndFilterReleases(releases) {
const validReleases = releases.filter(semverValid)
// descending sort on releases, while filtering out pre-releases
return semverRSort(validReleases).filter(
(version) => !semverPrerelease(version)
)
}
/** TODO: Below utils directly from Product-Downloader component.
* Should either be exported, or migrated back to web-components */
export function prettyArch(arch) {
switch (arch) {
case 'all':
return 'Universal (32 and 64-bit)'
case 'i686':
case 'i386':
case '686':
case '386':
return '32-bit'
case 'x86_64':
case '86_64':
case 'amd64':
return '64-bit'
default:
if (/-/.test(arch)) {
const parts = arch.split(/-(.+)/)
return `${prettyArch(parts[0])} (${parts[1]})`
} else {
const parts = arch.split('_')
if (parts.length > 0) {
return (
parts[parts.length - 1].charAt(0).toUpperCase() +
parts[parts.length - 1].slice(1)
)
}
}
}
}
export function detectOs(platform) {
for (let key in platformMap) {
if (platform.indexOf(key) !== -1) {
return platformMap[key]
}
}
return null
}
export function prettyOs(os) {
switch (os) {
case 'darwin':
return 'Mac OS X'
case 'freebsd':
return 'FreeBSD'
case 'openbsd':
return 'OpenBSD'
case 'netbsd':
return 'NetBSD'
case 'archlinux':
return 'Arch Linux'
case 'linux':
return 'Linux'
case 'windows':
return 'Windows'
default:
return os.charAt(0).toUpperCase() + os.slice(1)
}
}
const platformMap = {
Mac: 'darwin',
Win: 'windows',
Linux: 'linux',
}
export function sortPlatforms(releaseData) {
// first we pull the platforms out of the release data object and format it the way we want
const platforms = releaseData.builds.reduce((acc, build) => {
if (!acc[build.os]) acc[build.os] = {}
acc[build.os][build.arch] = build.url
return acc
}, {})
const platformKeys = Object.keys(platforms)
// create array of sorted values to base the order on
const sortedValues = Object.keys(platformMap)
.map((e) => platformMap[e])
// join the lists together to make sure
// all items are accounted for when sorting
.concat(platformKeys)
// filter our any duplicates and unneeded items
.filter((elem, pos, arr) => {
return arr.indexOf(elem) == pos && platformKeys.indexOf(elem) > -1
})
return (
platformKeys
// sort items based on platformMap order
.sort((a, b) => {
return sortedValues.indexOf(a) - sortedValues.indexOf(b)
})
// create new sorted object to return
.reduce((result, key) => {
result[key] = platforms[key]
return result
}, {})
)
}
+6
View File
@@ -8,6 +8,12 @@ export default function Footer({ openConsentManager }) {
<Link href="/docs">
<a>Docs</a>
</Link>
<a href="https://learn.hashicorp.com/boundary">Learn</a>
<a href="https://hashicorp.com/privacy">Privacy</a>
<Link href="/security">
<a>Security</a>
</Link>
<a href="/files/press-kit.zip">Press Kit</a>
<a onClick={openConsentManager}>Consent Manager</a>
</div>
</div>
-1
View File
@@ -2,7 +2,6 @@
padding: 25px 0 17px 0;
flex-shrink: 0;
display: flex;
border-top: 1px solid var(--gray-6);
& .g-container {
display: flex;
@@ -0,0 +1,40 @@
.homepageHero {
padding: 128px 0;
background-repeat: no-repeat;
background-color: var(--red-l3);
background-image: url(/img/hero-pattern.svg);
background-position: bottom right;
@media (max-width: 767px) {
padding: 88px 0;
background-position: bottom 0 right -130px;
}
& :global(.g-hero) {
background: none;
padding: 0;
& :global(.g-btn) {
border-color: var(--red);
background-color: var(--red);
}
& :global(.carousel) {
display: flex;
flex-direction: column-reverse;
& :global(.controls) {
padding-top: 0;
margin-bottom: 32px;
& :global(.progress-bar) {
background-color: var(--gray-6);
& > span {
background: var(--red);
}
}
}
}
}
}
+46 -30
View File
@@ -1,35 +1,51 @@
import s from './style.module.css'
import Button from '@hashicorp/react-button'
import Hero from '@hashicorp/react-hero'
import styles from './HomepageHero.module.css'
export default function HomepageHero({ title, description, links }) {
/**
* A simple Facade around our react-hero to make the interface a little more straightforward
* for the end-user updating this on our Homepage, while also allowing us to shim in some
* additional styles and encapsulate that logic.
*/
export default function HomepageHero({
title,
description,
links,
uiVideo,
cliVideo,
}) {
return (
<div className={s.root}>
<div className="g-grid-container">
<span className={s.eyebrow}>
Welcome to the <span className={s.red}>INTERNAL BETA</span> for
HashiCorp Boundary! This is a confidential internal only beta. No
details should be shared externally.
</span>
<h1 className="g-type-display-1">{title}</h1>
<div className={s.contentAndLinks}>
<p className="g-type-body-large">{description}</p>
<div className={s.links}>
{links.map((link, index) => {
const brand = index === 0 ? 'hashicorp' : 'neutral'
const variant = index === 0 ? 'primary' : 'secondary'
return (
<Button
key={link.text}
title={link.text}
linkType={link.type}
url={link.url}
theme={{ variant, brand }}
/>
)
})}
</div>
</div>
</div>
<div className={styles.homepageHero}>
<Hero
data={{
title: title,
description: description,
buttons: links,
backgroundTheme: 'light',
centered: false,
videos: [
{
name: 'UI',
playbackRate: uiVideo.playbackRate,
src: [
{
srcType: uiVideo.srcType,
url: uiVideo.url,
},
],
},
{
name: 'CLI',
playbackRate: cliVideo.playbackRate,
src: [
{
srcType: cliVideo.srcType,
url: cliVideo.url,
},
],
},
],
}}
/>
</div>
)
}
@@ -1,62 +0,0 @@
.root {
/* 100% height - nav - footer */
min-height: calc(100vh - (64px + 77px));
width: 100%;
padding: 150px 0;
background-repeat: no-repeat;
background-color: var(--gray-7);
background-image: url(/img/hero-pattern.svg);
background-size: contain;
@media (max-width: 758px) {
padding: 64px 0;
}
& .eyebrow {
font-family: var(--font-body);
text-align: center;
display: block;
font-weight: var(--font-weight-bold);
font-size: 1.1rem;
& .red {
color: #ba2226;
}
}
@media (max-width: 758px) {
background-image: url(/img/mobile-hero-pattern.svg);
}
& h1 {
text-align: center;
white-space: pre-wrap;
}
& p {
margin: 0 auto 0 auto;
text-align: center;
max-width: 40em;
}
& :global(.g-grid-container) {
max-width: 700px;
}
& .links {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: calc(32px - 8px);
margin-bottom: -8px;
& a {
margin: 8px;
&:global(.variant-primary) {
border-color: var(--boundary);
background-color: var(--boundary);
}
}
}
}
@@ -0,0 +1,9 @@
.root {
& > h4 {
margin-top: 0;
}
& > p {
margin-bottom: 32px;
}
}
@@ -0,0 +1,26 @@
import LogoList from './logo-list'
import s from './feature.module.css'
import { useInView } from 'react-intersection-observer'
import { useState } from 'react'
export default function Feature({
title,
description,
logos,
onInViewStatusChanged,
}) {
const [ref, inView] = useInView({ threshold: 0.8 })
const [inViewStatus, setInViewStatus] = useState(false)
if (inView != inViewStatus) {
setInViewStatus(inView)
onInViewStatusChanged(inView)
}
return (
<div className={s.root} ref={ref}>
<h4 className="g-type-display-4">{title}</h4>
<p className="g-type-body">{description}</p>
{logos ? <LogoList logos={logos} /> : null}
</div>
)
}
@@ -0,0 +1,22 @@
import s from './logo-list.module.css'
export default function LogoList({ logos }) {
return (
<div className={s.root}>
<div className={s.logos}>
{logos.map((logo, stableIdx) => (
<div
// eslint-disable-next-line react/no-array-index-key
key={stableIdx}
>
<img src={logo.url} alt={logo.alt} />
</div>
))}
</div>
<p className={`g-type-tag-label ${s.footerText}`}>
Integrations coming soon
</p>
</div>
)
}
@@ -0,0 +1,16 @@
.logos {
display: flex;
flex-direction: row;
align-items: center;
max-width: 440px;
flex-wrap: wrap;
& > div {
margin-right: 30px;
margin-bottom: 20px;
}
}
.footerText {
color: var(--gray-5);
}
@@ -0,0 +1,190 @@
.root {
--transition-time: 0.7s;
@media (--medium-up) {
position: sticky;
top: calc(50vh - (249px));
}
& > svg {
width: 100%;
}
& .boundaryLetter,
& .spacer,
& .iconBg {
fill: var(--white);
}
& .iconLines,
& .iconBg {
stroke-linecap: round;
stroke-width: 1.5px;
stroke-linejoin: round;
}
& .boundaryFill,
& .arrowHead {
fill: #f04e54;
}
& .arrowHead,
& .arrowSegment,
& .spacer {
transition: var(--transition-time) ease;
transition-property: opacity;
}
& .arrowSegment {
stroke-width: 2px;
stroke: #f04e54;
stroke-miterlimit: 10;
stroke-linecap: round;
fill: none;
}
& .dropShadow {
opacity: 0.08;
mix-blend-mode: multiply;
}
& .iconLines {
stroke: var(--white);
fill: none;
transition: var(--transition-time) ease;
transition-property: stroke;
}
& .subtitle {
fill: #b6b8c3;
}
& .iconBg {
stroke: #e5e6ec;
stroke-width: 1px;
transition: var(--transition-time) ease;
transition-property: fill, stroke;
}
& .authenticate {
& .iconBg {
fill: var(--white);
}
& .iconLines {
stroke: #e5e6ec;
stroke-width: 1px;
}
}
& .authorize {
& .spacer {
opacity: 0;
}
& .iconBg {
fill: var(--black);
stroke: var(--black);
}
& .iconLines {
stroke: #e5e6ec;
}
}
& .access {
& .spacer {
opacity: 0;
}
& .iconBg {
fill: var(--black);
stroke: var(--black);
}
& .vaultIcon {
fill: var(--white);
}
}
& .hostsAndServices {
opacity: 1;
transform: translate(0, 0);
transition: var(--transition-time) ease;
transition-property: opacity, transform;
& .leadingLine {
fill: none;
stroke-linecap: round;
stroke-miterlimit: 10;
stroke-width: 1.5px;
stroke: var(--black);
}
}
& .arrowOne .arrowHead,
& .arrowTwo .arrowHead {
@media (--small) {
opacity: 0;
}
}
& .inactive {
& .arrowHead,
& .arrowSegment,
& .spacer {
@media (--medium-up) {
opacity: 0;
}
}
&.authorize {
& .spacer {
@media (--medium-up) {
opacity: 1;
}
}
& .iconBg {
@media (--medium-up) {
fill: var(--white);
stroke: #e5e6ec;
}
}
& .iconLines {
@media (--medium-up) {
stroke: #b6b8c3;
}
}
}
&.access {
& .spacer {
@media (--medium-up) {
opacity: 1;
}
}
& .iconBg {
@media (--medium-up) {
fill: var(--white);
stroke: var(--white);
}
}
& .vaultIcon {
@media (--medium-up) {
fill: var(--black);
}
}
}
&.hostsAndServices {
@media (--medium-up) {
opacity: 0;
transform: translate(0, 10px);
}
}
}
}
@@ -0,0 +1,294 @@
import s from './how-boundary-works-diagram.module.css'
import classnames from 'classnames'
export default function HowBoundaryWorksDiagram({ activeExampleIndex }) {
return (
<div className={s.root}>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 559.92 498.86">
<g style={{ isolation: 'isolate' }}>
<g id="Layer_2" data-name="Layer 2">
<path
d="M396.22 246.69a109.35 109.35 0 11-109.34-109.34"
strokeDasharray="1.5 5"
strokeWidth="1.5"
strokeMiterlimit="10"
strokeLinecap="round"
stroke="#f04e54"
fill="none"
/>
{/* Hosts & Services */}
<g
className={classnames(s.hostsAndServices, {
[s.inactive]: activeExampleIndex !== 2,
})}
>
<path d="M31.92 169.08v8.4h-2.07v-3.37h-3.44v3.37h-2.07v-8.4h2.07v3.23h3.44v-3.23zM33.08 173.28a4.39 4.39 0 014.63-4.36 4.37 4.37 0 110 8.73 4.39 4.39 0 01-4.63-4.37zm7.16 0a2.53 2.53 0 10-2.53 2.53 2.43 2.43 0 002.53-2.53zM42.81 175.1l2-.58a2.35 2.35 0 002.19 1.39c.84 0 1.36-.37 1.36-.79s-.27-.6-.94-.81l-2.24-.67a2.4 2.4 0 01-2-2.22c0-1.38 1.34-2.5 3.23-2.5a4 4 0 013.85 2.2l-1.91.54a2.23 2.23 0 00-1.92-1c-.71 0-1.16.31-1.16.69s.21.49.59.6l2.19.67c1.31.4 2.39.95 2.39 2.36s-1.42 2.67-3.57 2.67a4.19 4.19 0 01-4.06-2.55zM58.18 170.88H55.4v6.6h-2.07v-6.6h-2.78v-1.8h7.63zM58.11 175.1l2-.58a2.35 2.35 0 002.26 1.39c.83 0 1.36-.37 1.36-.79s-.28-.6-.94-.81l-2.24-.67a2.42 2.42 0 01-2-2.22c0-1.38 1.35-2.5 3.23-2.5a4.08 4.08 0 013.86 2.2l-1.91.54a2.24 2.24 0 00-1.92-1c-.71 0-1.16.31-1.16.69s.21.49.58.6l2.2.67c1.31.4 2.39.95 2.39 2.36s-1.42 2.67-3.58 2.67a4.21 4.21 0 01-4.13-2.55zM75.84 177.48l-.66-.67a4.21 4.21 0 01-2.51.85 2.66 2.66 0 01-2.89-2.52 2.81 2.81 0 011.52-2.39 2.21 2.21 0 01-.6-1.41c0-1.56 1.16-2.42 2.9-2.42a2.59 2.59 0 012.69 2l-1.78.49a1 1 0 00-1-.85.79.79 0 00-.88.76c0 .37.33.67.5.87l1.92 2a4.59 4.59 0 00.45-1.14l1.75.48a5.79 5.79 0 01-.9 2l1.86 1.93zM74 175.55L72.44 174a1.21 1.21 0 00-.66 1 1 1 0 001.12.95 1.92 1.92 0 001.1-.4zM81.55 175.1l2-.58a2.33 2.33 0 002.25 1.39c.84 0 1.36-.37 1.36-.79s-.27-.6-.93-.81l-2.23-.67a2.42 2.42 0 01-2-2.22c0-1.38 1.35-2.5 3.23-2.5a4 4 0 013.85 2.2l-1.91.54a2.22 2.22 0 00-1.92-1c-.71 0-1.16.31-1.16.69s.22.49.59.6l2.19.67c1.31.4 2.4.95 2.4 2.36s-1.42 2.67-3.58 2.67a4.2 4.2 0 01-4.14-2.55zM92.37 170.88v1.47h3.91v1.74h-3.91v1.59h4.54v1.8h-6.56v-8.4h6.57v1.8zM101.71 174.72h-1.5v2.76h-2v-8.4h4.37a2.93 2.93 0 013.09 2.83 2.72 2.72 0 01-1.78 2.56l2.1 3h-2.38zm-1.5-1.74h2.17a1.13 1.13 0 001.23-1.07 1.1 1.1 0 00-1.14-1h-2.26zM115 169.08l-3.4 8.4h-2.27l-3.41-8.4h2.3l2.24 5.85 2.26-5.85zM115.77 169.08h2.09v8.4h-2.09zM119 173.28a4.37 4.37 0 014.57-4.36 4.19 4.19 0 014.28 2.81l-2 .48a2.28 2.28 0 00-2.24-1.42 2.39 2.39 0 00-2.47 2.48 2.43 2.43 0 002.47 2.51 2.25 2.25 0 002.24-1.41l2 .49a4.15 4.15 0 01-4.24 2.79 4.38 4.38 0 01-4.61-4.37zM131 170.88v1.47h3.91v1.74H131v1.59h4.54v1.8h-6.56v-8.4h6.57v1.8zM136.06 175.1l2-.58a2.35 2.35 0 002.26 1.39c.83 0 1.36-.37 1.36-.79s-.28-.6-.94-.81l-2.24-.67a2.42 2.42 0 01-2-2.22c0-1.38 1.35-2.5 3.23-2.5a4 4 0 013.85 2.2l-1.9.54a2.24 2.24 0 00-1.92-1c-.72 0-1.16.31-1.16.69s.21.49.58.6l2.2.67c1.31.4 2.39.95 2.39 2.36s-1.42 2.67-3.58 2.67a4.21 4.21 0 01-4.13-2.55z" />
<path className={s.leadingLine} d="M156.62 129.73h.75" />
<path
strokeDasharray="1.62 5.39"
className={s.leadingLine}
d="M162.76 129.73h11.33"
/>
<path className={s.leadingLine} d="M176.78 129.73h.75v.75" />
<path
strokeDasharray="1.55 5.15"
className={s.leadingLine}
d="M177.53 135.64v77.8"
/>
<image
className={s.dropShadow}
width="75"
height="75"
transform="translate(10.32 94.14)"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAACXBIWXMAAAsSAAALEgHS3X78AAAEq0lEQVR4Xu2cW3LbRhBFDylSFqnE8iup7MCL83q0OC0ikUPZepAikY+Zy2k0BgTHX0A0t2oKEESAnMPbjYFK3bOmaag6T4uhF5zS7Ou32dBrxqbm7vaX3TE7x1kOigc0JWB+ssefz4F4EpaBNHMDtz8lNWbrx0lovbAiKI15Znh4U5AFc3BDx5o+YFlYBtQcuIhj4bYXJGit0xmPcmEnOHvgNY69GQfgkAPWgWVACcgyjkvgXdwuSdC8u8YKS46ykLZu7OLxLLAWLOeoBQnQKo513AqagI49HG3ovRKgvADPwCPwFMczAZrc1grJ3NJBrloSoFwDvwHvgd/j/jr+bkkKR3v+WGSdYUPvhQDnJ/AAbAjzsOcdc5gOHp3lwm8JXJEgfQQ+xe1NPL4ihWMud41Jmvie4Kpn4AcB0nfgH+Ae+DcefyI57Ogu7ywfgisCrE/An8CXuP+eFI4Lxn1ntHdAheATwVH3hHnOSCBt7prH40A/rAsCiDUh9D4SQP0FfCa465rwRnKWzh+bFEZy1paQpzYkUK8Etyl3vdBOLUAbVi65rwghd0Nw1GfgD+ADKW/1LSHGJHsnFKx3hM+8I+SuDSH16MZl15LZMITkLCX4NSl33RBACZa9MIwTWGO2grWMx7aEHKUcrLSSNUAuDJXkc0uHawIkDcHSRacASzl2R1oKXdG9ux9z8Ozrt1lzd9ss9EO8oA1FvyjV2kpbLU4trDGrIUXAK2kOyrv2ycTOJxuGHpgcJpf5C5565BmjbKL3c9A8Tj7znvp7lnXZ3O37i04BFrQ/b/EcOrdHJ+82e2yq8nM5e25DsKxyb/J/0uDc+mCdTfstqcRZb14VVoEqrAJVWAWqsApUYRWowipQhVWgCqtAFVaBKqwCVVgFqrAKVGEVqMIqUIVVoAqrQBVWgSqsAlVYBaqwClRhFajCKlCFVaAKq0AVVoEqrAJVWAWqsApUYRWowipQhVWgCqtAFVaBKqwC9cFSrQtm++Z1rrNsGRpuf2rq++yDcxtqgtGcOaYg/1lzczg5lxwsewFbyr93Ww2Yxr9/+/n4NgWDX7qF5an7cn5b5bk1584ZfxGB5nYgfH5VqvpWBRZcB94CoLm7bWJlmHWUQKmmWJWej6R6vUumCctX26se+lh1nzm3E4YWlMr5BUgF2JfxtTumV0KnVgWqkf5BqGJVqe+OdpppAHIF5d5VctRPQlW6aqIhfBMrpuMsaMNS9f09ofr+gWAIC6wTirkErwvKVQ8kMJBKZa9oO2tKsLYEE3wH/iYBsy0KOom/Lwx1QVWpq0GE3mRNgGV7OkwBVkOqk5YR1NdhQ3KXYLV0hBWTvA1DwdLCdU94gw39DTDGCqwxW9s15JHUMUSwrLNawHLOsvQ1+QPJVSq+7q1SH6nsHdH2o9ENTD1ptqQkT28vmugubz/B0zehAvMcqLFC80sBrau0Znyh3enIrrmO6nvc0QW1rxz2TLeQfIqwbLrpXZyebAl1PJhaFwjIPDPGnqf6ZMNR0DqPP2c1G2v9st3KzsKZwt1vSI0ZkJJ5WRu7zov6u0lOFZgPy7Az0FHyLFg5TbFHqdUQmJx+GdZb1H8SnBKn/RuDWgAAAABJRU5ErkJggg=="
/>
<image
className={s.dropShadow}
width="75"
height="75"
transform="translate(85 94.14)"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAACXBIWXMAAAsSAAALEgHS3X78AAAEq0lEQVR4Xu2cW3LbRhBFDylSFqnE8iup7MCL83q0OC0ikUPZepAikY+Zy2k0BgTHX0A0t2oKEESAnMPbjYFK3bOmaag6T4uhF5zS7Ou32dBrxqbm7vaX3TE7x1kOigc0JWB+ssefz4F4EpaBNHMDtz8lNWbrx0lovbAiKI15Znh4U5AFc3BDx5o+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Za9oO2tKsLYEE3wH/iYBsy0KOom/Lwx1QVWpq0GE3mRNgGV7OkwBVkOqk5YR1NdhQ3KXYLV0hBWTvA1DwdLCdU94gw39DTDGCqwxW9s15JHUMUSwrLNawHLOsvQ1+QPJVSq+7q1SH6nsHdH2o9ENTD1ptqQkT28vmugubz/B0zehAvMcqLFC80sBrau0Znyh3enIrrmO6nvc0QW1rxz2TLeQfIqwbLrpXZyebAl1PJhaFwjIPDPGnqf6ZMNR0DqPP2c1G2v9st3KzsKZwt1vSI0ZkJJ5WRu7zov6u0lOFZgPy7Az0FHyLFg5TbFHqdUQmJx+GdZb1H8SnBKn/RuDWgAAAABJRU5ErkJggg=="
/>
<rect x="20.07" y="101.04" width="56" height="56" rx="3.5" />
<rect x="92.03" y="101.04" width="56" height="56" rx="3.5" />
<rect
className={s.iconLines}
x="38.37"
y="119.34"
width="19.4"
height="19.4"
rx="2.16"
/>
<path
className={s.iconLines}
d="M38.37 125.8h19.4M44.83 138.73V125.8M111.51 119h16.83a2 2 0 012.13 2v4.21a2.18 2.18 0 01-2.08 2.21H111.6a2 2 0 01-2.13-2v-4.21a2.17 2.17 0 012.04-2.21zM111.67 130.64h16.84a2.09 2.09 0 012.11 2.07v4.21a2.14 2.14 0 01-2.1 2.14H111.7a2.08 2.08 0 01-2.11-2.08v-4.21a2.11 2.11 0 012.08-2.13zM116.95 134.88"
/>
</g>
{/* Top-right arrow segment, always active */}
<path
d="M395 226.76a115.51 115.51 0 00-84-88.92"
className={s.arrowSegment}
/>
{/* Arrow (Example 1) */}
<g
className={classnames(s.arrowOne, {
[s.inactive]: activeExampleIndex !== 0,
})}
>
<circle className={s.spacer} cx="367.07" cy="319.22" r="11.19" />
<path
className={s.arrowHead}
d="M375.62 319.52l-11.39 3.66 2.51-11.69 8.88 8.03z"
/>
<path
d="M370.08 316.86a108.68 108.68 0 0023.67-47.78"
className={s.arrowSegment}
/>
</g>
{/* Arrow (Example 2) */}
<g
className={classnames(s.arrowTwo, {
[s.inactive]: activeExampleIndex !== 1,
})}
>
<circle className={s.spacer} cx="209.12" cy="323.72" r="11.19" />
<path
className={s.arrowHead}
d="M209.37 332.4l-3.1-11.56 11.56 3.09-8.46 8.47z"
/>
<path
d="M212.3 327a108.51 108.51 0 0046.56 26"
className={s.arrowSegment}
/>
<path
className={s.arrowSegment}
d="M307.46 355.47A115.53 115.53 0 00394 269M395 226.76a115.51 115.51 0 00-84-88.92"
/>
</g>
{/* Arrow (Example 3) */}
<g
className={classnames(s.arrowThree, {
[s.inactive]: activeExampleIndex !== 2,
})}
>
<circle className={s.spacer} cx="206.57" cy="172.98" r="11.19" />
<path
className={s.arrowHead}
d="M198.03 172.68l11.39-3.67-2.52 11.7-8.87-8.03z"
/>
<path
d="M203.57 175.33a108.58 108.58 0 00-23.67 47.78"
className={s.arrowSegment}
/>
<path
d="M396.22 246.69a109.35 109.35 0 11-187.39-76.58"
className={s.arrowSegment}
/>
</g>
{/* Boundary logo */}
<g>
<image
className={s.dropShadow}
width="91"
height="91"
transform="translate(241.32 204.91)"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABbCAYAAAAcNvmZAAAACXBIWXMAAAsSAAALEgHS3X78AAAEjklEQVR4Xu2dW1LbQBBFj8FOgDzIu7KDLC7rYXHsIS+eBmOsfMw002qNLDtU+kPqUzUlIdtycXTdHvljetY0DYEP86EnbGP27fts6DljpDk/+6eEznZJtpFqBU9NuBb2tL/LBdgqW0memYHZnxqNGq2/t0nvlZ1FyzioDCt/Cmi5m8qQ49WkV2Ur0QfAYR5zsz2kSG+9nHFhy4YIfcxjncejGtWUd74glWgRusjjBfAybxcU6TbdY5ctoh/yuAdWakAR3qKVbJPoOUXwcR4neSvS5YJMoZxo0WuS5DtgCdzmcZePS9I3Ot21qZ+kekGS+gp4DbwF3uT9k/zYglJO9OvHhK3Ta1Kil8ANcAVcUhzoUjNTry/JNuVjARxRJL8HPuTtaT5+TCkntdo9JrTANSnBt8AF8Af4CfzO+1f5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L671nfW7QRnotPpftj6bYcc373T6dOD0cO3j0aN1t//1MO39aToTq2xZSXtPLc79RDRd30/niU72I+/dqcU9Cr+vjoAAAAASUVORK5CYII="
/>
<rect
className={s.boundaryFill}
x="251.05"
y="211.38"
width="72"
height="72"
rx="4.5"
/>
<path
className={s.boundaryLetter}
d="M277.89 263.7v-2.53h5.26v-1.56h-2.55v-2.55h12.04l-5.59-9.68 5.59-9.69H280.3v13.43h-6.64v-20.07h22.85l3.81 6.61-5.61 9.72 5.73 9.91-3.7 6.41h-18.85z"
/>
<path
className={s.boundaryLetter}
d="M276.37 257.06h2.55v2.55h-2.55zM273.66 261.15h2.55v2.55h-2.55z"
/>
</g>
{/* Users */}
<g>
<rect x="259.05" y="107.99" width="56" height="56" rx="3.5" />
<path d="M274.47 89.55v4.91c0 2.15-1.38 3.66-3.88 3.66s-3.88-1.51-3.88-3.66v-4.91h2.1v4.87a1.78 1.78 0 103.56 0v-4.87zM275.31 95.57l2-.58a2.35 2.35 0 002.26 1.39c.83 0 1.36-.37 1.36-.79s-.28-.6-.94-.81l-2.24-.67a2.42 2.42 0 01-2-2.22c0-1.38 1.35-2.5 3.23-2.5a4 4 0 013.85 2.2l-1.9.54a2.24 2.24 0 00-1.92-1c-.71 0-1.16.31-1.16.69s.21.49.58.6l2.2.67c1.31.4 2.39 1 2.39 2.36s-1.42 2.67-3.58 2.67a4.21 4.21 0 01-4.13-2.55zM286.13 91.35v1.47h3.92v1.74h-3.92v1.59h4.54V98h-6.56v-8.4h6.57v1.8zM295.47 95.19H294V98h-2v-8.4h4.36a2.92 2.92 0 013.09 2.83 2.72 2.72 0 01-1.78 2.56l2.11 3h-2.38zM294 93.45h2.17a1.13 1.13 0 001.24-1.07 1.11 1.11 0 00-1.15-1H294zM300 95.57l2-.58a2.34 2.34 0 002.25 1.39c.84 0 1.36-.37 1.36-.79s-.27-.6-.93-.81l-2.24-.67a2.42 2.42 0 01-2-2.22c0-1.38 1.35-2.5 3.23-2.5a4 4 0 013.85 2.2l-1.91.54a2.22 2.22 0 00-1.92-1c-.71 0-1.16.31-1.16.69s.22.49.59.6l2.2.67c1.3.4 2.39 1 2.39 2.36s-1.42 2.67-3.58 2.67a4.2 4.2 0 01-4.13-2.55z" />
<path
className={s.iconLines}
d="M292.05 146v-2a4 4 0 00-4-4h-8a4 4 0 00-4 4v2"
/>
<circle className={s.iconLines} cx="284.05" cy="131.99" r="4" />
<path
className={s.iconLines}
d="M298.05 146v-2a4 4 0 00-3-3.87M291.05 128.12a4 4 0 010 7.75"
/>
<path
className={s.subtitle}
d="M38 251.51h3.15a4.22 4.22 0 01.12 8.42H38zm3.1 7.36a3 3 0 003-3.18 2.88 2.88 0 00-3-3.15h-2.09v6.33zM46.33 261.35h.51a1.21 1.21 0 001.16-.85l.37-1-2.44-5.63h1.18l1.81 4.36 1.73-4.36h1.19l-2.79 6.82a2.12 2.12 0 01-2.15 1.57h-.57zM52.86 253.91h1.07v.8a2.36 2.36 0 014.25 1.51v3.68h-1.13v-3.6c0-1.08-.6-1.63-1.41-1.63a1.84 1.84 0 00-1.71 2.07v3.16h-1.07zM59.5 258.21a1.57 1.57 0 01.58-1.28 3.22 3.22 0 011.69-.54c.8-.07 1.83-.16 1.83-.82s-.53-.88-1.24-.88a1.36 1.36 0 00-1.51 1.1h-1.12a2.38 2.38 0 012.58-2c1.53 0 2.4.87 2.4 2v4.1H63.6v-.8a2.52 2.52 0 01-2 .92 1.91 1.91 0 01-2.1-1.8zm4.1-.68v-.71a3.7 3.7 0 01-1.61.37c-.93.09-1.36.42-1.36 1s.5.93 1.12 1a1.67 1.67 0 001.85-1.66zM66.41 253.91h1.07v.8a2.12 2.12 0 011.84-1 2.27 2.27 0 012 1.19 2.42 2.42 0 012.15-1.19 2.27 2.27 0 012.34 2.47v3.68H74.7v-3.6c0-1.08-.59-1.63-1.41-1.63s-1.63.79-1.63 2.07v3.16h-1.14v-3.6c0-1.08-.58-1.63-1.41-1.63s-1.63.79-1.63 2.07v3.16h-1.07zM77.53 251.51h1.21v1.27h-1.21zm0 2.4h1.17v6h-1.12zM80.06 256.9a2.9 2.9 0 012.94-3.11 2.51 2.51 0 012.64 2.09h-1.1a1.55 1.55 0 00-1.54-1.19c-1 0-1.78.83-1.78 2.18s.76 2.18 1.78 2.18a1.53 1.53 0 001.57-1.2h1.1A2.58 2.58 0 0183 260a2.87 2.87 0 01-2.94-3.1zM89.78 257.31H91a2.08 2.08 0 002.36 1.69c1.22 0 1.89-.65 1.89-1.45s-.48-1.18-1.88-1.37C90.9 255.85 90 255 90 253.79s1.28-2.36 3-2.36c2 0 3.24 1 3.29 2.67h-1.16c-.08-1.06-.91-1.63-2.11-1.63s-1.77.62-1.77 1.28.85 1.2 2 1.37c2.43.32 3.19 1.15 3.19 2.43 0 1.49-1.31 2.44-3.18 2.44s-3.34-.88-3.48-2.68zM97.5 257a2.85 2.85 0 012.91-3.12c1.82 0 2.86 1.44 2.77 3.39h-4.56a1.73 1.73 0 001.82 1.89 1.66 1.66 0 001.63-1.12h1a2.5 2.5 0 01-2.65 2A2.81 2.81 0 0197.5 257zm4.53-.66a1.54 1.54 0 00-1.65-1.54 1.62 1.62 0 00-1.72 1.54zM104.14 256.9a2.9 2.9 0 012.94-3.11 2.51 2.51 0 012.64 2.09h-1.09a1.56 1.56 0 00-1.57-1.19c-1 0-1.79.83-1.79 2.18s.77 2.18 1.79 2.18a1.54 1.54 0 001.57-1.2h1.09A2.58 2.58 0 01107 260a2.87 2.87 0 01-2.86-3.1zM111.12 253.91h1v.78a1.85 1.85 0 011.88-.88h.17v1h-.12c-1 0-1.93.33-1.93 1.78v3.25h-1zM114.72 257a2.86 2.86 0 012.92-3.12c1.82 0 2.86 1.44 2.77 3.39h-4.56a1.73 1.73 0 001.82 1.89 1.66 1.66 0 001.63-1.16h1a2.51 2.51 0 01-2.66 2 2.81 2.81 0 01-2.92-3zm4.54-.66a1.54 1.54 0 00-1.66-1.54 1.62 1.62 0 00-1.72 1.54zM121.83 258.34v-3.55h-1v-.88h1v-1.82h1v1.82h1.53v.88h-1.53v3.36c0 .59.23.82.77.82h.78v.93h-1a1.49 1.49 0 01-1.55-1.56zM125.07 258h1.05a1.44 1.44 0 001.58 1.17c.87 0 1.27-.47 1.27-1s-.32-.75-1.32-.91c-1.94-.27-2.39-1-2.39-1.76s.91-1.69 2.23-1.69a2.18 2.18 0 012.45 2h-1a1.26 1.26 0 00-1.42-1.14c-.61 0-1.18.3-1.18.8s.46.74 1.32.86c1.81.26 2.43.82 2.43 1.8S129 260 127.7 260s-2.56-.65-2.63-2zM213.77 429.35l3.34-8.38h1.15l3.34 8.39h-1.25l-.86-2.21h-3.61l-.86 2.21zm5.4-3.19l-1.49-3.91-1.48 3.91zM222.05 423.36h1.14L225 428l1.82-4.68H228l-2.49 6h-1zM228.48 427.67a1.58 1.58 0 01.57-1.28 3.26 3.26 0 011.7-.54c.8-.07 1.83-.16 1.83-.82s-.53-.89-1.25-.89a1.36 1.36 0 00-1.5 1.11h-1.13a2.37 2.37 0 012.58-2c1.54 0 2.41.86 2.41 2v4.1h-1.11v-.8a2.54 2.54 0 01-2 .92 1.91 1.91 0 01-2.1-1.8zm4.1-.68v-.71a3.6 3.6 0 01-1.6.37c-.93.08-1.36.42-1.36 1s.5.92 1.12.95a1.68 1.68 0 001.84-1.6zM235.32 421h1.21v1.27h-1.21zm.05 2.39h1.13v6h-1.13zM238.29 421h1.11v8.39h-1.11zM240.78 427.67a1.56 1.56 0 01.58-1.28 3.22 3.22 0 011.69-.54c.8-.07 1.83-.16 1.83-.82s-.53-.89-1.24-.89a1.38 1.38 0 00-1.51 1.11H241a2.37 2.37 0 012.58-2c1.53 0 2.4.86 2.4 2v4.1h-1.11v-.8a2.51 2.51 0 01-2 .92 1.91 1.91 0 01-2.09-1.8zm4.1-.68v-.71a3.7 3.7 0 01-1.61.37c-.92.08-1.36.42-1.36 1s.5.92 1.12.95a1.68 1.68 0 001.85-1.6zM248.72 428.45v.91h-1V421h1v3.37a2.4 2.4 0 012.1-1 2.86 2.86 0 012.79 3.1 2.9 2.9 0 01-2.83 3.09 2.42 2.42 0 01-2.06-1.11zm3.74-2.1a1.89 1.89 0 00-1.84-2.1 2 2 0 00-1.91 2.2 1.9 1.9 0 001.91 2.07 1.93 1.93 0 001.84-2.17zM255 421h1.11v8.39H255zM257.49 426.41a2.85 2.85 0 012.91-3.12c1.82 0 2.86 1.44 2.77 3.38h-4.56a1.73 1.73 0 001.82 1.89 1.66 1.66 0 001.63-1.13h1a2.49 2.49 0 01-2.65 2 2.81 2.81 0 01-2.92-3.02zm4.53-.66a1.55 1.55 0 00-1.65-1.55 1.63 1.63 0 00-1.72 1.55zM267.93 421h1.16v3.63h4.4V421h1.16v8.39h-1.16v-3.81h-4.4v3.81h-1.16zM276.16 426.36a2.92 2.92 0 013-3.08 3.07 3.07 0 11-3 3.08zm4.86 0a1.89 1.89 0 00-1.89-2.13 2.12 2.12 0 101.89 2.13zM283 427.44h1a1.45 1.45 0 001.59 1.17c.87 0 1.27-.47 1.27-1s-.33-.75-1.32-.91c-1.95-.28-2.4-1-2.4-1.76s.91-1.69 2.24-1.69a2.18 2.18 0 012.45 2h-1a1.26 1.26 0 00-1.42-1.14c-.61 0-1.18.3-1.18.8s.46.74 1.32.86c1.8.26 2.43.82 2.43 1.8s-1.07 1.87-2.38 1.87-2.6-.63-2.6-2zM289.32 427.8v-3.55h-1v-.89h1v-1.81h1.05v1.81h1.53v.89h-1.53v3.36c0 .59.24.82.77.82h.79v.93h-1a1.49 1.49 0 01-1.61-1.56zM292.56 427.44h1.05a1.45 1.45 0 001.59 1.17c.87 0 1.27-.47 1.27-1s-.33-.75-1.32-.91c-1.95-.28-2.4-1-2.4-1.76s.91-1.69 2.23-1.69a2.19 2.19 0 012.46 2h-1a1.26 1.26 0 00-1.42-1.14c-.61 0-1.19.3-1.19.8s.47.74 1.33.86c1.8.26 2.43.82 2.43 1.8s-1.08 1.87-2.38 1.87-2.57-.63-2.65-2zM302.08 427.23a2.75 2.75 0 011.59-2.44 3.11 3.11 0 01-1-2 2.1 2.1 0 012.2-2 2 2 0 012.14 1.94 2.68 2.68 0 01-1.71 2.22l1.79 1.71.51-.87h1.3l-1 1.66 2 1.89h-1.48l-1.1-1.05a3.12 3.Line truncated
/>
</g>
{/* Authenticate */}
<g className={s.authenticate}>
<image
className={s.dropShadow}
width="75"
height="75"
transform="translate(363.32 212.91)"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAACXBIWXMAAAsSAAALEgHS3X78AAAD+0lEQVR4Xu2cW1LbQBBFj41t3iEEKllCFpf1sDj2kJd5GtugfMw00xqNLHXyEQn6VnVJth5UH26PZYruSVVVuPpp1nVCmyZfv026zhmqquurv3LIpI+zMjBt+2ORTvh1vw/AnbAiJB0UXo9RlYra613QirCUk6YEKNNCaHhjkYbzUgh5v+i0BqzMTXsqZjHktQAbelnmZSdAnmNsYzyrKLqsbYEXUDNgoWIfmMfQwPR1Q1MOS0BtYjwBaxWQgNVUc1Z01ZQEah84AI5iHMbX+ySX5cCGKg1qS4C0Ah6Bhxir+L447UW7K3eWLr8FAcwJ8CHGKXBMgDaP1w99/crXqS3BUY/APXAL3BDykPPk3Im6Pjkrc9WC4KRT4CNwDlzE/bN47IA6rCGCEmkAW4KDHoAl8Bv4AfyK+7fx2JrMXSVnTUlr1RHBURfAZ+CSAO6EAEvWrrHAkrVqBdwRqmQRz3kmAJI1bEv8ZBSVFniBtU8oN3HXJfAF+EQAeEj4QWNz1ppQgjckUPLePWntkrJ8lYYlCUspzgnuOSaU3jkB1CWpFLWzhi7trAfqoO4J8HS1aBPsLEOBJe46Ii30ZzHG7Kx5fH9NKEf5pJdHo+Kn/AxeF3doumtGctgBCZxs54wPlhhkQ3oUEkflj0MTCHyq66sqL0O9r4EJtEW21bCGLoEFzTz0t5PSg3axDOWgdpjEXrYtfU8csuR5qSsfnX9NXX/PmhhiDOrKYWcejY/HFuU367zxgFXKo1cubbDyG74HdRqhr7NcOCyTHJZBDssgh2WQwzLIYRnksAxyWAY5LIMclkEOyyCHZZDDMshhGeSwDHJYBjksgxyWQQ7LIIdlkMMyyGEZ5LAMclgGOSyDHJZBDssgh2WQwzLIYRnksAxyWAY5LIMclkEOy6A2WNKRgNq+del8izn3dVZFE+BYIZby6JVLV9NA1TPGoK4cOnMpwdIX6jb+52wrAeP4X/m++bSC07D0QbmxbuXfEFrOZCvXTjF0Kfwn6V9+nseG+rgCAaavBWLC1fVVFdvo9E0FlLTJ6k516dcba7+h5PFIyk2gaWAVQFuPtAYlMw/kxnfUW2U3jLuTdUnI544E7ikeLzmsUYY5rBWhJXZJvfl6zbg7WaVH+ieh635JyFMc1nAXlBd4aecXV92SwEBqlX0L3fe/gO+kEQXirkbnPbSX4ZYA5YHwG9iLx6X5+i3OdbghzXMQWLUyzMerTAnJ62by9zIxRNYvvXa9VNdXrw4rOUvsuiYlL7V+z9ufRSOTQmrrFdA6EmrK+51yVBzaA+1fd8Rdsi9r2Ir3Mz+rIZ/M1vyq8wL0m8xWO+gz/2ryaZKy86/TJHfJ55S6duoPpB8K5VDMD2sAAAAASUVORK5CYII="
/>
<rect x="372.79" y="219.38" width="56" height="56" rx="3.5" />
<path d="M446.67 240.64H443l-.61 1.61h-2.13l3.23-8.4h2.71l3.23 8.4h-2.13zm-.67-1.74l-1.18-3.14-1.19 3.14zM457.54 233.85v4.91c0 2.15-1.37 3.66-3.88 3.66s-3.87-1.51-3.87-3.66v-4.91h2.09v4.87a1.79 1.79 0 103.57 0v-4.87zM466 235.65h-2.78v6.6h-2.07v-6.6h-2.78v-1.8H466zM474.56 233.85v8.4h-2.07v-3.37h-3.44v3.37H467v-8.4h2.07v3.23h3.44v-3.23zM478.07 235.65v1.47H482v1.73h-3.92v1.6h4.54v1.8h-6.56v-8.4h6.57v1.8zM491.55 233.85v8.4h-1.69l-3.92-4.81v4.81h-2.07v-8.4h1.68l3.93 4.81v-4.81zM500.11 235.65h-2.78v6.6h-2.07v-6.6h-2.78v-1.8h7.63zM501.05 233.85h2.09v8.4h-2.09zM504.3 238.05a4.37 4.37 0 014.57-4.36 4.19 4.19 0 014.28 2.81l-2 .48a2.28 2.28 0 00-2.24-1.42 2.39 2.39 0 00-2.47 2.48 2.43 2.43 0 002.47 2.51 2.25 2.25 0 002.24-1.41l2 .49a4.15 4.15 0 01-4.24 2.79 4.39 4.39 0 01-4.61-4.37zM519.64 240.64H516l-.61 1.61h-2.13l3.23-8.4h2.72l3.23 8.4h-2.13zm-.64-1.74l-1.18-3.14-1.18 3.14zM529.14 235.65h-2.78v6.6h-2.07v-6.6h-2.78v-1.8h7.63zM532.1 235.65v1.47h3.9v1.73h-3.9v1.6h4.54v1.8h-6.56v-8.4h6.57v1.8z" />
<path
className={s.subtitle}
d="M441.34 250.51h1.13v8.39h-1.13zM444 255.94a2.85 2.85 0 012.79-3.09 2.44 2.44 0 012.1 1v-3.37h1v8.39h-1V258a2.43 2.43 0 01-2.06 1 2.9 2.9 0 01-2.83-3.06zm4.9.05a2 2 0 00-1.92-2.2 1.9 1.9 0 00-1.85 2.1 1.94 1.94 0 001.85 2.17 1.91 1.91 0 001.96-2.06zM451.35 256a2.85 2.85 0 012.91-3.12c1.82 0 2.86 1.44 2.77 3.39h-4.56a1.73 1.73 0 001.82 1.89 1.66 1.66 0 001.63-1.12h1a2.5 2.5 0 01-2.66 2 2.81 2.81 0 01-2.91-3.04zm4.53-.66a1.54 1.54 0 00-1.66-1.54 1.63 1.63 0 00-1.72 1.54zM458.43 252.91h1.07v.8a2.36 2.36 0 014.25 1.51v3.68h-1.14v-3.6c0-1.08-.59-1.63-1.4-1.63a1.84 1.84 0 00-1.71 2.07v3.16h-1.07zM465.53 257.34v-3.55h-1v-.88h1v-1.82h1.05v1.82h1.53v.88h-1.53v3.36c0 .59.23.82.77.82h.79v.93h-1a1.49 1.49 0 01-1.61-1.56zM469.21 250.51h1.21v1.27h-1.21zm.05 2.4h1.12v6h-1.12zM472.2 257.34v-3.55h-1v-.88h1v-1.82h1.05v1.82h1.53v.88h-1.53v3.36c0 .59.23.82.77.82h.79v.93h-1a1.49 1.49 0 01-1.61-1.56zM475.51 260.35h.49a1.21 1.21 0 001.17-.85l.37-1-2.44-5.63h1.18l1.81 4.36 1.73-4.36H481l-2.79 6.82a2.12 2.12 0 01-2.15 1.57h-.57zM485.41 250.51H489a2.49 2.49 0 11-.07 5h-2.43v3.43h-1.09zm3.37 4a1.52 1.52 0 001.69-1.55 1.55 1.55 0 00-1.69-1.58h-2.28v3.13zM492.81 252.91h1v.78a1.85 1.85 0 011.88-.88h.18v1h-.13c-1 0-1.93.33-1.93 1.78v3.25h-1zM496.41 255.9a3 3 0 113 3.06 2.92 2.92 0 01-3-3.06zm4.86 0a1.9 1.9 0 10-1.91 2.08 1.89 1.89 0 001.91-2.06zM502.78 252.91h1.14l1.85 4.67 1.82-4.67h1.17l-2.49 6h-1zM509.71 250.51h1.21v1.27h-1.21zm.05 2.4h1.12v6h-1.12zM512.24 255.94a2.85 2.85 0 012.79-3.09 2.44 2.44 0 012.1 1v-3.37h1v8.39h-1V258a2.43 2.43 0 01-2.06 1 2.9 2.9 0 01-2.83-3.06zm4.9.05a2 2 0 00-1.92-2.2 1.9 1.9 0 00-1.85 2.1 1.94 1.94 0 001.85 2.17 1.91 1.91 0 001.92-2.06zM519.54 256a2.86 2.86 0 012.92-3.12c1.82 0 2.86 1.44 2.77 3.39h-4.56a1.73 1.73 0 001.82 1.89 1.66 1.66 0 001.63-1.12h1a2.51 2.51 0 01-2.66 2 2.81 2.81 0 01-2.92-3.04zm4.54-.66a1.54 1.54 0 00-1.66-1.54 1.62 1.62 0 00-1.72 1.54zM526.62 252.91h1v.78a1.85 1.85 0 011.88-.88h.18v1h-.13c-1 0-1.93.33-1.93 1.78v3.25h-1z"
/>
<path
className={s.iconLines}
d="M389.93 255.31a3.74 3.74 0 013.73-3.74 3.74 3.74 0 013.74 3.74v1.49h-7.47z"
/>
<path
className={s.iconLines}
d="M396.27 241.33h-7.64a1.84 1.84 0 00-1.84 1.84V255a1.84 1.84 0 001.84 1.84h22.11a1.84 1.84 0 001.84-1.84v-11.83a1.84 1.84 0 00-1.84-1.84h-7.63"
/>
<path
className={s.iconLines}
d="M400.64 246.42h8.43M400.64 249.94h3.29M407.53 249.94h1.54"
/>
<circle
className={s.iconLines}
cx="393.66"
cy="248.21"
r="3.37"
/>
<path
className={s.iconLines}
d="M394.78 238h9.82v2.46l-4.91 3.07-4.91-3.07z"
/>
</g>
{/* Authorize */}
<g
className={classnames(s.authorize, {
[s.inactive]: activeExampleIndex === 0,
})}
>
<path d="M256.85 408.79h-3.69l-.62 1.61h-2.13l3.23-8.4h2.72l3.23 8.4h-2.13zm-.67-1.74l-1.18-3.14-1.18 3.14zM267.72 402v4.91c0 2.14-1.38 3.65-3.88 3.65s-3.88-1.51-3.88-3.65V402h2.1v4.87a1.78 1.78 0 103.56 0V402zM276.22 403.8h-2.78v6.6h-2.07v-6.6h-2.78V402h7.63zM284.73 402v8.4h-2.07V407h-3.44v3.37h-2.07V402h2.07v3.23h3.44V402zM285.89 406.2a4.63 4.63 0 114.62 4.36 4.39 4.39 0 01-4.62-4.36zm7.16 0a2.54 2.54 0 10-2.54 2.53 2.43 2.43 0 002.54-2.53zM299.84 407.64h-1.5v2.76h-2V402h4.36a2.92 2.92 0 013.09 2.83 2.7 2.7 0 01-1.78 2.55l2.11 3h-2.42zm-1.5-1.74h2.17a1.13 1.13 0 001.24-1.07 1.1 1.1 0 00-1.15-1.05h-2.26zM305.07 402h2.1v8.4h-2.1zM315.5 408.63v1.77h-7.21v-1.34l4.24-5.3h-4.18V402h7v1.36l-4.2 5.27zM318.64 403.8v1.46h3.91V407h-3.91v1.6h4.54v1.8h-6.56V402h6.57v1.8z" />
<path className={s.spacer} d="M252.67 324.28h68.6v66.62h-68.6z" />
<image
className={s.dropShadow}
width="75"
height="75"
transform="translate(249.32 322.91)"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAA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obm+a2EanHSWgpE1Wd6pLv15N/YaQYG1ibEkjCjS43DhAtww1KJl5IIDuabfKPlJfJ6s0lG8IjeP3hC7WDSHXR9rLTANQaijPXSWOeiB0qevm6x11dbJCG5Y0lOcd9xpYpxRLC7xcUFx1RwIDqVW2pu57aMOSvmgZUyDANrQ771vA+spQLrgmlN5JPC4/pLa5DpASl5EEYoQfwDdCnuKuzpgCULDiIq/LUGDJg+uB1OJf08QQSO4QWFI5a9LEEIGlndUCVnKWpi/JP5FcVfMsGkiVk9/A1qQylEWe3lk00V25/QSe/CVqm3IE3UcBea6SZ0Y96UjfEQcXeEgXlH1Zw7bUNz8LurD0ctP7cJrPz3ppk9mgXY4CrfP1Z9RkttbB/3fmHySHaXjQAwoGYD2f9H9Nk4RuWYadgYmSo2CVVPOcUhgGU9Jfw3qJ+gOPxgR0lfraPQAAAABJRU5ErkJggg=="
/>
<rect
className={s.iconBg}
x="259.55"
y="330.14"
width="55"
height="55"
rx="3"
/>
<path
className={s.iconLines}
d="M280 365.09a2.5 2.5 0 012.5-2.5H296"
/>
<path
className={s.iconLines}
d="M282.46 347.59H296v20h-13.5a2.5 2.5 0 01-2.5-2.5v-15a2.5 2.5 0 012.46-2.5zM278.13 352.47h4.71M278.13 356.47h4.71"
/>
</g>
{/* Access */}
<g
className={classnames(s.access, {
[s.inactive]: activeExampleIndex !== 2,
})}
>
<path className={s.spacer} d="M140.24 213.11h68.6v66.62h-68.6z" />
<image
className={s.dropShadow}
width="75"
height="75"
transform="translate(137.32 212.91)"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAACXBIWXMAAAsSAAALEgHS3X78AAAEWklEQVR4Xu2cW1LjSBBFj93G0PRrepqYWQKLYz0sjj3Mo7sxxg9szUdWulLlElbOl6vJG5FRkmwJ5+FmSSbImnRdR2icZqfeMKTJ7d3k1HvOWd3DvdslkzHOKsAMbbckm/Rh+xTAV2ElSDao7LeqzgTAXo8PQavCM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7vvtRS/A38jeS6RHBVWrwx7C/dMbu+mSPK2mbz1FUM6MyqsLeKiJ/KKITp/2blr3z3cHxxWc5badUNOXmv9ibbXorF3eV3wwq5Fs0Ly3FHMV8DgklBTfp1VjmyC5Q1M7/gbE4fHh7FLQqm7dFvnsBXtrZ9VwrLA7EP3zkTfQUlvbWW2cv4qQ49X1/97q2v+dSZ6+68tkvgWV5Msy1I2RizFOQpWTS2vUzoGTE3/G9Zb1H9jnvZy1NR71wAAAABJRU5ErkJggg=="
/>
<path d="M84.62 239.64h-3.69l-.61 1.61h-2.13l3.22-8.4h2.72l3.23 8.4h-2.13zM84 237.9l-1.19-3.14-1.18 3.14zM87.34 237.05a4.37 4.37 0 014.57-4.36 4.2 4.2 0 014.28 2.81l-2 .48a2.29 2.29 0 00-2.25-1.42 2.38 2.38 0 00-2.48 2.44 2.42 2.42 0 002.46 2.51 2.25 2.25 0 002.25-1.41l2 .49a4.16 4.16 0 01-4.17 2.83 4.38 4.38 0 01-4.66-4.37zM96.91 237.05a4.37 4.37 0 014.57-4.36 4.19 4.19 0 014.28 2.81l-2 .48a2.28 2.28 0 00-2.24-1.42A2.39 2.39 0 0099 237a2.43 2.43 0 002.47 2.51 2.25 2.25 0 002.24-1.41l2 .49a4.15 4.15 0 01-4.24 2.79 4.39 4.39 0 01-4.56-4.33zM108.84 234.65v1.47h3.91v1.73h-3.91v1.6h4.54v1.8h-6.56v-8.4h6.57v1.8zM114 238.87l2-.58a2.35 2.35 0 002.26 1.39c.83 0 1.36-.37 1.36-.79s-.28-.6-.94-.81l-2.24-.67a2.42 2.42 0 01-2-2.22c0-1.38 1.35-2.5 3.23-2.5a4 4 0 013.85 2.2l-1.9.54a2.23 2.23 0 00-1.92-1c-.72 0-1.16.32-1.16.7s.21.49.58.6l2.2.67c1.3.4 2.39 1 2.39 2.36s-1.42 2.67-3.58 2.67a4.21 4.21 0 01-4.13-2.56zM122.19 238.87l2-.58a2.35 2.35 0 002.26 1.39c.83 0 1.35-.37 1.35-.79s-.27-.6-.93-.81l-2.24-.67a2.42 2.42 0 01-2-2.22c0-1.38 1.35-2.5 3.23-2.5a4 4 0 013.85 2.2l-1.91.54a2.2 2.2 0 00-1.92-1c-.71 0-1.15.32-1.15.7s.21.49.58.6l2.2.67c1.3.4 2.39 1 2.39 2.36s-1.42 2.67-3.58 2.67a4.2 4.2 0 01-4.13-2.56z" />
<rect
className={s.iconBg}
x="147.53"
y="219.88"
width="55"
height="55"
rx="3"
/>
<path
className={s.vaultIcon}
d="M162.45 234.8L175 260l12.63-25.16zm14 5h1.46v1.45h-1.46zm-2.9 5.83h-1.46v-1.46h1.46zm0-2.19h-1.46V242h1.46zm0-2.19h-1.46v-1.45h1.46zm2.19 6.57h-1.44v-1.46h1.46zm0-2.19h-1.44v-1.46h1.46zm0-2.19h-1.44V242h1.46zm0-2.19h-1.44v-1.45h1.46zm.71.73h1.46v1.46h-1.46zm0 3.65v-1.46H178v1.46z"
/>
<image
className={s.dropShadow}
width="75"
height="75"
transform="translate(249.32 101.91)"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAACXBIWXMAAAsSAAALEgHS3X78AAAErklEQVR4Xu2c63LbNhCFPymy5PiSNI2nfQQ/nJ/HD+d3aJvGSazoYrE/gEMsIVDiTv6QNc7MDkhdaOHzWYDyeHfWNA1Vw7Q494I+ze4fZudeM2Y1T49ul8yGOCsD03c8JdlJt8fnAJ6EFSHZoHA+VTUmAA56vA9aEZZx0pwAZV4IC29KsnCaOOZRBHYEK3PTOxOLGDoXsCmkZZ52gvQK7E28xjgAhxxY3wIvUAtgaWIFXMSwwOz7xqgclqDsgC2wieM2PrYHmtn9Q2cd68CKrpqTQK2AS+Aqxvt4viK5LAc2Vtn02xOgbIA18BJjbl4r95Vh0U2/JQHMDfAhxi1wTYB2Ed8/hfWrMaNSb0MA9A14JswZUnoegMPs/mEmd7WwzFolZy0JbvoAfAI+A78BH+Pjl3RhjRWUJLe8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MKSloi2zsu2UYKyyday2y0I7u5Ac1G2uf6DYdmxdizDtgn+zOeMhCj/na2LVPHjfHsHCmBkpqzJjHySaJv9pNsnQ+ZpXSMhwMaMU5CFafptirdAiUPv0SrLem/wD+zwF/YqGwSwAAAABJRU5ErkJggg=="
/>
</g>
</g>
</g>
</svg>
</div>
)
}
@@ -0,0 +1,87 @@
.root {
padding: 88px 0;
& .headerWrapper {
& h2 {
text-align: center;
margin-top: 0;
margin-bottom: 32px;
@media (--small) {
margin-bottom: 0;
}
}
& p {
max-width: 818px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
}
}
.contentContainer {
display: flex;
justify-content: space-between;
position: relative;
@media (--small) {
flex-direction: column;
}
& > ul {
max-width: 470px;
margin-left: 128px;
padding: 0;
@media (width < 1120px) {
margin-left: 64px;
}
@media (width < 1024px) {
margin-left: 40px;
}
@media (--small) {
margin-left: 0;
}
}
}
.diagram {
width: 591px;
max-width: 100%;
}
.features {
& > li {
list-style: none;
& > div {
list-style: none;
padding-bottom: 285px;
@media (--small) {
padding-top: 0;
margin-bottom: 0;
padding-bottom: 100px;
}
}
&:last-child {
& > div {
padding-bottom: 355px;
margin-bottom: -200px;
}
}
&:first-child {
& > div {
padding-top: 108px;
@media (width < 1120px) {
padding-top: 64px;
}
}
}
}
}
+50
View File
@@ -0,0 +1,50 @@
import s from './how-it-works.module.css'
import classNames from 'classnames'
import HowBoundaryWorksDiagram from './how-boundary-works-diagram'
import Feature from './feature'
import { useState } from 'react'
export default function HowItWorks({ title, description, features }) {
const [activeExampleIndex, setActiveExampleIndex] = useState(0)
const [viewportStatus, setViewportStatus] = useState(
new Array(features.length).fill(false)
)
return (
<div className={s.root}>
<div className={classNames('g-grid-container', s.headerWrapper)}>
<h2 className="g-type-display-2">{title}</h2>
<p className="g-type-body-large">{description}</p>
</div>
<div className={`g-grid-container ${s.contentContainer}`}>
<div className={s.diagram}>
<HowBoundaryWorksDiagram activeExampleIndex={activeExampleIndex} />
</div>
<ul className={s.features}>
{features.map((feature, index) => (
<li key={feature.title}>
<Feature
{...feature}
onInViewStatusChanged={(state) => {
const newStatusArray = [...viewportStatus]
newStatusArray[index] = state
setViewportStatus(newStatusArray)
// Calculate the first element in focus, set that as
// our new activeExampleIndex. If it's been updated
// notify the subscriber.
const newExampleIndex = newStatusArray.lastIndexOf(true)
if (
activeExampleIndex != newExampleIndex &&
newExampleIndex != -1
) {
setActiveExampleIndex(newExampleIndex)
}
}}
/>
</li>
))}
</ul>
</div>
</div>
)
}
@@ -0,0 +1,22 @@
import styles from './section-break-cta.module.css'
import Button from '@hashicorp/react-button'
export default function SectionBreakCta({ heading, content, link }) {
return (
<div className={styles.sectionBreakCta}>
<hr />
<h4 className="g-type-display-4">{heading}</h4>
<p className="g-type-body">{content}</p>
<Button
title={link.text}
url={link.url}
theme={{
brand: 'neutral',
variant: 'tertiary-neutral',
background: 'light',
}}
linkType="outbound"
/>
</div>
)
}
@@ -0,0 +1,31 @@
.sectionBreakCta {
padding: 60px 30px;
max-width: 800px;
display: flex;
flex-direction: column;
text-align: center;
box-shadow: 0 8px 12px rgba(37, 38, 45, 0.08);
margin: 0 auto;
background-color: var(--white);
@media (width <= 880px) {
margin: 0 40px;
}
& > h4 {
margin-top: 0;
margin-bottom: 8px;
}
& > p {
margin-top: 0;
margin-bottom: 40px;
}
& hr {
width: 64px;
background-color: var(--red);
margin-top: 0;
margin-bottom: 24px;
}
}
@@ -1,33 +0,0 @@
import styles from './signin-error.module.css'
import Button from '@hashicorp/react-button'
import { useAuthProviders } from 'components/auth-gate'
export default function SigninErrorPage() {
const authProviders = useAuthProviders()
return (
<div className={styles.signinErrorWrapper}>
<h1 className="g-type-display-3">
Sorry! <br />
It seems you do not have appropriate permissions to view this content.
</h1>
{authProviders && (
<div className={styles.logoutCard}>
<div className={styles.authProviderGoBack}>
<h4>{`If you'd like to try again with another Okta account, please log out of Okta`}</h4>
{process.env.NEXT_PUBLIC_OKTA_DOMAIN && (
<Button
url={`https://${process.env.NEXT_PUBLIC_OKTA_DOMAIN}`}
title={`Go to Okta`}
/>
)}
</div>
<div className={styles.authProviderGoBack}>
<h4>{`If you'd like to try again with another Auth0 account, please go back`}</h4>
<Button url="/" title="Go back" />
</div>
)
</div>
)}
</div>
)
}
@@ -1,29 +0,0 @@
.signinErrorWrapper {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
flex-direction: column;
width: 100vw;
height: 100vh;
}
.logoutCard {
margin-top: 3rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
align-items: center;
text-align: center;
padding: 2rem;
border: 1px solid var(--gray-6);
}
.authProviderGoBack {
display: flex;
flex: 0 1 600px;
justify-content: center;
align-items: center;
text-align: center;
flex-direction: column;
}
+1 -1
View File
@@ -19,7 +19,7 @@ export default function ProductSubnav() {
},
{
text: 'Download',
url: 'https://github.com/hashicorp/boundary/releases',
url: '/downloads',
},
]}
currentPath={router.asPath}