This commit is contained in:
parent
39720961e1
commit
ff4ebfbd5f
|
@ -48,7 +48,7 @@ export default {
|
|||
useOpnSeoMeta({
|
||||
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.',
|
||||
ogImage: '/img/social-preview.jpg',
|
||||
ogImage: `${useRuntimeConfig().public.appUrl}/img/social-preview.jpg`,
|
||||
robots: () => {
|
||||
return config.public.env === 'production' ? null : 'noindex, nofollow'
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
'Build a simple form in minutes.',
|
||||
'No coding needed.'
|
||||
],
|
||||
img: '/img/pages/welcome/step-1.jpg'
|
||||
img: `${useRuntimeConfig().public.appUrl}/img/pages/welcome/step-1.jpg`
|
||||
},
|
||||
{
|
||||
title: 'Share',
|
||||
|
@ -29,7 +29,7 @@
|
|||
'Share the link to your form',
|
||||
'Embed the form on your website'
|
||||
],
|
||||
img: '/img/pages/welcome/step-2.jpg'
|
||||
img: `/img/pages/welcome/step-2.jpg`
|
||||
},
|
||||
{
|
||||
title: 'Get Results',
|
||||
|
@ -39,7 +39,7 @@
|
|||
'Easily export submissions as CSV',
|
||||
'Views & Submissions Analytics'
|
||||
],
|
||||
img: '/img/pages/welcome/step-3.jpg'
|
||||
img: `/img/pages/welcome/step-3.jpg`
|
||||
}
|
||||
]" :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}">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<NuxtLayout>
|
||||
<div class="flex mt-6">
|
||||
<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">
|
||||
Page Not Found
|
||||
|
|
|
@ -158,10 +158,6 @@ useOpnSeoMeta({
|
|||
return (form && form.value?.can_be_indexed) ? null : 'noindex, nofollow'
|
||||
}
|
||||
})
|
||||
console.log(`app url is', ${useRuntimeConfig().public.appBaseUrl}`);
|
||||
console.log(
|
||||
useRuntimeConfig().public
|
||||
)
|
||||
useHead({
|
||||
titleTemplate: (titleChunk) => {
|
||||
if (form && form.value?.is_pro && form.value?.seo_meta.page_title) {
|
||||
|
|
|
@ -3,7 +3,6 @@ export default {
|
|||
public: {
|
||||
apiBase: process.env.NUXT_PUBLIC_API_BASE ||'',
|
||||
appUrl: process.env.NUXT_PUBLIC_APP_URL || '',
|
||||
try: process.env.NUXT_TRY,
|
||||
env: process.env.NUXT_PUBLIC_ENV || 'local',
|
||||
hCaptchaSiteKey: process.env.NUXT_PUBLIC_H_CAPTCHA_SITE_KEY || null,
|
||||
googleAnalyticsCode: process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE || null,
|
||||
|
|
Loading…
Reference in New Issue