2
0

📝 Change community URLs, introduce Discord server

Closes #866
This commit is contained in:
Baptiste Arnaud
2023-11-14 08:41:46 +01:00
parent 74dd169b50
commit 8f224e3293
8 changed files with 28 additions and 17 deletions

View File

@@ -105,7 +105,7 @@ Then we can use these variables to display dynamic content in the next bubbles:
Possibilities are endless when it comes to API calls, you can litteraly call any API and fetch any data you want.
Feel free to ask the [community](https://www.facebook.com/groups/typebot) for help if you struggle setting up a Webhook block.
Feel free to ask the [community](https://typebot.io/discord) for help if you struggle setting up a Webhook block.
## Troubleshooting

View File

@@ -28,4 +28,4 @@ if({{Category}} === 'qualified') {
}
```
Do you need to do something but you're not sure how to? [Ask the community for help!](https://www.facebook.com/groups/typebot)
Do you need to do something but you're not sure how to? [Join the Discord server](https://typebot.io/discord) and get instant help!

View File

@@ -59,8 +59,8 @@ module.exports = {
title: 'Community',
items: [
{
label: 'Facebook Group',
href: 'https://www.facebook.com/groups/typebot',
label: 'Discord',
href: 'https://typebot.io/discord',
},
{
label: 'Twitter',

View File

@@ -12,7 +12,7 @@ import {
import { Logo } from 'assets/icons/Logo'
import { TextLink } from './TextLink'
const facebookGroupUrl = 'https://www.facebook.com/groups/typebot'
const discordServerUrl = 'https://typebot.io/discord'
const typebotLinkedInUrl = 'https://www.linkedin.com/company/typebot'
const typebotTwitterUrl = 'https://twitter.com/Typebot_io'
const baptisteTwitterUrl = 'https://twitter.com/baptisteArno'
@@ -54,12 +54,12 @@ export const Footer = () => {
</Stack>
<Stack align={'flex-start'}>
<ListHeader>Community</ListHeader>
<TextLink href={discordServerUrl} isExternal>
Discord
</TextLink>
<TextLink href={githubRepoLink} isExternal>
GitHub repository
</TextLink>
<TextLink href={facebookGroupUrl} isExternal>
Facebook Group
</TextLink>
<TextLink href={typebotTwitterUrl} isExternal>
Twitter
</TextLink>

View File

@@ -31,8 +31,8 @@ export const links = [
{
label: 'Community',
description:
'Join our facebook community and get insights on how to create high performing surveys',
href: 'https://www.facebook.com/groups/262165102257585',
'Join the Discord server and learn about chatbots best practices and get help from the community',
href: '/discord',
icon: <PeopleCircleIcon />,
},
],

View File

@@ -18,6 +18,11 @@ const nextConfig = {
destination: 'https://unpkg.com/typebot-js@2.1.3/dist/index.umd.min.js',
permanent: true,
},
{
source: '/discord',
destination: 'https://discord.com/invite/ymK8Q33d5Z',
permanent: true,
},
]
},
}

View File

@@ -31,6 +31,15 @@ const nextConfig = {
experimental: {
outputFileTracingRoot: join(__dirname, '../../'),
},
async redirects() {
return [
{
source: '/discord',
destination: 'https://discord.com/invite/ymK8Q33d5Z',
permanent: true,
},
]
},
async rewrites() {
return {
beforeFiles: (process.env.LANDING_PAGE_URL