posthog.com icon indicating copy to clipboard operation
posthog.com copied to clipboard

Add mobile libraries section to session page

Open joethreepwood opened this issue 1 year ago • 4 comments

Changes

Now that we've got mobile replays in a better place, i feel like we can emphasize this better on the product page. I put together a quick section for it, but then when I try to add links into the subfeature desc it breaks like this:

Screenshot 2024-09-26 at 14 51 21

I could look at making the subfeature component support links, but when i've tried to do that it's broken. Soooo, parking this here for W&D to consider and maybe help with? 🤞

Checklist

  • [ ] Words are spelled using American English
  • [ ] Titles are in sentence case
  • [ ] Feature names are in sentence case too
  • [ ] Use relative URLs for internal links
  • [ ] If I moved a page, I added a redirect in vercel.json
  • [ ] Remove this template if you're not going to fill it out!

Article checklist

  • [ ] I've added (at least) 3-5 internal links to this new article
  • [ ] I've added keywords for this page to the rank tracker in Ahrefs
  • [ ] I've checked the preview build of the article
  • [ ] The date on the article is today's date
  • [ ] I've added this to the relevant "Tutorials and guides" docs page (if applicable)

Useful resources

joethreepwood avatar Sep 26 '24 13:09 joethreepwood

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog ✅ Ready (Inspect) Visit Preview Oct 1, 2024 8:31am

vercel[bot] avatar Sep 26 '24 13:09 vercel[bot]

@smallbrownbike can you redeploy vercel so we can check the preview? thanks.

marandaneto avatar Sep 27 '24 08:09 marandaneto

Screenshot 2024-10-01 at 10 35 11

@joethreepwood something did not work here.

marandaneto avatar Oct 01 '24 08:10 marandaneto

@marandaneto Yeah, as I noted in the top comment 🤣

It's because I'm trying to use links (to the docs) in the <subfeature> component, which doesn't support them currently. I wasn't able to fix this quickly, so I think it needs a bit of @corywatilo / @smallbrownbike attention to fix or close.

                            <Subfeature
                                title="Mobile"
                                description={
                                    <>
                                        Replays supported on <a href="/docs/libraries/android">Android</a>,
                                        <a href="/docs/libraries/ios"> iOS</a>,
                                        <a href="/docs/libraries/react-native"> React Native</a>,
                                        <a href="/docs/libraries/flutter"> Flutter</a>, and more.
                                    </>
                                }
                            />

Copy and design is there, just the links that don't work. I imagine W&D will have some better ideas for achieving this though anyway!

joethreepwood avatar Oct 01 '24 08:10 joethreepwood

This is duplicated in https://github.com/PostHog/posthog.com/pull/9778

joethreepwood avatar Nov 26 '24 14:11 joethreepwood