Merge pull request 'updated contact' (#4) from development_update3 into development

Reviewed-on: tfgrid/www_projectinca#4
This commit is contained in:
mik-tf 2024-06-04 13:47:28 +00:00
commit 2c4254c2cb
3 changed files with 29 additions and 57 deletions

View File

@ -216,6 +216,7 @@ const metadata = {
description: description:
'Integer luctus laoreet libero, auctor varius purus rutrum sit amet. Ut nec molestie nisi, quis eleifend mi.', 'Integer luctus laoreet libero, auctor varius purus rutrum sit amet. Ut nec molestie nisi, quis eleifend mi.',
icon: 'tabler:messages', icon: 'tabler:messages',
}, },
{ {
title: 'Call us', title: 'Call us',

View File

@ -1,8 +1,7 @@
--- ---
import Layout from '~/layouts/PageLayout.astro'; import Layout from '~/layouts/PageLayout.astro';
import HeroText from '~/components/widgets/HeroText.astro'; import HeroText from '~/components/widgets/HeroText.astro';
import ContactUs from '~/components/widgets/Contact.astro'; import CallToAction from '~/components/widgets/CallToAction.astro';
import Features2 from '~/components/widgets/Features2.astro';
const metadata = { const metadata = {
title: 'Contact', title: 'Contact',
@ -14,66 +13,31 @@ const metadata = {
<HeroText tagline="Contact" title="Let's Connect!" /> <HeroText tagline="Contact" title="Let's Connect!" />
<ContactUs
id="form" <!-- CallToAction Widget *********** -->
title="Drop us a message today!"
subtitle="For quicker answers, explore our FAQs section. You may find the solution you're looking for right there! If not, our support team is delighted to help you." <CallToAction
inputs={[ actions={[
{ {
type: 'text', variant: 'primary',
name: 'name', target: '_blank',
label: 'Name', text: 'Write an Email',
href: 'mailto:info@threefold.io',
}, },
{ {
type: 'email', variant: 'primary',
name: 'email', target: '_blank',
label: 'Email', text: 'Reach Support',
href: 'https://threefoldfaq.crisp.help/en/',
}, },
]} ]}
textarea={{ >
label: 'Message', <Fragment slot="title">It's our pleasure to assist you.</Fragment>
}}
disclaimer={{ <Fragment slot="subtitle">
label: Write us an email or contact our support team for more information. <br> It's our pleasure to assist you!
'By submitting this contact form, you acknowledge and agree to the collection of your personal information.', </Fragment>
}} </CallToAction>
description="Our support team typically responds within 24 business hours."
/>
<!-- Features2 Widget ************** -->
<Features2
title="We are here to help!"
items={[
{
title: 'General support',
description: `Chat with us for inquiries related to account management, website navigation, payment issues, accessing purchased templates or general questions about the website's functionality.`,
},
{
title: 'Contact sales',
description:
'Chat with us for questions about purchases, customization options, licensing for commercial use, inquiries about specific template, etc.',
},
{
title: 'Technical support',
description:
'Chat with us when facing issues like template installation, problems editing difficulties, compatibility issues with software or download errors, or other technical challenges related to using the templates.',
},
{
title: 'Phone',
description: '+1 (234) 567-890',
icon: 'tabler:headset',
},
{
title: 'Email',
description: 'contact@support.com',
icon: 'tabler:mail',
},
{
title: 'Location',
description: '1234 Lorem Ipsum St, 12345, Miami, EEUU',
icon: 'tabler:map-pin',
},
]}
/>
</Layout> </Layout>

View File

@ -305,6 +305,13 @@ const metadata = {
href: 'https://github.com/onwidget/astrowind', href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download', icon: 'tabler:download',
}, },
{
variant: 'primary',
target: '_blank',
text: 'Get templates',
href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download',
},
]} ]}
> >
<Fragment slot="title">Be a part of our vision</Fragment> <Fragment slot="title">Be a part of our vision</Fragment>