mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-19 04:47:44 +00:00
Cleanup some UI (#78)
This commit is contained in:
committed by
GitHub
parent
7e49f7977c
commit
ffcae20403
@@ -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:
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user