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

View File

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

View File

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

View File

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