mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-18 20:37:44 +00:00
Cleanup some UI (#78)
This commit is contained in:
committed by
GitHub
parent
7e49f7977c
commit
ffcae20403
@@ -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:
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
* Utilized in src/components/hooks: useMobileMedia
|
||||
*******************************************************************************/
|
||||
:root {
|
||||
--mobile-media: 896px;
|
||||
--mobile-media: 1024px;
|
||||
}
|
||||
|
||||
$mobile-width: 896px;
|
||||
$mobile-width: 1024px;
|
||||
|
||||
/******************************************************************************
|
||||
* Sizes
|
||||
|
||||
Reference in New Issue
Block a user