From c5ee94097172e56e30c1b213457aaf4e46c30fbf Mon Sep 17 00:00:00 2001 From: Cory Watilo Date: Mon, 27 Mar 2023 23:39:52 -0400 Subject: [PATCH 1/3] fix X icon sizing --- .../session-replay/comparison-table.mdx | 136 +++++++++--------- src/components/Icons/Icons.tsx | 20 +++ src/templates/Product.tsx | 6 +- 3 files changed, 91 insertions(+), 71 deletions(-) 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/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 ( -const Close = (props: any) => +const Close2 = (props: any) => export default function Product({ data, location, pageContext }) { const { pageData, blogPosts, documentation, tutorials } = data @@ -58,7 +58,7 @@ export default function Product({ data, location, pageContext }) { Sections: (props: any) => , Testimonial: (props: any) => , Check, - Close, + Close2, Comparison: (props: any) => ( ), From 28561e2000ac503262c8af269e503bab41bee5dc Mon Sep 17 00:00:00 2001 From: Cory Watilo Date: Tue, 28 Mar 2023 09:02:07 -0400 Subject: [PATCH 2/3] small bits --- contents/feature-flags.mdx | 4 ++-- .../session-replay.png} | Bin contents/product-os.mdx | 2 +- contents/session-replay.mdx | 2 +- src/components/ProductLayout/Footer.tsx | 3 ++- src/components/ProductLayout/Hero.tsx | 6 ++++-- src/components/ProductLayout/Testimonial.tsx | 2 +- 7 files changed, 11 insertions(+), 8 deletions(-) rename contents/images/products/{session-recording-hogflix.png => session-replay/session-replay.png} (100%) 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..9c1cc12fa190 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: [ { 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/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.