Skip to content

Commit 0215d55

Browse files
committed
fix(docs): drop focus ring on lightbox media to match original UI
1 parent b6b41c0 commit 0215d55

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

apps/docs/components/ui/image.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ export function Image({
2525
<NextImage
2626
className={cn(
2727
'overflow-hidden rounded-xl border border-border object-cover',
28-
enableLightbox &&
29-
'cursor-pointer transition-opacity group-hover:opacity-95 group-focus-visible:ring-2 group-focus-visible:ring-inset group-focus-visible:ring-ring',
28+
enableLightbox && 'cursor-pointer transition-opacity group-hover:opacity-95',
3029
className
3130
)}
3231
alt={alt}

apps/docs/components/ui/video.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ export function Video({
4747
height={height}
4848
className={cn(
4949
className,
50-
enableLightbox &&
51-
'cursor-pointer transition-opacity group-hover:opacity-[0.97] group-focus-visible:ring-2 group-focus-visible:ring-inset group-focus-visible:ring-ring'
50+
enableLightbox && 'cursor-pointer transition-opacity group-hover:opacity-[0.97]'
5251
)}
5352
src={getAssetUrl(src)}
5453
/>

apps/docs/content/docs/en/introduction/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { FAQ } from '@/components/ui/faq'
1010

1111
Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Create agents visually with the workflow builder, conversationally through Mothership, or programmatically with the API. Connect AI models, databases, APIs, and 1,000+ business tools to build agents that automate real work — from chatbots and compliance agents to data pipelines and ITSM automation.
1212

13-
<div className="mx-auto w-full my-6">
13+
<div className="mx-auto w-full overflow-hidden rounded-lg my-6">
1414
<Image
1515
src="/static/introduction.png"
1616
alt="Sim visual workflow canvas"
@@ -34,7 +34,7 @@ Transform raw data into actionable insights. Extract information from documents,
3434
**API Integration Workflows**
3535
Orchestrate complex multi-service interactions. Create unified API endpoints, implement sophisticated business logic, and build event-driven automation systems.
3636

37-
<div className="mx-auto w-full my-6">
37+
<div className="mx-auto w-full overflow-hidden rounded-lg my-6">
3838
<Video src="introduction/chat-workflow.mp4" width={700} height={450} />
3939
</div>
4040

@@ -52,7 +52,7 @@ Launch workflows through multiple channels including chat interfaces, REST APIs,
5252
**Real-time Collaboration**
5353
Enable your team to build together. Multiple users can edit workflows simultaneously with live updates and granular permission controls.
5454

55-
<div className="mx-auto w-full my-6">
55+
<div className="mx-auto w-full overflow-hidden rounded-lg my-6">
5656
<Video src="introduction/build-workflow.mp4" width={700} height={450} />
5757
</div>
5858

@@ -69,7 +69,7 @@ Sim provides native integrations with 1,000+ services across multiple categories
6969

7070
For custom integrations, leverage our [MCP (Model Context Protocol) support](/mcp) to connect any external service or tool.
7171

72-
<div className="mx-auto w-full my-6">
72+
<div className="mx-auto w-full overflow-hidden rounded-lg my-6">
7373
<Video src="introduction/integrations-sidebar.mp4" width={700} height={450} />
7474
</div>
7575

@@ -86,7 +86,7 @@ Choose from Fast, Auto, Advanced, or Behemoth modes depending on task complexity
8686

8787
Learn more about [Copilot capabilities](/copilot) and how to maximize productivity with AI assistance.
8888

89-
<div className="mx-auto w-full my-6">
89+
<div className="mx-auto w-full overflow-hidden rounded-lg my-6">
9090
<Video src="introduction/copilot-workflow.mp4" width={700} height={450} />
9191
</div>
9292

0 commit comments

Comments
 (0)