Include title in some widgets

This commit is contained in:
widgeter
2023-08-09 11:49:25 +02:00
parent d7e372ed4b
commit 6ba3a3418a
4 changed files with 14 additions and 8 deletions

View File

@ -28,14 +28,14 @@ const {
tagline={tagline}
callToAction={callToAction}
classes={{
container: 'text-left mb-4 md:mb-8',
container: 'text-center md:text-left mb-4 md:mb-8',
title: 'mb-4 text-3xl lg:text-4xl font-bold font-heading',
subtitle: 'mb-8 text-xl text-muted dark:text-slate-400',
// ...((classes?.headline as {}) ?? {}),
}}
/>
<div class="w-full">
<div class="w-full text-center md:text-left">
{
typeof callToAction === 'string' ? (
<Fragment set:html={callToAction} />
@ -52,7 +52,7 @@ const {
}
</div>
</div>
<div class="w-full lg:w-1/2 px-8 sm:px-0">
<div class="w-full lg:w-1/2 px-0">
<ul class="space-y-10">
{
items && items.length

View File

@ -30,6 +30,7 @@ const metadata = {
<!-- Stats Widget ****************** -->
<Stats
title="Statistics about us"
stats={[
{ title: 'Offices', amount: '4' },
{ title: 'Employees', amount: '248' },
@ -174,7 +175,8 @@ const metadata = {
<!-- Features2 Widget ************** -->
<Features2
tagline="Our locations"
title="Our locations"
tagline="Find us"
columns={4}
items={[
{
@ -199,7 +201,8 @@ const metadata = {
<!-- Features2 Widget ************** -->
<Features2
tagline="Technical Support"
title="Technical Support"
tagline="Contact us"
columns={2}
items={[
{

View File

@ -60,8 +60,9 @@ const metadata = {
<!-- Features3 Widget ************** -->
<Features3
subtitle="Tired of spending hours crafting documents from scratch? Our app offers an innovative solution. With a wide array of professionally designed templates, you can now create stunning documents in minutes. Save time, achieve a polished look, and customize templates to fit your style. Join thousands of satisfied users who've transformed their documents effortlessly. Explore our templates now and experience the difference."
tagline="Step-by-step guide on how to use our app"
title="How to use our app"
subtitle="Tired of spending hours crafting documents from scratch? Our app offers an innovative solution. With a wide array of professionally designed templates, you can now create stunning documents in minutes. Explore our templates now and experience the difference."
tagline="Step-by-step guide"
columns={2}
items={[
{
@ -182,6 +183,7 @@ const metadata = {
<!-- Stats Widget ****************** -->
<Stats
title="Statistics of our app"
stats={[
{ amount: '20K', icon: 'tabler:download' },
{ amount: '18.5K', icon: 'tabler:users' },
@ -192,7 +194,7 @@ const metadata = {
<!-- Testimonials Widget *********** -->
<Testimonials
tagline="What our users say about us?"
title="What our users say?"
testimonials={[
{
testimonial:

View File

@ -57,6 +57,7 @@ const metadata = {
<!-- Stats Widget ****************** -->
<Stats
title="Our statistics"
stats={[
{ title: 'Templates', amount: '56' },
{ title: 'Downloads', amount: '182K' },