Cleanup some UI (#78)

This commit is contained in:
Brandon Lee Kitajchuk
2023-10-22 11:23:28 -07:00
committed by GitHub
parent 7e49f7977c
commit ffcae20403
4 changed files with 22 additions and 6 deletions

View File

@@ -1,9 +1,8 @@
hero: hero:
headline: Build unique voice solutions, faster. headline: Build unique voice solutions, faster.
subtext: subtext: jambonz is the open source voice platform for conversational AI providers and CSPs.
- jambonz is the open source voice platform ctaline: Create a free account on <a href="https://jambonz.cloud/register">jambonz.cloud</a> today!
- for conversational AI providers and CSPs. cta: Create your free account
cta: Create a free account on jambonz.cloud
url: https://jambonz.cloud/register url: https://jambonz.cloud/register
tech: tech:

View File

@@ -76,6 +76,11 @@ export function Hero({ data = {}, subStyle, altStyle, children }) {
</H2> </H2>
</div> </div>
)} )}
{data.ctaline && (
<div className="hero__ctaline">
<p dangerouslySetInnerHTML={{ __html: data.ctaline }} />
</div>
)}
{data.cta && ( {data.cta && (
<div className="hero__cta"> <div className="hero__cta">
<Button as={Link} href={data.url}>{data.cta}</Button> <Button as={Link} href={data.url}>{data.cta}</Button>

View File

@@ -107,6 +107,14 @@
&--home { &--home {
padding-bottom: 64px; padding-bottom: 64px;
padding-top: 32px; padding-top: 32px;
.hero__subtext {
max-width: 530px;
@media (max-width: ui-vars.$width-tablet-1) {
max-width: 470px;
}
}
} }
&--why { &--why {
@@ -166,6 +174,10 @@
margin-right: auto; margin-right: auto;
} }
} }
&__ctaline {
margin-bottom: 32px;
}
} }
/****************************************************************************** /******************************************************************************

View File

@@ -3,10 +3,10 @@
* Utilized in src/components/hooks: useMobileMedia * Utilized in src/components/hooks: useMobileMedia
*******************************************************************************/ *******************************************************************************/
:root { :root {
--mobile-media: 896px; --mobile-media: 1024px;
} }
$mobile-width: 896px; $mobile-width: 1024px;
/****************************************************************************** /******************************************************************************
* Sizes * Sizes