This commit is contained in:
parent
39720961e1
commit
ff4ebfbd5f
|
@ -48,7 +48,7 @@ export default {
|
||||||
useOpnSeoMeta({
|
useOpnSeoMeta({
|
||||||
title: 'OpnForm',
|
title: 'OpnForm',
|
||||||
description: 'Create beautiful forms for free. Unlimited fields, unlimited submissions. It\'s free and it takes less than 1 minute to create your first form.',
|
description: 'Create beautiful forms for free. Unlimited fields, unlimited submissions. It\'s free and it takes less than 1 minute to create your first form.',
|
||||||
ogImage: '/img/social-preview.jpg',
|
ogImage: `${useRuntimeConfig().public.appUrl}/img/social-preview.jpg`,
|
||||||
robots: () => {
|
robots: () => {
|
||||||
return config.public.env === 'production' ? null : 'noindex, nofollow'
|
return config.public.env === 'production' ? null : 'noindex, nofollow'
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
'Build a simple form in minutes.',
|
'Build a simple form in minutes.',
|
||||||
'No coding needed.'
|
'No coding needed.'
|
||||||
],
|
],
|
||||||
img: '/img/pages/welcome/step-1.jpg'
|
img: `${useRuntimeConfig().public.appUrl}/img/pages/welcome/step-1.jpg`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Share',
|
title: 'Share',
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
'Share the link to your form',
|
'Share the link to your form',
|
||||||
'Embed the form on your website'
|
'Embed the form on your website'
|
||||||
],
|
],
|
||||||
img: '/img/pages/welcome/step-2.jpg'
|
img: `/img/pages/welcome/step-2.jpg`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Get Results',
|
title: 'Get Results',
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
'Easily export submissions as CSV',
|
'Easily export submissions as CSV',
|
||||||
'Views & Submissions Analytics'
|
'Views & Submissions Analytics'
|
||||||
],
|
],
|
||||||
img: '/img/pages/welcome/step-3.jpg'
|
img: `/img/pages/welcome/step-3.jpg`
|
||||||
}
|
}
|
||||||
]" :key="step.title">
|
]" :key="step.title">
|
||||||
<div class="w-full md:w-1/2 lg:w-5/12" :class="{'md:pl-4':index%2==1, 'md:pr-4':index%2==0}">
|
<div class="w-full md:w-1/2 lg:w-5/12" :class="{'md:pl-4':index%2==1, 'md:pr-4':index%2==0}">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<NuxtLayout>
|
<NuxtLayout>
|
||||||
<div class="flex mt-6">
|
<div class="flex mt-6">
|
||||||
<div class="w-full md:w-2/3 md:mx-auto md:max-w-md">
|
<div class="w-full md:w-2/3 md:mx-auto md:max-w-md">
|
||||||
<NuxtImg alt="Nice plant as we have nothing else to show!" src="/img/icons/plant.png" class="w-56 mb-5"/>
|
<NuxtImg alt="Nice plant as we have nothing else to show!" :src="${useRuntimeConfig().public.appUrl}/img/icons/plant.png" class="w-56 mb-5"/>
|
||||||
|
|
||||||
<h1 class="mb-4 font-semibold text-3xl text-gray-900">
|
<h1 class="mb-4 font-semibold text-3xl text-gray-900">
|
||||||
Page Not Found
|
Page Not Found
|
||||||
|
|
|
@ -158,10 +158,6 @@ useOpnSeoMeta({
|
||||||
return (form && form.value?.can_be_indexed) ? null : 'noindex, nofollow'
|
return (form && form.value?.can_be_indexed) ? null : 'noindex, nofollow'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(`app url is', ${useRuntimeConfig().public.appBaseUrl}`);
|
|
||||||
console.log(
|
|
||||||
useRuntimeConfig().public
|
|
||||||
)
|
|
||||||
useHead({
|
useHead({
|
||||||
titleTemplate: (titleChunk) => {
|
titleTemplate: (titleChunk) => {
|
||||||
if (form && form.value?.is_pro && form.value?.seo_meta.page_title) {
|
if (form && form.value?.is_pro && form.value?.seo_meta.page_title) {
|
||||||
|
|
|
@ -3,7 +3,6 @@ export default {
|
||||||
public: {
|
public: {
|
||||||
apiBase: process.env.NUXT_PUBLIC_API_BASE ||'',
|
apiBase: process.env.NUXT_PUBLIC_API_BASE ||'',
|
||||||
appUrl: process.env.NUXT_PUBLIC_APP_URL || '',
|
appUrl: process.env.NUXT_PUBLIC_APP_URL || '',
|
||||||
try: process.env.NUXT_TRY,
|
|
||||||
env: process.env.NUXT_PUBLIC_ENV || 'local',
|
env: process.env.NUXT_PUBLIC_ENV || 'local',
|
||||||
hCaptchaSiteKey: process.env.NUXT_PUBLIC_H_CAPTCHA_SITE_KEY || null,
|
hCaptchaSiteKey: process.env.NUXT_PUBLIC_H_CAPTCHA_SITE_KEY || null,
|
||||||
googleAnalyticsCode: process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE || null,
|
googleAnalyticsCode: process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE || null,
|
||||||
|
|
Loading…
Reference in New Issue