Skip to content

Commit

Permalink
🔒 Revert ddos lockdown
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jun 19, 2023
1 parent 3e2c462 commit f1b643c
Show file tree
Hide file tree
Showing 25 changed files with 77 additions and 67 deletions.
36 changes: 18 additions & 18 deletions apps/builder/src/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ if (
})
)

// if (isNotEmpty(env('SMTP_FROM')) && process.env.SMTP_AUTH_DISABLED !== 'true')
// providers.push(
// EmailProvider({
// server: {
// host: process.env.SMTP_HOST,
// port: process.env.SMTP_PORT ? Number(process.env.SMTP_PORT) : 25,
// secure: process.env.SMTP_SECURE
// ? process.env.SMTP_SECURE === 'true'
// : false,
// auth: {
// user: process.env.SMTP_USERNAME,
// pass: process.env.SMTP_PASSWORD,
// },
// },
// from: env('SMTP_FROM'),
// sendVerificationRequest,
// })
// )
if (isNotEmpty(env('SMTP_FROM')) && process.env.SMTP_AUTH_DISABLED !== 'true')
providers.push(
EmailProvider({
server: {
host: process.env.SMTP_HOST,
port: process.env.SMTP_PORT ? Number(process.env.SMTP_PORT) : 25,
secure: process.env.SMTP_SECURE
? process.env.SMTP_SECURE === 'true'
: false,
auth: {
user: process.env.SMTP_USERNAME,
pass: process.env.SMTP_PASSWORD,
},
},
from: env('SMTP_FROM'),
sendVerificationRequest,
})
)

if (
isNotEmpty(process.env.GOOGLE_CLIENT_ID) &&
Expand Down
19 changes: 16 additions & 3 deletions apps/landing-page/components/Homepage/EasyBuildingExperience.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { Flex, Stack, Heading, Box, Text, Button } from '@chakra-ui/react'
import {
Flex,
Stack,
Heading,
Box,
Text,
Button,
Image,
} from '@chakra-ui/react'
import React from 'react'
import Image from 'next/image'
import { ArrowRight } from 'assets/icons/ArrowRight'
import { Flare } from 'assets/illustrations/Flare'
import Link from 'next/link'
Expand Down Expand Up @@ -50,7 +57,13 @@ export const EasyBuildingExperience = () => {
</Button>
</Flex>
</Stack>
<Box rounded="md" data-aos="fade"></Box>
<Box rounded="md" data-aos="fade">
<Image
src="https://s3.typebot.io/builder-dnd.png"
alt="incomplete results illustration"
placeholder="blur"
/>
</Box>
</Stack>
</Flex>
)
Expand Down
18 changes: 16 additions & 2 deletions apps/landing-page/components/Homepage/EasyEmbed.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { Flex, Stack, Heading, Box, Text, Button } from '@chakra-ui/react'
import {
Flex,
Stack,
Heading,
Box,
Text,
Button,
Image,
} from '@chakra-ui/react'
import React from 'react'
import Image from 'next/image'
import { ArrowRight } from 'assets/icons/ArrowRight'
import { Flare } from 'assets/illustrations/Flare'
import Link from 'next/link'
Expand Down Expand Up @@ -51,6 +58,13 @@ export const EasyEmbed = () => {
</Button>
</Flex>
</Stack>
<Box rounded="md" data-aos="fade">
<Image
src="https://s3.typebot.io/native-feeling.png"
alt="incomplete results illustration"
placeholder="blur"
/>
</Box>
</Stack>
</Flex>
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { Box, BoxProps } from '@chakra-ui/react'
import { Box, BoxProps, Image } from '@chakra-ui/react'
import React from 'react'
import Image from 'next/image'
import spotlightSrc from 'public/images/homepage/spotlight.png'

export const BackgroundSpotlight = (props: BoxProps) => (
<Box {...props}>
<Image src={spotlightSrc} alt="spotlight" />
<Image src="https://s3.typebot.io/spotlight.png" alt="spotlight" />
</Box>
)
8 changes: 4 additions & 4 deletions apps/landing-page/components/Homepage/Hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
Stack,
Text,
VStack,
Image,
} from '@chakra-ui/react'
import * as React from 'react'
import { Header } from '../../common/Header/Header'
import { BackgroundPolygons } from './BackgroundPolygons'
import * as Logos from './Brands'
import Image from 'next/image'
import Link from 'next/link'

export const Hero = () => {
Expand Down Expand Up @@ -93,12 +93,12 @@ export const Hero = () => {
data-aos="zoom-out-up"
data-aos-delay="800"
>
{/* <Image
src={builderScreenshotSrc}
<Image
src="https://s3.typebot.io/builder.png"
alt="Builder screenshot"
placeholder="blur"
style={{ borderRadius: '10px' }}
/> */}
/>
</Box>
</Box>
</VStack>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Avatar, Flex, HStack, Stack, Text } from '@chakra-ui/react'
import { Avatar, Flex, HStack, Stack, Text, Image } from '@chakra-ui/react'
import * as React from 'react'
import Image from 'next/image'
import { TestimonialData } from './Testimonials'
import {
CapterraIcon,
Expand Down Expand Up @@ -32,8 +31,8 @@ export const Testimonial = ({
src={avatarSrc}
alt={name}
placeholder="blur"
width={40}
height={40}
width="40px"
height="40px"
className="rounded-full"
/>
) : (
Expand Down
40 changes: 14 additions & 26 deletions apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
import { Flex, Heading, SimpleGrid, Stack, VStack } from '@chakra-ui/react'
import * as React from 'react'
import joshuaPictureSrc from 'public/images/homepage/joshua.jpg'
import julienPictureSrc from 'public/images/homepage/julien.jpeg'
import nicolaiPictureSrc from 'public/images/homepage/nicolai.jpg'
import annaFilouPictureSrc from 'public/images/homepage/annaFilou.jpeg'
import theoPictureSrc from 'public/images/homepage/theo.jpeg'
import abhayPictureSrc from 'public/images/homepage/abhay.jpeg'
import lucasPictureSrc from 'public/images/homepage/lucas.png'
import oscarPictureSrc from 'public/images/homepage/oscar.jpeg'
import invictuzPictureSrc from 'public/images/homepage/invictuz.png'
import laszloPictureSrc from 'public/images/homepage/laszlo.jpeg'
import kurniaPictureSrc from 'public/images/homepage/kurnia.jpeg'
import stevePictureSrc from 'public/images/homepage/steve.jpg'
import { Testimonial } from './Testimonial'
import { StaticImageData } from 'next/image'

export type TestimonialData = {
name: string
avatarSrc?: StaticImageData
avatarSrc?: string
provider: 'email' | 'productHunt' | 'capterra' | 'reddit'
role?: string
content: string | React.ReactNode
Expand All @@ -28,7 +15,7 @@ const testimonials: TestimonialData[][] = [
{
name: 'Joshua Lim',
role: 'Growth Strategist @ Socialhackrs Media',
avatarSrc: joshuaPictureSrc,
avatarSrc: 'https://s3.typebot.io/joshua.jpg',
provider: 'email',
content:
'I upgraded my typeforms to typebots and saw a conversion rate increase from 14% to 43% on my marketing campaigns. I noticed the improvement on day one. That was a game-changer.',
Expand All @@ -37,7 +24,7 @@ const testimonials: TestimonialData[][] = [
name: 'Laszlo Csömör',
role: 'Digital Marketing Expert',
provider: 'email',
avatarSrc: laszloPictureSrc,
avatarSrc: 'https://s3.typebot.io/laszlo.jpeg',
content: (
<>
Typebot is one of the best chatbot builders with its intelligent
Expand All @@ -53,6 +40,7 @@ const testimonials: TestimonialData[][] = [
name: 'Mario Barretta',
role: 'Customer Care Manager',
provider: 'email',
avatarSrc: 'https://s3.typebot.io/barretta.jpeg',
content: (
<>
Thanks to typebot I can finally make site forms much more modern and I
Expand All @@ -69,7 +57,7 @@ const testimonials: TestimonialData[][] = [
{
name: 'Lucas Barp',
provider: 'email',
avatarSrc: lucasPictureSrc,
avatarSrc: 'https://s3.typebot.io/lucas.png',
role: 'Founder at Barp Digital',
content:
'The result of your work is incredible and can make life easier for many people.',
Expand All @@ -87,29 +75,29 @@ const testimonials: TestimonialData[][] = [
name: 'Oscar',
role: 'CEO',
provider: 'capterra',
avatarSrc: oscarPictureSrc,
avatarSrc: 'https://s3.typebot.io/oscar.jpeg',
content:
'Within 5 minutes of signing up you can already have your bot running thanks to the templates it comes with. I have used many tools to make bots but none as simple, easy and powerful as Typebot.',
},
{
name: 'Julien Muratot',
role: 'Growth Manager @ Hornetwork',
avatarSrc: julienPictureSrc,
avatarSrc: 'https://s3.typebot.io/julien.jpeg',
provider: 'email',
content:
'I run Google ads all year long on our landing page that contains a typebot. I saw a 2x increase on our conversation rate compared to our old WordPress form.',
},
{
name: '_Invictuz',
provider: 'reddit',
avatarSrc: invictuzPictureSrc,
avatarSrc: 'https://s3.typebot.io/invictuz.png',
content:
"This is the sickest open-source project I've ever seen and demoed. The use case is so cool and modern and I can't believe how easy this is to get started using. The feature richness and polish in this project is incredible, it feel like a mature product. Unbelievable that this was built by one person. This is better than the demos of chatbot builders I've seen from full-fledged companies. I'm going to learn Typescript so that I can contribute to this someday. Mind-blowing stuff...",
},
{
name: 'Theo Marechal',
provider: 'productHunt',
avatarSrc: theoPictureSrc,
avatarSrc: 'https://s3.typebot.io/theo.jpeg',
role: 'Nocode expert and content creator',
content: (
<>
Expand All @@ -126,7 +114,7 @@ const testimonials: TestimonialData[][] = [
{
name: 'Abhay Kulkarni',
provider: 'productHunt',
avatarSrc: abhayPictureSrc,
avatarSrc: 'https://s3.typebot.io/abhay.jpeg',
role: 'Founder at Webisharp',
content:
'Using this tool for the last 2 hours & built a full lead capture bot. Pretty good experience till now. @baptiste_arnaud All the best for future :)',
Expand All @@ -136,7 +124,7 @@ const testimonials: TestimonialData[][] = [
{
name: 'Steve de Jong',
provider: 'email',
avatarSrc: stevePictureSrc,
avatarSrc: 'https://s3.typebot.io/steve.jpg',
role: 'CEO at Stillio',
content: (
<>
Expand Down Expand Up @@ -171,7 +159,7 @@ const testimonials: TestimonialData[][] = [
name: 'Kurnia Kwik',
role: 'Founder at DigitalPointer.ID',
provider: 'email',
avatarSrc: kurniaPictureSrc,
avatarSrc: 'https://s3.typebot.io/kurnia.jpeg',
content: (
<>
I have several chatbot builders, but Typebot is the one I use the
Expand All @@ -184,15 +172,15 @@ const testimonials: TestimonialData[][] = [
{
name: 'Nicolai Grut',
role: 'CEO @ EcommerceNotebook.com',
avatarSrc: nicolaiPictureSrc,
avatarSrc: 'https://s3.typebot.io/nicolai.jpg',
provider: 'email',
content:
'I am really loving using Typebot! So good. I have used all the top bots and yours is definitely the most user friendly, and yet still so powerful.',
},
{
name: 'Anna Filou',
provider: 'productHunt',
avatarSrc: annaFilouPictureSrc,
avatarSrc: 'https://s3.typebot.io/annaFilou.jpeg',
role: 'Geek, Designer, Illustrator, Web Dev',
content:
"Seems like the product I've been waiting for Typeform to make! 😝",
Expand Down
2 changes: 1 addition & 1 deletion apps/landing-page/components/common/SocialMetaTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const SocialMetaTags = ({
title = 'Typebot - Open-source conversational apps builder',
description = 'Powerful blocks to create unique chat experiences. Embed them anywhere on your apps and start collecting results like magic.',
currentUrl,
imagePreviewUrl = 'https://www.typebot.io/images/preview.png',
imagePreviewUrl = 'https://s3.typebot.io/preview.png',
}: {
title?: string
description?: string
Expand Down
6 changes: 2 additions & 4 deletions apps/landing-page/pages/about.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { Stack, Text, Box, Flex, Heading } from '@chakra-ui/react'
import { Stack, Text, Box, Flex, Heading, Image } from '@chakra-ui/react'
import { Header } from 'components/common/Header/Header'
import { SocialMetaTags } from 'components/common/SocialMetaTags'
import React from 'react'
import selfie from '../public/images/about/selfie.png'
import Image from 'next/image'
import { Footer } from 'components/common/Footer'
import { TextLink } from 'components/common/TextLink'

Expand All @@ -30,7 +28,7 @@ const AboutPage = () => {
</Text>
<Flex w="full" justify="center">
<Box as="figure" maxW="200px">
<Image src={selfie} alt="selfie" />
<Image src="https://s3.typebot.io/selfie.png" alt="selfie" />
</Box>
</Flex>

Expand Down
Binary file removed apps/landing-page/public/favicon.png
Binary file not shown.
Binary file removed apps/landing-page/public/images/about/selfie.png
Binary file not shown.
Binary file removed apps/landing-page/public/images/homepage/abhay.jpeg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed apps/landing-page/public/images/homepage/joshua.jpg
Binary file not shown.
Binary file removed apps/landing-page/public/images/homepage/julien.jpeg
Binary file not shown.
Binary file removed apps/landing-page/public/images/homepage/kurnia.jpeg
Binary file not shown.
Binary file not shown.
Binary file removed apps/landing-page/public/images/homepage/lucas.png
Binary file not shown.
Binary file not shown.
Binary file removed apps/landing-page/public/images/homepage/oscar.jpeg
Binary file not shown.
Binary file not shown.
Binary file removed apps/landing-page/public/images/homepage/theo.jpeg
Binary file not shown.
Binary file removed apps/landing-page/public/images/preview.png
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/viewer/src/components/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const SEO = ({
<link
rel="icon"
type="image/png"
href={favIconUrl ?? 'https://viewer.typebot.io/favicon.png'}
href={favIconUrl ?? 'https://s3.typebot.io/favicon.png'}
/>
<meta name="title" content={title ?? typebotName} />
<meta
Expand Down

4 comments on commit f1b643c

@vercel
Copy link

@vercel vercel bot commented on f1b643c Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs.typebot.io
docs-typebot-io.vercel.app
docs-git-main-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on f1b643c Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app
app.typebot.io

@vercel
Copy link

@vercel vercel bot commented on f1b643c Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

viewer-v2 – ./apps/viewer

bii.bj
1stop.au
wasap.nl
yobot.me
klujo.com
me.cr8.ai
wachat.io
wassep.io
247987.com
8jours.top
aginap.com
ai.mprs.in
bee.cr8.ai
bot.aws.bj
bot.bbc.bj
cat.cr8.ai
finplex.be
jxi.cr8.ai
nepkit.com
pig.cr8.ai
sat.cr8.ai
wachats.me
wsapio.com
blogely.com
bot.aipr.kr
bot.joof.it
bot.kloo.me
bull.cr8.ai
docs.cr8.ai
getyour.sbs
icon.cr8.ai
minipost.uk
mole.cr8.ai
team.cr8.ai
wolf.cr8.ai
ai.meant.com
bet7k.online
bot.afric.ai
bot.grace.bj
cinecorn.com
gniorder.com
help.taxt.co
kusamint.com
rhino.cr8.ai
sheep.cr8.ai
snake.cr8.ai
svhm.mprs.in
tiger.cr8.ai
video.cr8.ai
yoda.riku.ai
zebra.cr8.ai
bemestar.club
bergamo.store
bot.krdfy.com
bot.tvbeat.it
cgcassets.com
cnvhub.com.br
facelabko.com
filmylogy.com
goldorayo.com
desabafe.sergiolimajr.com.br
download.venturemarketing.in
open.campus.aalen.university
piazzatorre.barrettamario.it
poll.mosaicohairboutique.com
type.cookieacademyonline.com
upload.atlasoutfittersk9.com
bot.brigadeirosemdrama.com.br
tuttirecepcao.fratucci.com.br
forms.escoladeautomacao.com.br
onboarding.libertydreamcare.ie
recepcao.tutti.fratucci.com.br
type.talitasouzamarques.com.br
agendamento.sergiolimajr.com.br
anamnese.clinicamegasjdr.com.br
bookings.littlepartymonkeys.com
bot.comercializadoraomicron.com
elevateyourmind.groovepages.com
viewer-v2-typebot-io.vercel.app
yourfeedback.comebackreward.com
baleia.testeeventos.progenbr.com
bot.cabin-rentals-of-georgia.net
chat.portaloficialautorizado.com
open.campus.bot.aalen.university
sondaggio.mosaicohairboutique.it
baleia.testegabinete.progenbr.com
gerador.verificadordehospedes.com
personal-trainer.barrettamario.it
sondaggio.mosaicohairboutique.com
preagendamento.sergiolimajr.com.br
studiotecnicoimmobiliaremerelli.it
download.thailandmicespecialist.com
register.thailandmicespecialist.com
bot.studiotecnicoimmobiliaremerelli.it
pesquisa.escolamodacomproposito.com.br
anamnese.clinicaramosodontologia.com.br
gabinete.baleia.formulario.progenbr.com
chrome-os-inquiry-system.itschromeos.com
viewer-v2-git-main-typebot-io.vercel.app
main-menu-for-itschromeos.itschromeos.com

@vercel
Copy link

@vercel vercel bot commented on f1b643c Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.