diff --git a/contents/_includes/session-replay/comparison-table.mdx b/contents/_includes/session-replay/comparison-table.mdx index 6f1992c8832b..aa778cb56a0d 100644 --- a/contents/_includes/session-replay/comparison-table.mdx +++ b/contents/_includes/session-replay/comparison-table.mdx @@ -23,22 +23,22 @@ Free plan - + - + - + - + @@ -46,22 +46,22 @@ Open source - - + + - - + + - + - + @@ -69,22 +69,22 @@ Cloud hosting - + - + - + - + @@ -92,22 +92,22 @@ Product analytics - - + + - + - + - + @@ -124,22 +124,22 @@ Single-page app support - + - + - + - + @@ -147,22 +147,22 @@ iOS recordings - - + + - + - - + + - + @@ -170,45 +170,45 @@ Android recordings - - + + - + - - + + - - + + Identity detection - - + + - + - + - + @@ -216,22 +216,22 @@ Target recordings by URL - + - + - + - + @@ -239,22 +239,22 @@ Target by sample size - + - - + + - + - + @@ -262,22 +262,22 @@ Filter recordings by user or event - + - + - + - + @@ -285,22 +285,22 @@ Rage-click detection - + - + - - + + - + @@ -308,22 +308,22 @@ Privacy masking for sensitive content - + - + - + - + @@ -331,22 +331,22 @@ Export recordings - + - - + + - + - + diff --git a/contents/ab-testing.mdx b/contents/ab-testing.mdx index 642aadf4b3b2..0e74c7d199b6 100644 --- a/contents/ab-testing.mdx +++ b/contents/ab-testing.mdx @@ -139,9 +139,6 @@ productMenuItems: [ "Documentation", "Roadmap" ] -productDocumentation: { - image: ./images/products/ab-testing.png -} --- diff --git a/contents/feature-flags.mdx b/contents/feature-flags.mdx index da5b6345f6d8..667cd2328e2a 100644 --- a/contents/feature-flags.mdx +++ b/contents/feature-flags.mdx @@ -1,6 +1,6 @@ --- title: Feature flags -subtitle:

Safely roll out features to select users or cohorts

