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

@ -24,17 +24,15 @@ Typebot is an open-source chatbot builder. It allows you to create advanced chat
<a href="https://status.typebot.io"><img height="20px" src="https://betteruptime.com/status-badges/v1/monitor/a9kf.svg" alt="Uptime"></a> <a href="https://status.typebot.io"><img height="20px" src="https://betteruptime.com/status-badges/v1/monitor/a9kf.svg" alt="Uptime"></a>
<a href="https://github.com/baptisteArno/typebot.io/issues/new"><img src="https://img.shields.io/badge/Report a bug-Github-%231F80C0" alt="Report a bug"></a> <a href="https://github.com/baptisteArno/typebot.io/issues/new"><img src="https://img.shields.io/badge/Report a bug-Github-%231F80C0" alt="Report a bug"></a>
<a href="https://github.com/baptisteArno/typebot.io/discussions/new?category=q-a"><img src="https://img.shields.io/badge/Ask a question-Github-%231F80C0" alt="Ask a question"></a> <a href="https://github.com/baptisteArno/typebot.io/discussions/new?category=q-a"><img src="https://img.shields.io/badge/Ask a question-Github-%231F80C0" alt="Ask a question"></a>
<a href="https://www.facebook.com/groups/typebot"><img src="https://img.shields.io/badge/Join community-Facebook-%23016DE5" alt="Ask a question"></a>
<a href="https://console.algora.io/org/typebot/bounties?status=open"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Ftypebot%2Fbounties%3Fstatus%3Dopen" alt="Ask a question"></a> <a href="https://console.algora.io/org/typebot/bounties?status=open"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Ftypebot%2Fbounties%3Fstatus%3Dopen" alt="Ask a question"></a>
<a href="https://typebot.io/discord"><img src="https://img.shields.io/badge/Join community-Discord-%23404EED" alt="Ask a question"></a>
</p> </p>
<h3 align="center"> <h3 align="center">
<b><a href="https://app.typebot.io/register">Get Started</a></b> <b><a href="https://app.typebot.io/register">Try Typebot</a></b>
<b><a href="https://docs.typebot.io/">Docs</a></b> <b><a href="https://docs.typebot.io/">Docs</a></b>
<b><a href="https://www.youtube.com/@typebot4666/videos">YouTube</a></b>
</h3>
--- ---
@ -87,8 +85,7 @@ So youll be supporting open source software and getting a great service! 💙
You'll find a lot of resources to help you get started with Typebot in the [documentation](https://docs.typebot.io/). You'll find a lot of resources to help you get started with Typebot in the [documentation](https://docs.typebot.io/).
- Have a product-related question? Ask it to the [community](https://www.facebook.com/groups/typebot) - Have a question? Join the [Discord server](https://typebot.io/discord) and get instant help.
- Have a technical question? Ask it on [Github discussions](https://github.com/baptisteArno/typebot.io/discussions/new/choose)
- Found a bug? [Create an issue](https://github.com/baptisteArno/typebot.io/issues/new) - Found a bug? [Create an issue](https://github.com/baptisteArno/typebot.io/issues/new)
## Self-hosting ## Self-hosting

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. 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 ## 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', title: 'Community',
items: [ items: [
{ {
label: 'Facebook Group', label: 'Discord',
href: 'https://www.facebook.com/groups/typebot', href: 'https://typebot.io/discord',
}, },
{ {
label: 'Twitter', label: 'Twitter',

View File

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

View File

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

View File

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

View File

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