Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(web): wrap showcase feature headings in block elements
Richie McIlroy8cbc1dab28e1
diff --git a/apps/web/components/pages/HomeTwo/showcase/platforms.tsx b/apps/web/components/pages/HomeTwo/showcase/platforms.tsxindex 1ba12ab38..dace623af 100644--- a/apps/web/components/pages/HomeTwo/showcase/platforms.tsx+++ b/apps/web/components/pages/HomeTwo/showcase/platforms.tsx@@ -139,14 +139,14 @@ export const PlatformsSection = () => {/><ArrowUpRight className="size-4 text-[rgba(17,17,17,0.4)] transition-colors group-hover:text-[#111111]" /></span>- <span className="mt-8 block">+ <div className="mt-8"><h3 className="block text-[18px] font-normal tracking-[-0.02em] text-[#111111]">Chrome extension</h3><span className="mt-1 block text-[14.5px] text-[rgba(17,17,17,0.64)]">Record a tab or your whole screen without leaving the browser.</span>- </span>+ </div></Link><Linkhref="/docs"@@ -155,12 +155,12 @@ export const PlatformsSection = () => {"group transition-shadow duration-200 hover:shadow-[0_0_0_1px_rgba(17,17,17,0.12)]",)}>- <span className="flex items-start justify-between">+ <div className="flex items-start justify-between"><h3 className="block text-[18px] font-normal tracking-[-0.02em] text-[#111111]">Built for developers</h3><ArrowUpRight className="size-4 text-[rgba(17,17,17,0.4)] transition-colors group-hover:text-[#111111]" />- </span>+ </div><span className="mt-1 block text-[14.5px] text-[rgba(17,17,17,0.64)]">Record, export, and publish from the terminal, the API, or the MCPserver.diff --git a/apps/web/components/pages/HomeTwo/showcase/split.tsx b/apps/web/components/pages/HomeTwo/showcase/split.tsxindex 4ae238116..8cfd5911d 100644--- a/apps/web/components/pages/HomeTwo/showcase/split.tsx+++ b/apps/web/components/pages/HomeTwo/showcase/split.tsx@@ -3,7 +3,6 @@ import type { ReactNode } from "react";import { BODY_TEXT, H_SECTION } from "../theme";import { type Detail, DetailIcon, type Tone, toneVars } from "./layout";-/** Text on one side, one visual on the other. */export const SplitSection = ({anchor,title,@@ -17,7 +16,6 @@ export const SplitSection = ({}: {tone?: Tone;badge?: ReactNode;- /** Scroll target id. */anchor?: string;title: ReactNode;lede: ReactNode;@@ -60,12 +58,12 @@ export const SplitSection = ({{item.icon ? (<DetailIcon className="-mt-0.5">{item.icon}</DetailIcon>) : null}- <span>+ <div><h3 className="m-0 inline text-[length:inherit] font-medium leading-[inherit] tracking-normal text-[#111111]">{item.lead}</h3>{" "}{item.body}- </span>+ </div></li>))}</ul>