2
0

♻️ Remove references to old s3 URLs

This commit is contained in:
Baptiste Arnaud
2023-12-06 07:30:47 +01:00
parent 61f7f67bf3
commit c2fc2df735
16 changed files with 37 additions and 1031 deletions

View File

@ -1,9 +1,18 @@
import { env } from '@typebot.io/env'
import Head from 'next/head'
const getOrigin = () => {
if (typeof window !== 'undefined') {
return window.location.origin
}
return env.NEXTAUTH_URL
}
export const Seo = ({
title,
description = 'Create and publish conversational forms that collect 4 times more answers and feel native to your product',
imagePreviewUrl = 'https://app.typebot.io/site-preview.png',
imagePreviewUrl = `${getOrigin()}/images/og.png`,
}: {
title: string
description?: string