mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-25 10:30:30 -06:00
waitlist update + fix blog link
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Head from "next/head";
|
||||
import { Card } from "@/components/shared/Card";
|
||||
import Link from "next/link";
|
||||
import Layout from "@/components/shared/Layout";
|
||||
import { getAllArticles } from "@/lib/articles";
|
||||
import { formatDate } from "@/lib/utils";
|
||||
@@ -8,14 +9,16 @@ import HeroTitle from "@/components/shared/HeroTitle";
|
||||
function Article({ article }: any) {
|
||||
return (
|
||||
<article className="md:grid md:grid-cols-4 md:items-baseline">
|
||||
<Card className="md:col-span-3">
|
||||
<Card.Title href={`/blog/${article.slug}`}>{article.title}</Card.Title>
|
||||
<Card.Eyebrow as="time" dateTime={article.date} className="md:hidden" decorate>
|
||||
{formatDate(article.date)}
|
||||
</Card.Eyebrow>
|
||||
<Card.Description>{article.description}</Card.Description>
|
||||
<Card.Cta>Read article</Card.Cta>
|
||||
</Card>
|
||||
<Link href={`/blog/${article.slug}`} className="md:col-span-3">
|
||||
<Card className>
|
||||
<Card.Title href={`/blog/${article.slug}`}>{article.title}</Card.Title>
|
||||
<Card.Eyebrow as="time" dateTime={article.date} className="md:hidden" decorate>
|
||||
{formatDate(article.date)}
|
||||
</Card.Eyebrow>
|
||||
<Card.Description>{article.description}</Card.Description>
|
||||
<Card.Cta>Read article</Card.Cta>
|
||||
</Card>
|
||||
</Link>
|
||||
<Card.Eyebrow as="time" dateTime={article.date} className="mt-1 hidden md:block">
|
||||
{formatDate(article.date)}
|
||||
</Card.Eyebrow>
|
||||
|
||||
@@ -52,7 +52,7 @@ const WaitlistPage = () => (
|
||||
process.env.NODE_ENV === "production" ? "https://app.formbricks.com" : "http://localhost:3000"
|
||||
}
|
||||
formId={
|
||||
process.env.NODE_ENV === "production" ? "cld37mt2i0000ld08p9q572bc" : "cld1q32h7000619twdt9ykqza"
|
||||
process.env.NODE_ENV === "production" ? "cld37mt2i0000ld08p9q572bc" : "cld2xwo2r000cu0mdkju2nj96"
|
||||
}
|
||||
survey={{
|
||||
config: {
|
||||
@@ -102,6 +102,23 @@ const WaitlistPage = () => (
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "emailPage",
|
||||
elements: [
|
||||
{
|
||||
id: "email",
|
||||
type: "text",
|
||||
label: "What's your email?",
|
||||
name: "email",
|
||||
frontend: {
|
||||
required: true,
|
||||
type: "email",
|
||||
placeholder: "email@example.com",
|
||||
},
|
||||
component: Input,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "featureSelectionPage",
|
||||
elements: [
|
||||
@@ -203,23 +220,6 @@ const WaitlistPage = () => (
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "emailPage",
|
||||
elements: [
|
||||
{
|
||||
id: "email",
|
||||
type: "text",
|
||||
label: "What's your email?",
|
||||
name: "email",
|
||||
frontend: {
|
||||
required: true,
|
||||
type: "email",
|
||||
placeholder: "email@example.com",
|
||||
},
|
||||
component: Input,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "wauPage",
|
||||
config: {
|
||||
|
||||
BIN
apps/formbricks-com/public/animations/xm-hero-fallback.png
Normal file
BIN
apps/formbricks-com/public/animations/xm-hero-fallback.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Reference in New Issue
Block a user