opnform/resources/js/pages/welcome.vue

161 lines
8.6 KiB
Vue
Raw Normal View History

2022-09-20 19:59:52 +00:00
<template>
<div>
2022-10-07 07:57:04 +00:00
<div class="flex flex-col bg-gray-50 dark:bg-notion-dark">
2022-10-17 13:42:04 +00:00
<div class="w-full bg-gradient-to-b from-white to-gray-100">
<div class="w-full md:mx-auto flex flex-wrap mb-10 -mb-32 md:-mb-52 lg:-mb-72 md:pt-10 relative max-w-5xl">
2022-10-17 11:02:17 +00:00
<div
class="flex flex-col justify-center w-full text-center lg:pr-10 p-6 lg:p-10 relative z-10"
>
<h1 dusk="title" class="text-4xl lg:text-5xl">
The open-source <span class="text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-blue-600">form builder</span><br>
</h1>
2022-10-17 12:20:13 +00:00
<h3 class="mt-6 text-xl text-gray-600 dark:text-gray-400 max-w-xl mx-auto">
2022-10-17 11:02:17 +00:00
Create beautiful forms and share them anywhere. It takes seconds, you don't need to know how to code
and <span
2022-10-17 13:42:04 +00:00
class="font-medium"
2022-09-20 19:59:52 +00:00
>it's free</span>.
2022-10-17 11:02:17 +00:00
</h3>
<div class="mt-6 flex justify-center">
<v-button class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">
2022-10-17 13:42:04 +00:00
Create a form for FREE
</v-button>
</div>
2022-10-17 12:20:13 +00:00
<div class="justify-center flex gap-2 mt-10">
<div class="flex items-center text-gray-400 text-sm">
2022-10-17 13:42:04 +00:00
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" class="w-4 h-4 mr-1">
2022-10-17 11:02:17 +00:00
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
</svg>
2022-10-17 12:20:13 +00:00
<span>Unlimited forms</span>
2022-10-17 11:02:17 +00:00
</div>
2022-10-17 12:20:13 +00:00
<div class="flex items-center text-gray-400 text-sm">
2022-10-17 13:42:04 +00:00
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
2022-10-17 12:20:13 +00:00
stroke="currentColor" class="w-4 h-4 mr-1">
2022-10-17 11:02:17 +00:00
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
</svg>
2022-10-17 12:20:13 +00:00
<span>
Unlimited fields
</span>
2022-10-17 11:02:17 +00:00
</div>
2022-10-17 12:20:13 +00:00
<div class="flex text-gray-400 text-sm">
2022-10-17 13:42:04 +00:00
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" class="w-4 h-4 mr-1">
2022-10-17 11:02:17 +00:00
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
</svg>
2022-10-17 12:20:13 +00:00
<span>Unlimited responses</span>
2022-10-17 11:02:17 +00:00
</div>
</div>
2022-09-21 17:35:28 +00:00
</div>
2023-01-13 14:35:24 +00:00
<div class="w-full mt-8 relative px-6 mx-auto max-w-4xl sm:px-10 lg:px-0 z-10 flex items-center justify-center">
2022-10-17 13:42:04 +00:00
<img loading="lazy" class="w-full shadow-2xl rounded-xl block max-w-2xl lg:max-w-5xl"
:src="asset('img/pages/welcome/product-cover.jpg')" alt="cover-product">
2022-10-17 11:02:17 +00:00
</div>
2022-09-20 19:59:52 +00:00
</div>
</div>
2022-10-17 13:42:04 +00:00
<div class="bg-white dark:bg-notion-dark-light pt-32 md:pt-52 lg:pt-72 pb-8">
2022-10-17 11:02:17 +00:00
<div class="md:max-w-5xl md:mx-auto w-full">
<features class="pt-20 pb-8"/>
2022-09-20 19:59:52 +00:00
</div>
</div>
<more-features />
2022-10-07 07:57:04 +00:00
2022-11-16 10:18:59 +00:00
<!-- <div class="pt-20 pb-5 text-center bg-white dark:bg-notion-dark-light">-->
<!-- <h3 class="font-semibold text-3xl">See what people are saying</h3>-->
<!-- <p class="w-full mt-2 mb-8">-->
<!-- These are the stories of our customers who have joined us with great pleasure when using this crazy feature.-->
<!-- </p>-->
<!-- <testimonials/>-->
<!-- </div>-->
2022-10-07 07:57:04 +00:00
<div class="w-full bg-blue-900 p-12 md:p-24 text-center">
2022-10-17 15:08:36 +00:00
<h4 class="font-semibold text-3xl text-white">Take your forms to the next level</h4>
<p class="text-gray-300 my-8">No trial. Generous, unlimited free plan.</p>
<div class="mt-6 flex justify-center">
<v-button :to="{ name: 'forms.create.guest' }" v-track.welcome_create_form_click :arrow="true" color="blue">
2022-10-17 15:08:36 +00:00
Create a form for FREE
</v-button>
2022-09-20 19:59:52 +00:00
</div>
<div class="flex justify-center mt-6">
<a target="_blank" :href="configLinks.twitter" class="mr-4">
<svg class="w-6 h-6 text-white" viewBox="0 0 24 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.55016 19.7502C16.6045 19.7502 21.5583 12.2469 21.5583 5.74211C21.5583 5.53117 21.5536 5.31554 21.5442 5.1046C22.5079 4.40771 23.3395 3.5445 24 2.55554C23.1025 2.95484 22.1496 3.21563 21.1739 3.32898C22.2013 2.71315 22.9705 1.74572 23.3391 0.606011C22.3726 1.1788 21.3156 1.58286 20.2134 1.80085C19.4708 1.01181 18.489 0.48936 17.4197 0.314295C16.3504 0.13923 15.2532 0.321295 14.2977 0.832341C13.3423 1.34339 12.5818 2.15495 12.1338 3.14156C11.6859 4.12816 11.5754 5.23486 11.8195 6.29054C9.86249 6.19233 7.94794 5.68395 6.19998 4.79834C4.45203 3.91274 2.90969 2.66968 1.67297 1.14976C1.0444 2.23349 0.852057 3.51589 1.13503 4.73634C1.418 5.95678 2.15506 7.02369 3.19641 7.72023C2.41463 7.69541 1.64998 7.48492 0.965625 7.10617V7.1671C0.964925 8.30439 1.3581 9.40683 2.07831 10.287C2.79852 11.1672 3.80132 11.7708 4.91625 11.9952C4.19206 12.1934 3.43198 12.2222 2.69484 12.0796C3.00945 13.0577 3.62157 13.9131 4.44577 14.5266C5.26997 15.14 6.26512 15.4808 7.29234 15.5015C5.54842 16.8714 3.39417 17.6144 1.17656 17.6109C0.783287 17.6103 0.390399 17.5861 0 17.5387C2.25286 18.984 4.87353 19.7516 7.55016 19.7502Z" fill="currentColor"/>
</svg>
</a>
<a target="_blank" :href="configLinks.facebook_group" class="mr-4">
<svg class="w-6 h-6 text-white" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 17.9895 4.3882 22.954 10.125 23.8542V15.4688H7.07812V12H10.125V9.35625C10.125 6.34875 11.9166 4.6875 14.6576 4.6875C15.9701 4.6875 17.3438 4.92188 17.3438 4.92188V7.875H15.8306C14.34 7.875 13.875 8.80008 13.875 9.75V12H17.2031L16.6711 15.4688H13.875V23.8542C19.6118 22.954 24 17.9895 24 12Z" fill="currentColor"/>
</svg>
</a>
<a target="_blank" :href="configLinks.github_url" class="mr-4">
<svg class="w-6 h-6 text-white" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.3724 0 0 5.3808 0 12.0204C0 17.3304 3.438 21.8364 8.2068 23.4252C8.8068 23.5356 9.0252 23.1648 9.0252 22.8456C9.0252 22.5612 9.0156 21.804 9.0096 20.802C5.6712 21.528 4.9668 19.1904 4.9668 19.1904C4.422 17.8008 3.6348 17.4312 3.6348 17.4312C2.5452 16.6872 3.7176 16.7016 3.7176 16.7016C4.9212 16.7856 5.5548 17.94 5.5548 17.94C6.6252 19.776 8.364 19.2456 9.0468 18.9384C9.1572 18.162 9.4668 17.6328 9.81 17.3328C7.146 17.0292 4.344 15.9972 4.344 11.3916C4.344 10.08 4.812 9.006 5.5788 8.166C5.4552 7.8624 5.0436 6.6396 5.6964 4.986C5.6964 4.986 6.7044 4.662 8.9964 6.2172C9.97532 5.95022 10.9853 5.81423 12 5.8128C13.02 5.8176 14.046 5.9508 15.0048 6.2172C17.2956 4.662 18.3012 4.9848 18.3012 4.9848C18.9564 6.6396 18.5436 7.8624 18.4212 8.166C19.1892 9.006 19.6548 10.08 19.6548 11.3916C19.6548 16.0092 16.848 17.0256 14.1756 17.3232C14.6064 17.694 14.9892 18.4272 14.9892 19.5492C14.9892 21.1548 14.9748 22.452 14.9748 22.8456C14.9748 23.1672 15.1908 23.5416 15.8004 23.424C18.19 22.6225 20.2672 21.0904 21.7386 19.0441C23.2099 16.9977 24.001 14.5408 24 12.0204C24 5.3808 18.6264 0 12 0Z" fill="currentColor"/>
</svg>
</a>
2022-09-20 19:59:52 +00:00
</div>
</div>
2022-10-17 11:02:17 +00:00
<open-form-footer class="dark:border-t border-t"/>
2022-09-20 19:59:52 +00:00
</div>
</div>
</template>
<script>
2022-10-17 11:02:17 +00:00
import {mapGetters} from 'vuex'
2022-09-20 19:59:52 +00:00
import Features from '~/components/pages/welcome/Features'
import MoreFeatures from '~/components/pages/welcome/MoreFeatures'
2022-09-20 19:59:52 +00:00
import OpenFormFooter from '../components/pages/OpenFormFooter'
import Testimonials from '../components/pages/welcome/Testimonials'
import SeoMeta from '../mixins/seo-meta'
2022-09-20 19:59:52 +00:00
export default {
components: {Testimonials, OpenFormFooter, Features, MoreFeatures},
2022-09-20 19:59:52 +00:00
layout: 'default',
mixins: [SeoMeta],
2022-09-20 19:59:52 +00:00
data: () => ({
title: window.config.appName,
metaTitle: 'Create beautiful & open-source forms for free',
2022-09-20 19:59:52 +00:00
}),
2022-10-17 11:02:17 +00:00
mounted() {
},
2022-09-20 19:59:52 +00:00
methods: {
// openCrisp () {
// window.$crisp.push(['do', 'chat:show'])
// window.$crisp.push(['do', 'chat:open'])
// window.$crisp.push(['do', 'message:send', ['text', "Hi! I'd like to learn more about OpnForm"]])
// }
},
computed: {
...mapGetters({
authenticated: 'auth/check'
}),
configLinks: () => window.config.links
2022-09-20 19:59:52 +00:00
}
}
</script>
<style lang="scss" scoped>
.customer-logo-container {
max-width: 130px;
width: 100%;
}
@screen md {
#macbook-video {
position: absolute;
max-width: 84.8% !important;
right: 0px;
top: 6.8%;
}
}
</style>