Skip to content

Commit

Permalink
docs(lp): 📝 Change SEO related info
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 17, 2022
1 parent d0ece4c commit 8ba231f
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 36 deletions.
6 changes: 2 additions & 4 deletions apps/landing-page/components/common/Navbar/NavMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useColorModeValue } from '@chakra-ui/react'
import { Variants } from 'framer-motion'
import * as React from 'react'
import { MotionBox, MotionBoxProps } from './MotionBox'
Expand All @@ -9,14 +8,13 @@ export const NavMenu = (props: MotionBoxProps) => (
variants={variants}
outline="0"
opacity="0"
bg={useColorModeValue('white', 'gray.800')}
bgGradient="linear(to-b, gray.900, gray.800)"
w="full"
shadow="lg"
px="4"
pos="absolute"
insetX="0"
pt="6"
pb="12"
py="12"
{...props}
/>
)
Expand Down
12 changes: 6 additions & 6 deletions apps/landing-page/components/common/SocialMetaTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import Head from 'next/head'
import React from 'react'

export const SocialMetaTags = ({
title,
description,
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,
imagePreviewUrl = 'https://www.typebot.io/images/preview.png',
}: {
title: string
description: string
title?: string
description?: string
currentUrl: string
imagePreviewUrl: string
imagePreviewUrl?: string
}) => (
<Head>
<title>{title}</title>
Expand Down
1 change: 1 addition & 0 deletions apps/landing-page/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const App = ({ Component, pageProps }: AppProps) => {
AOS.init({
easing: 'ease',
duration: 1000,
once: true,
})
}, [])

Expand Down
7 changes: 1 addition & 6 deletions apps/landing-page/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ import { Testimonials } from 'components/Homepage/Testimonials'
const App = () => {
return (
<Stack w="full" overflowX="hidden" bgColor="gray.900">
<SocialMetaTags
title="Typebot: Conversational Form Builder"
description="Convert 4x more with beautiful conversational forms. Embed them directly in your applications without a line of code."
currentUrl={`https://www.typebot.io/`}
imagePreviewUrl={`https://www.typebot.io/images/previews/home.png`}
/>
<SocialMetaTags currentUrl={`https://www.typebot.io/`} />
<Hero />
<IntroducingChatApps />
<EasyBuildingExperience />
Expand Down
9 changes: 1 addition & 8 deletions apps/landing-page/pages/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@ const Pricing = () => {
bgGradient="linear(to-b, gray.900, gray.800)"
pb={40}
>
<SocialMetaTags
title={'Pricing'}
description={
"99% of Typebot's features are available to all users for free."
}
currentUrl={`https://www.typebot.io/pricing`}
imagePreviewUrl={`https://www.typebot.io/images/previews/pricing.png`}
/>
<SocialMetaTags currentUrl={`https://www.typebot.io/pricing`} />
<Head>
<link
rel="alternate"
Expand Down
7 changes: 1 addition & 6 deletions apps/landing-page/pages/privacy-policies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ const PrivacyPolicies = () => {
return (
<div className="flex flex-col items-center w-full overflow-x-hidden ">
<Navbar />
<SocialMetaTags
title="Privacy Policies for Typebot"
description="Create beautiful conversational forms"
currentUrl={`https://www.typebot.io/privacy-policies`}
imagePreviewUrl={`https://www.typebot.io/images/previews/home.png`}
/>
<SocialMetaTags currentUrl={`https://www.typebot.io/privacy-policies`} />
<Stack spacing={10} mx="auto" maxW="3xl" my="20">
<Heading as="h1">Privacy Policy for Typebot</Heading>

Expand Down
7 changes: 1 addition & 6 deletions apps/landing-page/pages/terms-of-service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ import { SocialMetaTags } from 'components/common/SocialMetaTags'
const PrivacyPolicies = () => {
return (
<div className="flex flex-col items-center w-full overflow-x-hidden ">
<SocialMetaTags
title="Website Terms and Conditions of Use"
description="Create beautiful conversational forms"
currentUrl={`https://www.typebot.io/terms-of-service`}
imagePreviewUrl={`https://www.typebot.io/images/previews/home.png`}
/>
<SocialMetaTags currentUrl={`https://www.typebot.io/terms-of-service`} />
<Navbar />
<Stack spacing={10} mx="auto" maxW="3xl" my="20">
<Heading as="h1">Website Terms and Conditions of Use</Heading>
Expand Down
Binary file added apps/landing-page/public/images/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/landing-page/public/images/previews/blog.png
Binary file not shown.
Binary file not shown.
Binary file removed apps/landing-page/public/images/previews/home.png
Binary file not shown.
Binary file not shown.
Binary file removed apps/landing-page/public/images/previews/pricing.png
Binary file not shown.

0 comments on commit 8ba231f

Please sign in to comment.