diff --git a/app/globals.css b/app/globals.css index 2df9a6574a725..0bf7f57a9d819 100644 --- a/app/globals.css +++ b/app/globals.css @@ -4,6 +4,28 @@ @tailwind components; @tailwind utilities; +.skip-to-content { + position: fixed; + top: 0.75rem; + left: 0.75rem; + z-index: 9999; + padding: 0.5rem 1rem; + border-radius: 0.5rem; + background-color: var(--accent-purple); + color: #fff; + font-weight: 500; + text-decoration: none; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); + transform: translateY(-200%); + transition: transform 0.15s ease-in-out; +} + +.skip-to-content:focus { + transform: translateY(0); + outline: 2px solid var(--accent-purple); + outline-offset: 2px; +} + .radix-themes { --cursor-button: pointer; --iris-9: var(--accent); diff --git a/app/layout.tsx b/app/layout.tsx index 4439d9fc53b3b..29b1fa53fadca 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -5,6 +5,7 @@ import type {Metadata} from 'next'; import {Rubik} from 'next/font/google'; import Script from 'next/script'; import PlausibleProvider from 'next-plausible'; +import {SkipToContent} from 'sentry-docs/components/skipToContent'; import {ThemeProvider} from 'sentry-docs/components/theme-provider'; const rubik = Rubik({ @@ -43,6 +44,7 @@ export default function RootLayout({children}: {children: React.ReactNode}) { disableTransitionOnChange > + {children} diff --git a/app/not-found.tsx b/app/not-found.tsx index 01ceb4c78ebfa..861a1202790d7 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -45,7 +45,7 @@ export default function NotFound() { ) : (
)} -
+

Page Not Found

We couldn't find the page you were looking for :(

diff --git a/src/components/home.tsx b/src/components/home.tsx index 360fb6c811822..5fea7b80130e8 100644 --- a/src/components/home.tsx +++ b/src/components/home.tsx @@ -55,418 +55,423 @@ export async function Home() { useStoredSearchPlatforms={false} platforms={platforms} /> -
- -
- {/* Hero Banner with Two-Column Layout */} -
- {/* Single decorative squiggle at top right */} - +
+
+ +
+ {/* Hero Banner with Two-Column Layout */} +
+ {/* Single decorative squiggle at top right */} + - {/* Content Container */} -
-
- {/* Left Column: Welcome Text + Search */} -
-

- Welcome To Sentry Docs -

-

- Sentry provides end-to-end distributed tracing, enabling developers to - identify and debug performance issues and errors across their systems and - services. -

- -
- -
-
-
+ {/* Content Container */} +
+
+ {/* Left Column: Welcome Text + Search */} +
+

+ Welcome To Sentry Docs +

+

+ Sentry provides end-to-end distributed tracing, enabling developers to + identify and debug performance issues and errors across their systems + and services. +

+ +
+ +
+
+
- {/* Right Column: SDK Section */} -
-
-
- {mostViewedSDKs.map(platform => ( - - - + - - GO TO ALL SDKS -
-
-
- {/* Sentry Features Header */} -

Sentry Features

-
- {/* Debugging in Sentry */} -
+
+ {/* Sentry Features Header */} +

Sentry Features

+
+ {/* Debugging in Sentry */}
- Debugging in Sentry -
-
-

- Debugging in Sentry -

-

- Monitor, identify, and resolve errors and performance issues across your - applications using{' '} - - Error Monitoring - - ,{' '} - - Tracing - - ,{' '} - - Session Replay - - ,{' '} - - Logs - - , and{' '} - - more - - . -

+ > + Debugging in Sentry +
+
+

+ Debugging in Sentry +

+

+ Monitor, identify, and resolve errors and performance issues across your + applications using{' '} + + Error Monitoring + + ,{' '} + + Tracing + + ,{' '} + + Session Replay + + ,{' '} + + Logs + + , and{' '} + + more + + . +

+
-
- {/* Fix Bugs Faster with Seer */} -
+ {/* Fix Bugs Faster with Seer */}
- Fix Bugs Faster with Seer -
-
-

- Fix Bugs Faster with Seer -

-

- Debug applications with{' '} - - Seer - - . Get{' '} - - AI-powered answers - {' '} - to questions using your application data in Sentry. Have{' '} - - Autofix - {' '} - generate fixes, and{' '} - - review code changes - {' '} - before merging PRs. -

+ > + Fix Bugs Faster with Seer +
+
+

+ Fix Bugs Faster with Seer +

+

+ Debug applications with{' '} + + Seer + + . Get{' '} + + AI-powered answers + {' '} + to questions using your application data in Sentry. Have{' '} + + Autofix + {' '} + generate fixes, and{' '} + + review code changes + {' '} + before merging PRs. +

+
-
- {/* AI in Sentry */} -
+ {/* AI in Sentry */}
- AI in Sentry -
-
-

- AI in Sentry -

-

- Integrate Sentry into your AI coding assistants using Sentry's{' '} - - Skills - {' '} - and{' '} - - MCP server - {' '} - with your agents. Debug agents and MCP servers by{' '} - - monitoring your AI features - - . -

+ > + AI in Sentry +
+
+

+ AI in Sentry +

+

+ Integrate Sentry into your AI coding assistants using Sentry's{' '} + + Skills + {' '} + and{' '} + + MCP server + {' '} + with your agents. Debug agents and MCP servers by{' '} + + monitoring your AI features + + . +

+
-
-
- -
-

Get to know us

-
- {/* Row 1: What is Sentry and Sentry for AI */} - +
+ +
+

Get to know us

+
+ {/* Row 1: What is Sentry and Sentry for AI */} + - + - {/* Row 2: Guides and Pricing & Billing */} - + {/* Row 2: Guides and Pricing & Billing */} + - + - {/* Row 3: Organization Settings and Integrations */} - + {/* Row 3: Organization Settings and Integrations */} + - + - {/* Row 4: API and CLI */} - + {/* Row 4: API and CLI */} + - + - {/* Row 5: Security, Legal & PII and Concepts & References */} - + {/* Row 5: Security, Legal & PII and Concepts & References */} + - -
-

Talk to us

-
- + +
+

Talk to us

+
+ - + +
-
+