Skip to content

Commit

Permalink
[Docs Site] Hide Cursor illustration on small-medium viewports (#19019)
Browse files Browse the repository at this point in the history
  • Loading branch information
KianNH authored Jan 6, 2025
1 parent 04e139f commit 68162a2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/pages/workers/ai.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import CursorLight from "~/assets/images/workers/ai/cursor-light.png";

<StarlightPage frontmatter={{ title: "AI Assistant", tableOfContents: false }}>
<section id="assistant-header">
<div class="not-content">
<div class="not-content max-lg:hidden">
<Image
src={CursorDark}
alt="Cursor illustration"
Expand All @@ -24,9 +24,14 @@ import CursorLight from "~/assets/images/workers/ai/cursor-light.png";
</div>
<div id="text">
<h1>
<div class="illustration"></div>
Meet your AI assistant, Cursor
<div class="alpha">AI Preview</div>
<div>
<span
class="ml-1 rounded-full bg-orange-200 px-2 py-0.5 text-xs text-orange-900"
>
AI Preview
</span>
</div>
</h1>
<p>
Cursor is an experimental AI assistant, trained to answer questions
Expand Down

0 comments on commit 68162a2

Please sign in to comment.