+subtitle: Safely roll out features to select users or cohorts. productHero: { image: ./images/products/feature-flags.png } @@ -142,7 +142,7 @@ productPairsWith: [ url: '/product-analytics' }, { - icon: 'UserPaths', + icon: 'PathAnalysis', title: 'Product analytics: User paths', description: 'See how a flag’s value influenced an intended outcome', url: '/product-analytics/#user-paths' diff --git a/contents/images/products/session-recording-hogflix.png b/contents/images/products/session-replay/session-replay.png similarity index 100% rename from contents/images/products/session-recording-hogflix.png rename to contents/images/products/session-replay/session-replay.png diff --git a/contents/product-os.mdx b/contents/product-os.mdx index e6dd0d7d1946..df8a4ceaeb47 100644 --- a/contents/product-os.mdx +++ b/contents/product-os.mdx @@ -1,6 +1,6 @@ --- title: Customer data infrastructure -subtitle: Product OS is the foundation that all PostHog products are built on. +subtitle: Product OS is the foundation that all PostHog products are built on. template: product productFeatures: [ { @@ -142,7 +142,7 @@ productMainCTA: { title: Try PostHog, url: https://app.posthog.com/signup, subtitle: "First 1,000,000 events/mo are free.", - image: ./images/products/session-recording.png + image: ./images/products/hogs/event-pipelines.png } productPricingCTA: { title: View pricing, diff --git a/contents/session-replay.mdx b/contents/session-replay.mdx index e08117d104b9..d7516636d959 100644 --- a/contents/session-replay.mdx +++ b/contents/session-replay.mdx @@ -3,7 +3,7 @@ title: Session replay subtitle: Watch recordings of visitors using your product or website. template: product productHero: { - image: ./images/products/feature-flags.png, + image: ./images/products/session-replay/session-replay.png, } productFeatures: [ { diff --git a/src/components/Icons/Icons.tsx b/src/components/Icons/Icons.tsx index c48a46ffdc7c..dbb6d5b8b09c 100644 --- a/src/components/Icons/Icons.tsx +++ b/src/components/Icons/Icons.tsx @@ -477,6 +477,26 @@ export const Close = ({ className = '', opacity = '0.4' }: React.SVGProps { + return ( + + + + ) +} + export const Lightning = ({ className = '' }: { className: string }): JSX.Element => { return ( 0 && ( -

{title}

-
    - {posts.map((post: any) => { - const { - node: { - id, - frontmatter: { date, title, featuredImage, authors, category }, - fields: { slug }, - }, - } = post +
    +

    {title}

    +
      + {posts.map((post: any) => { + const { + node: { + id, + frontmatter: { date, title, featuredImage, authors, category }, + fields: { slug }, + }, + } = post - return ( -
    • - -
    • - ) - })} -
    + return ( +
  • + +
  • + ) + })} +
+ ) ) diff --git a/src/components/ProductLayout/Documentation.tsx b/src/components/ProductLayout/Documentation.tsx index 15e2955967ca..3898ceed3d18 100644 --- a/src/components/ProductLayout/Documentation.tsx +++ b/src/components/ProductLayout/Documentation.tsx @@ -5,79 +5,77 @@ import { CallToAction } from 'components/CallToAction' import Link from 'components/Link' import { IDocumentation } from './types' -export default function Documentation({ documentation, title, image, tutorials }: IDocumentation) { +export default function Documentation({ documentation, title, tutorials }: IDocumentation) { const slugger = new GithubSlugger() - const gatsbyImage = image && getImage(image) return ( - <> +

Docs & resources

Visit docs
-
-
-

{title} docs

-
    - {documentation?.pages?.map(({ frontmatter, fields, headings }: any, index: number) => { - const slug = fields?.slug - return ( -
  • - {index + 1}. -
    - -
    {frontmatter.title}
    - -
      - {headings - .filter(({ depth }: any) => depth <= 3) - .slice(0, 3) - .map(({ value }: any) => { - const id = slugger.slug(value) - return ( -
    • - - {value} - -
    • - ) - })} -
    -
    -
  • - ) - })} -
-
-
- {gatsbyImage && ( -
- {gatsbyImage && } -
- )} -

Tutorials

-
    - {tutorials.map(({ frontmatter, fields }: any) => { - const title = frontmatter?.title - const slug = fields?.slug - return ( -
  • - - {title} +
    +

    {title} docs

    +
      + {documentation?.pages?.map(({ frontmatter, fields, headings }: any, index: number) => { + const slug = fields?.slug + return ( +
    • + {index + 1}. +
      + +
      {frontmatter.title}
      -
    • - ) - })} -
    -
    +
      + {headings + .filter(({ depth }: any) => depth <= 3) + .slice(0, 3) + .map(({ value }: any) => { + const id = slugger.slug(value) + return ( +
    • + + {value} + +
    • + ) + })} +
    +
+ + ) + })} +
- +
+

Tutorials

+
    + {tutorials.map(({ frontmatter, fields }: any) => { + const title = frontmatter?.title + const slug = fields?.slug + return ( +
  • + + {title} + +
  • + ) + })} +
+
+
) } diff --git a/src/components/ProductLayout/Footer.tsx b/src/components/ProductLayout/Footer.tsx index a740891859b6..9838bf2d15e2 100644 --- a/src/components/ProductLayout/Footer.tsx +++ b/src/components/ProductLayout/Footer.tsx @@ -157,6 +157,7 @@ const slides = [ objectFit="contain" alt="" src="./images/hogs/warehouse-sync.png" + className="max-h-[300px]" /> ), }, @@ -195,7 +196,7 @@ export default function Footer({ title }: IFooter) { Now that you know PostHog does {title.toLowerCase()}, check out what else PostHog can do.