Modify stats widget and include on mobile-app page

This commit is contained in:
widgeter
2023-08-07 20:43:46 +02:00
parent 9c18e021c2
commit ebd1ec70cb
4 changed files with 64 additions and 63 deletions

View File

@ -13,7 +13,7 @@ import Stats from '~/components/widgets/Stats.astro';
import CallToAction from '~/components/widgets/CallToAction.astro';
const metadata = {
title: "AstroWind — Free template for create a website with Astro + Tailwind CSS",
title: 'AstroWind — Free template for create a website with Astro + Tailwind CSS',
dontUseTitleTemplate: true,
};
---
@ -28,15 +28,16 @@ const metadata = {
>
<Fragment slot="title">
Free template for <span class="hidden xl:inline">creating websites with</span>
<span class="text-accent dark:text-white highlight"> Astro 2.0</span> + Tailwind CSS </Fragment>
<span class="text-accent dark:text-white highlight"> Astro 2.0</span> + Tailwind CSS
</Fragment>
<Fragment slot="subtitle">
<span class="hidden sm:inline">
<span class="font-semibold">AstroWind</span> is a free, customizable and production-ready template for Astro 2.0 +
Tailwind CSS.</span
<span class="font-semibold">AstroWind</span> is a free, customizable and production-ready template for Astro 2.0
+ Tailwind CSS.</span
>
<span class="block mb-1 sm:hidden font-bold text-blue-600">AstroWind: Production-ready.</span> Suitable for Startups,
Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs.
<span class="block mb-1 sm:hidden font-bold text-blue-600">AstroWind: Production-ready.</span> Suitable for
Startups, Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs.
</Fragment>
</Hero>
@ -120,8 +121,8 @@ const metadata = {
>
<Fragment slot="content">
<h3 class="text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2">Ad vix debet docendi</h3>
Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod
tacimates.
Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te
euismod tacimates.
</Fragment>
</Content>
@ -311,11 +312,11 @@ const metadata = {
<!-- Stats Widget ****************** -->
<Stats
items={[
{ name: 'Downloads', value: '132K' },
{ name: 'Stars', value: '24.8K' },
{ name: 'Forks', value: '10.3K' },
{ name: 'Users', value: '48.4K' },
stats={[
{ title: 'Downloads', amount: '132K' },
{ title: 'Stars', amount: '24.8K' },
{ title: 'Forks', amount: '10.3K' },
{ title: 'Users', amount: '48.4K' },
]}
/>

View File

@ -8,6 +8,7 @@ import Features3 from '~/components/widgets/Features3.astro';
import Content from '~/components/widgets/Content.astro';
import Testimonials from '~/components/widgets/Testimonials.astro';
import FAQs from '~/components/widgets/FAQs.astro';
import Stats from '~/components/widgets/Stats.astro';
const metadata = {
title: 'Mobile App Landing Page',
@ -178,6 +179,16 @@ const metadata = {
</Fragment>
</Content>
<!-- Stats Widget ****************** -->
<Stats
stats={[
{ amount: '20K', icon: 'tabler:download' },
{ amount: '18.5K', icon: 'tabler:users' },
{ amount: '4.7', icon: 'tabler:user-star' },
]}
/>
<!-- Testimonials Widget *********** -->
<Testimonials

View File

@ -57,11 +57,11 @@ const metadata = {
<!-- Stats Widget ****************** -->
<Stats
items={[
{ name: 'Templates', value: '56' },
{ name: 'Downloads', value: '182K' },
{ name: 'User Ratings', value: '4.8' },
{ name: 'Satisfied Clients', value: '116K' },
stats={[
{ title: 'Templates', amount: '56' },
{ title: 'Downloads', amount: '182K' },
{ title: 'User Ratings', amount: '4.8' },
{ title: 'Satisfied Clients', amount: '116K' },
]}
/>