diff --git a/src/components/card.tsx b/src/components/card.tsx new file mode 100644 index 0000000000000..db5687f275f35 --- /dev/null +++ b/src/components/card.tsx @@ -0,0 +1,31 @@ +import {StaticImageData} from 'next/dist/shared/lib/get-img-props'; +import Image from 'next/image'; +import Link from 'next/link'; + +export function Card({ + href, + image, + imageAlt, + title, + description, + className = '', +}: { + description: string; + href: string; + image: string | StaticImageData; + imageAlt: string; + title: string; + className?: string; +}) { + return ( + +
+ {imageAlt} +
+

{title}

+

{description}

+
+
+ + ); +} diff --git a/src/components/home.tsx b/src/components/home.tsx index b8d3c7d507535..43efab32057de 100644 --- a/src/components/home.tsx +++ b/src/components/home.tsx @@ -1,5 +1,4 @@ import Image from 'next/image'; -import Link from 'next/link'; import {Banner} from 'sentry-docs/components/banner'; import {SentryWordmarkLogo} from 'sentry-docs/components/wordmarkLogo'; @@ -15,6 +14,7 @@ import RocketImage from 'sentry-docs/imgs/rocket.png'; import SecurityImage from 'sentry-docs/imgs/security.png'; import SupportImage from 'sentry-docs/imgs/support.png'; +import {Card} from './card'; import {Header} from './header'; import {NavLink, NavLinkProps} from './navlink'; import {PlatformFilter} from './platformFilter'; @@ -60,123 +60,88 @@ export async function Home() {

Get to know us

- -
- Rocket image -
-

What is Sentry?

-

- Application monitoring and debugging software considered “not bad” by 4 - million developers. -

-
-
- - -
- Organization image -
-

Organization settings

-

Information for setting up your organization’s Sentry account.

-
-
- - -
- Calculator image -
-

Pricing & Billing

-

All about our pricing and billing structure.

-
-
- - -
- Plug image -
-

API

-

APIs for accessing Sentry programmatically.

-
-
- - -
- Terminal image -
-

CLI

-

How to use ‘sentry-cli’ on the command line.

-
-
- - -
- Stamped paper image -
-

Security, Legal & PII

-

Security, compliance, and data-scrubbing processes.

-
-
- - -
- Concept and references image -
-

Concepts & Reference

-

Core concepts that make Sentry, Sentry.

-
-
- + + + + + + + + + + + + +

Talk to us

- -
- Chat bubble image -
-

Sentry Discord

-

Real talk in real time. Get in it.

-
-
- - -
- Support image -
-

Support

-

See how we can help.

-
-
- + + +