Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs Site] Hide Cursor illustration on small-medium viewports #19019

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading