diff --git a/apps/builder/src/pages/api/auth/[...nextauth].ts b/apps/builder/src/pages/api/auth/[...nextauth].ts index 37503fae6..ebd57ffd7 100644 --- a/apps/builder/src/pages/api/auth/[...nextauth].ts +++ b/apps/builder/src/pages/api/auth/[...nextauth].ts @@ -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) && diff --git a/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx b/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx index 539e00020..4c85aa08f 100644 --- a/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx +++ b/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx @@ -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' @@ -50,7 +57,13 @@ export const EasyBuildingExperience = () => { - + + incomplete results illustration + ) diff --git a/apps/landing-page/components/Homepage/EasyEmbed.tsx b/apps/landing-page/components/Homepage/EasyEmbed.tsx index f16ff1ae9..bd3847815 100644 --- a/apps/landing-page/components/Homepage/EasyEmbed.tsx +++ b/apps/landing-page/components/Homepage/EasyEmbed.tsx @@ -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' @@ -51,6 +58,13 @@ export const EasyEmbed = () => { + + incomplete results illustration + ) diff --git a/apps/landing-page/components/Homepage/Hero/BackgroundSpotlight.tsx b/apps/landing-page/components/Homepage/Hero/BackgroundSpotlight.tsx index 4f05357ff..88b254003 100644 --- a/apps/landing-page/components/Homepage/Hero/BackgroundSpotlight.tsx +++ b/apps/landing-page/components/Homepage/Hero/BackgroundSpotlight.tsx @@ -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) => ( - spotlight + spotlight ) diff --git a/apps/landing-page/components/Homepage/Hero/Hero.tsx b/apps/landing-page/components/Homepage/Hero/Hero.tsx index 5b52ac244..2a49812eb 100755 --- a/apps/landing-page/components/Homepage/Hero/Hero.tsx +++ b/apps/landing-page/components/Homepage/Hero/Hero.tsx @@ -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 = () => { @@ -93,12 +93,12 @@ export const Hero = () => { data-aos="zoom-out-up" data-aos-delay="800" > - {/* Builder screenshot */} + /> diff --git a/apps/landing-page/components/Homepage/Testimonials/Testimonial.tsx b/apps/landing-page/components/Homepage/Testimonials/Testimonial.tsx index fa2a1f2f2..32930d930 100755 --- a/apps/landing-page/components/Homepage/Testimonials/Testimonial.tsx +++ b/apps/landing-page/components/Homepage/Testimonials/Testimonial.tsx @@ -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, @@ -32,8 +31,8 @@ export const Testimonial = ({ src={avatarSrc} alt={name} placeholder="blur" - width={40} - height={40} + width="40px" + height="40px" className="rounded-full" /> ) : ( diff --git a/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx b/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx index 2622e0bf5..1fd83aab0 100755 --- a/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx +++ b/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx @@ -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 @@ -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.', @@ -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 @@ -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 @@ -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.', @@ -87,14 +75,14 @@ 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.', @@ -102,14 +90,14 @@ const testimonials: TestimonialData[][] = [ { 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: ( <> @@ -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 :)', @@ -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: ( <> @@ -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 @@ -184,7 +172,7 @@ 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.', @@ -192,7 +180,7 @@ const testimonials: TestimonialData[][] = [ { 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! 😝", diff --git a/apps/landing-page/components/common/SocialMetaTags.tsx b/apps/landing-page/components/common/SocialMetaTags.tsx index 7d172bf54..2b2251c98 100644 --- a/apps/landing-page/components/common/SocialMetaTags.tsx +++ b/apps/landing-page/components/common/SocialMetaTags.tsx @@ -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 diff --git a/apps/landing-page/pages/about.tsx b/apps/landing-page/pages/about.tsx index 9884037ca..6771d6d05 100644 --- a/apps/landing-page/pages/about.tsx +++ b/apps/landing-page/pages/about.tsx @@ -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' @@ -30,7 +28,7 @@ const AboutPage = () => { - selfie + selfie diff --git a/apps/landing-page/public/favicon.png b/apps/landing-page/public/favicon.png deleted file mode 100644 index 214afed84..000000000 Binary files a/apps/landing-page/public/favicon.png and /dev/null differ diff --git a/apps/landing-page/public/images/about/selfie.png b/apps/landing-page/public/images/about/selfie.png deleted file mode 100644 index e22616854..000000000 Binary files a/apps/landing-page/public/images/about/selfie.png and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/abhay.jpeg b/apps/landing-page/public/images/homepage/abhay.jpeg deleted file mode 100644 index a01436cc0..000000000 Binary files a/apps/landing-page/public/images/homepage/abhay.jpeg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/annaFilou.jpeg b/apps/landing-page/public/images/homepage/annaFilou.jpeg deleted file mode 100644 index c5e4178c7..000000000 Binary files a/apps/landing-page/public/images/homepage/annaFilou.jpeg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/invictuz.png b/apps/landing-page/public/images/homepage/invictuz.png deleted file mode 100644 index b25cac56e..000000000 Binary files a/apps/landing-page/public/images/homepage/invictuz.png and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/joshua.jpg b/apps/landing-page/public/images/homepage/joshua.jpg deleted file mode 100644 index d8e03d7d4..000000000 Binary files a/apps/landing-page/public/images/homepage/joshua.jpg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/julien.jpeg b/apps/landing-page/public/images/homepage/julien.jpeg deleted file mode 100644 index d07db4bcc..000000000 Binary files a/apps/landing-page/public/images/homepage/julien.jpeg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/kurnia.jpeg b/apps/landing-page/public/images/homepage/kurnia.jpeg deleted file mode 100644 index dcdd5e8e1..000000000 Binary files a/apps/landing-page/public/images/homepage/kurnia.jpeg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/laszlo.jpeg b/apps/landing-page/public/images/homepage/laszlo.jpeg deleted file mode 100644 index af9c915c2..000000000 Binary files a/apps/landing-page/public/images/homepage/laszlo.jpeg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/lucas.png b/apps/landing-page/public/images/homepage/lucas.png deleted file mode 100644 index f4eccfabf..000000000 Binary files a/apps/landing-page/public/images/homepage/lucas.png and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/nicolai.jpg b/apps/landing-page/public/images/homepage/nicolai.jpg deleted file mode 100644 index c14c34507..000000000 Binary files a/apps/landing-page/public/images/homepage/nicolai.jpg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/oscar.jpeg b/apps/landing-page/public/images/homepage/oscar.jpeg deleted file mode 100644 index 6ad8ab940..000000000 Binary files a/apps/landing-page/public/images/homepage/oscar.jpeg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/steve.jpg b/apps/landing-page/public/images/homepage/steve.jpg deleted file mode 100644 index f7c735aa6..000000000 Binary files a/apps/landing-page/public/images/homepage/steve.jpg and /dev/null differ diff --git a/apps/landing-page/public/images/homepage/theo.jpeg b/apps/landing-page/public/images/homepage/theo.jpeg deleted file mode 100644 index ab9587dfe..000000000 Binary files a/apps/landing-page/public/images/homepage/theo.jpeg and /dev/null differ diff --git a/apps/landing-page/public/images/preview.png b/apps/landing-page/public/images/preview.png deleted file mode 100644 index 762c3e65f..000000000 Binary files a/apps/landing-page/public/images/preview.png and /dev/null differ diff --git a/apps/viewer/src/components/Seo.tsx b/apps/viewer/src/components/Seo.tsx index 96a95f7df..6594abd78 100644 --- a/apps/viewer/src/components/Seo.tsx +++ b/apps/viewer/src/components/Seo.tsx @@ -23,7 +23,7 @@ export const SEO = ({