Skip to content

Commit

Permalink
fix: tweak above the fold wording (#1839)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobenjada committed Dec 29, 2023
1 parent 08bdc72 commit ae530d7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
45 changes: 25 additions & 20 deletions apps/formbricks-com/components/home/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import FlixbusLogo from "@/images/clients/flixbus-white.svg";
import NILogoDark from "@/images/clients/niLogoDark.svg";
import NILogoLight from "@/images/clients/niLogoWhite.svg";
import AnimationFallback from "@/public/animations/opensource-xm-platform-formbricks-fallback.png";
import { ChevronRightIcon } from "@heroicons/react/24/outline";
import { ShieldCheckIcon, StarIcon } from "@heroicons/react/24/outline";
import { usePlausible } from "next-plausible";
import Image from "next/image";
import { useRouter } from "next/router";
Expand All @@ -21,26 +21,31 @@ export const Hero: React.FC = ({}) => {
return (
<div className="relative">
<div className="px-4 pb-20 pt-16 text-center sm:px-6 lg:px-8 lg:pb-32 lg:pt-20">
<a
href="https://formbricks.com/github"
target="_blank"
className="border-brand-dark xs:text-sm animate-bounce rounded-full border px-4 py-1.5 text-xs text-slate-500 hover:bg-slate-100 dark:text-slate-300 dark:hover:bg-slate-800">
We&apos;re Open Source - Star us on GitHub
<ChevronRightIcon className="mb-1 ml-1 inline h-4 w-4 text-slate-300" />
</a>
<div className="xs:text-sm flex items-center justify-center space-x-4 divide-x-2 text-xs text-slate-600">
<p>
<ShieldCheckIcon className="mb-1 inline h-4 w-4" /> Privacy-first
</p>
<a href="https://formbricks.com/github" target="_blank" className="hover:text-slate-800">
<StarIcon className="mb-1 ml-3 mr-1 inline h-4 w-4" />
Star us on GitHub
</a>
</div>
<h1 className="mt-10 text-3xl font-bold tracking-tight text-slate-800 sm:text-4xl md:text-5xl dark:text-slate-200">
<span className="xl:inline">Privacy-first Experience Management</span>
<span className="xl:inline">
Turn customer insights
<br />
into irresistible experiences
</span>
</h1>

<p className="xs:max-w-none mx-auto mt-3 max-w-xs text-base text-slate-500 sm:text-lg md:mt-5 md:text-xl dark:text-slate-400">
Turn customer insights into irresistible experiences —{" "}
<span className="decoration-brand-dark underline underline-offset-4">all privacy-first.</span>
<p className="xs:max-w-none mx-auto mt-3 max-w-xs text-balance text-base text-slate-500 sm:text-lg md:mt-5 md:text-xl dark:text-slate-400">
Formbricks is an Experience Management Suite built on the largest open source survey stack
worldwide. Gracefully gather feedback at every step of the customer journey to{" "}
<span className="decoration-brand-dark underline underline-offset-4">
know what your customers need.
</span>
</p>

<div className="mx-auto mt-5 max-w-2xl items-center px-4 sm:flex sm:justify-center md:mt-6 md:space-x-8 md:px-0">
<p className="hidden whitespace-nowrap pt-3 text-xs text-slate-400 md:block dark:text-slate-500">
Trusted by
</p>
<div className="grid grid-cols-4 items-center gap-6 pt-2 md:gap-8">
<Image
src={FlixbusLogo}
Expand Down Expand Up @@ -86,22 +91,22 @@ export const Hero: React.FC = ({}) => {
/>
</div>
</div>
<div className="hidden pt-10 md:block">
<div className="hidden pt-14 md:block">
<Button
variant="highlight"
className="mr-3 px-6"
onClick={() => {
router.push("https://app.formbricks.com/auth/signup");
plausible("Hero_CTA_CreateSurvey");
plausible("Hero_CTA_GetStartedItsFree");
}}>
Get started
Get Started, it&apos;s Free
</Button>
<Button
variant="secondary"
className="px-6"
onClick={() => {
router.push("https://formbricks.com/github");
/* plausible("Hero_CTA_LaunchDemo"); */
plausible("Hero_CTA_ViewGitHub");
}}>
View Code on GitHub
</Button>
Expand Down
8 changes: 4 additions & 4 deletions apps/formbricks-com/components/shared/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ export default function Header() {
Pricing
</Link>
<Link
href="/concierge"
href="/community"
className="text-sm font-medium text-slate-400 hover:text-slate-700 lg:text-base dark:hover:text-slate-300">
Concierge
Community
</Link>
<Link
href="/docs"
Expand Down Expand Up @@ -331,7 +331,7 @@ export default function Header() {
router.push("https://app.formbricks.com");
plausible("NavBar_CTA_Login");
}}>
Go to app
Get started
</Button>
</div>
</div>
Expand Down Expand Up @@ -391,7 +391,7 @@ export default function Header() {
<hr className="mx-20 my-6 opacity-25" />
</div>
)}
<Link href="/concierge">Concierge</Link>
<Link href="/community">Community</Link>
<Link href="/pricing">Pricing</Link>
<Link href="/docs">Docs</Link>
<Link href="/blog">Blog</Link>
Expand Down

2 comments on commit ae530d7

@vercel
Copy link

@vercel vercel bot commented on ae530d7 Dec 29, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on ae530d7 Dec 29, 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:

formbricks-com – ./apps/formbricks-com

formbricks-com-formbricks.vercel.app
formbricks.com
formbricks-com.vercel.app
www.formbricks.com
formbricks-com-git-main-formbricks.vercel.app

Please sign in to comment.