Improve Landing page (#182)

* Improve Landing page

* Polish

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
formsdev 2023-08-31 20:09:33 +05:30 committed by GitHub
parent c0a8f0d2bd
commit a21eb851aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 25 deletions

View File

@ -90,7 +90,7 @@
Save hours in just a few clicks Save hours in just a few clicks
</p> </p>
<p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4"> <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">
Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint Building forms has never been easier
</p> </p>
</div> </div>

View File

@ -1,15 +1,12 @@
<template> <template>
<div> <div>
<h3 class="font-semibold text-2xl text-gray-900">Billing details</h3> <h3 class="font-semibold text-2xl text-gray-900">Billing details</h3>
<small class="text-gray-600">Manage your billing.</small> <small class="text-gray-600">Manage your billing. Download invoices, update your plan, or cancel it at any time.</small>
<div class="mt-4"> <div class="mt-4">
<v-button color="gray" shade="light" :loading="billingLoading" @click.prevent="openBillingDashboard"> <v-button color="gray" shade="light" :loading="billingLoading" @click.prevent="openBillingDashboard">
Manage Subscription Manage Subscription
</v-button> </v-button>
<v-button color="red" class="mt-3" @click.prevent="cancelSubscription">
Cancel Subscription
</v-button>
</div> </div>
</div> </div>
</template> </template>
@ -30,9 +27,6 @@ export default {
}), }),
methods: { methods: {
cancelSubscription () {
// this.alertError('Sorry to see you leave 😢')
},
openBillingDashboard () { openBillingDashboard () {
this.billingLoading = true this.billingLoading = true
axios.get('/api/subscription/billing-portal').then((response) => { axios.get('/api/subscription/billing-portal').then((response) => {

View File

@ -1,21 +1,22 @@
<template> <template>
<div> <div>
<div class="flex flex-col bg-gray-50 dark:bg-notion-dark"> <section class="bg-gradient-to-b relative from-white to-gray-100 py-12 sm:py-16 lg:py-20 xl:py-24">
<div class="w-full bg-gradient-to-b from-white to-gray-100"> <div class="absolute inset-0">
<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"> <img class="w-full h-full object-cover object-top" :src="asset('img/pages/ai_form_builder/background-pattern.svg')" alt="">
<div </div>
class="flex flex-col justify-center w-full text-center lg:pr-10 p-6 lg:p-10 relative z-10"
> <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto relative -mb-32 md:-mb-52 lg:-mb-72">
<h1 dusk="title" class="text-4xl lg:text-5xl"> <div class="max-w-4xl mx-auto text-center">
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 class="text-4xl sm:text-5xl lg:text-6xl font-semibold text-gray-900 tracking-tight">
The open-source
<span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-600 to-blue-400">form builder</span>
</h1> </h1>
<h3 class="mt-6 text-xl text-gray-600 dark:text-gray-400 max-w-xl mx-auto"> <p class="mt-4 sm:mt-5 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">
Create beautiful forms and share them anywhere. It takes seconds, you don't need to know how to code Create beautiful forms and share them anywhere. It takes seconds, you don't need to know how to code
and <span and <span class="font-bold">it's free</span>
class="font-medium" </p>
>it's free</span>.
</h3> <div class="mt-8 flex justify-center">
<div class="mt-6 flex justify-center">
<v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true"> <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">
Create a form for FREE Create a form for FREE
</v-button> </v-button>
@ -23,6 +24,7 @@
Create a form for FREE Create a form for FREE
</v-button> </v-button>
</div> </div>
<div class="justify-center flex gap-2 mt-10"> <div class="justify-center flex gap-2 mt-10">
<div class="flex items-center text-gray-400 text-sm"> <div class="flex items-center text-gray-400 text-sm">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
@ -49,16 +51,18 @@
</div> </div>
</div> </div>
</div> </div>
<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"> <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">
<img loading="lazy" class="w-full shadow-2xl rounded-xl block max-w-2xl lg:max-w-5xl" <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"> :src="asset('img/pages/welcome/product-cover.jpg')" alt="cover-product">
</div> </div>
</div> </div>
</div> </section>
<div class="flex flex-col bg-gray-50 dark:bg-notion-dark">
<div class="bg-white dark:bg-notion-dark-light pt-32 md:pt-52 lg:pt-72 pb-8"> <div class="bg-white dark:bg-notion-dark-light pt-32 md:pt-52 lg:pt-72 pb-8">
<div class="md:max-w-5xl md:mx-auto w-full"> <div class="md:max-w-5xl md:mx-auto w-full">
<features class="pt-20 pb-8"/> <features class="pb-8"/>
</div> </div>
</div> </div>