-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(platform): Add image cards to devdocs getting started page (#12110)
* Added awarness section to top level pages * Updated startpage * Added dev infra to start page * Update to new top level section 'backend' * Added some icons (probably the wrong way, but it kind of works) * add cardgrid * Apply suggestions from code review Co-authored-by: Ivana Kellyer <[email protected]> --------- Co-authored-by: Charly Gomez <[email protected]> Co-authored-by: Ivana Kellyer <[email protected]>
- Loading branch information
1 parent
2a285ad
commit 09db0a2
Showing
12 changed files
with
98 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
import BackendImg from 'sentry-docs/imgs/back-end.png'; | ||
import InfraImg from 'sentry-docs/imgs/dev-infra.png'; | ||
import FrontendImg from 'sentry-docs/imgs/front-end.png'; | ||
import IngestImg from 'sentry-docs/imgs/ingest.png'; | ||
import IntegrationsImg from 'sentry-docs/imgs/integrate.png'; | ||
import SkdsImg from 'sentry-docs/imgs/sdks.png'; | ||
import ServicesImg from 'sentry-docs/imgs/services.png'; | ||
import SelfHostedImg from 'sentry-docs/imgs/support.png'; | ||
|
||
import {Card} from './card'; | ||
|
||
export function DevDocsCardGrid() { | ||
return ( | ||
<div className="flex flex-wrap gap-6 not-prose"> | ||
<Card | ||
className="w-full" | ||
href="/development-infrastructure/" | ||
title="Development Infrastructure" | ||
description="How to get your local dev environment up and running." | ||
image={InfraImg} | ||
imageAlt="Development Infrastructure" | ||
/> | ||
|
||
<Card | ||
className="w-full md:w-[calc(50%-12px)]" | ||
href="/backend/" | ||
title="Backend" | ||
description="The monolith that is powering Sentry." | ||
image={BackendImg} | ||
imageAlt="Backend" | ||
/> | ||
<Card | ||
className="w-full md:w-[calc(50%-12px)]" | ||
href="/frontend/" | ||
title="Frontend" | ||
description="How we write frontend code." | ||
image={FrontendImg} | ||
imageAlt="Frontend" | ||
/> | ||
<Card | ||
className="w-full md:w-[calc(50%-12px)]" | ||
href="/services/" | ||
title="Services" | ||
description="Running alongside the monolith." | ||
image={ServicesImg} | ||
imageAlt="Services" | ||
/> | ||
<Card | ||
className="w-full md:w-[calc(50%-12px)]" | ||
href="/integrations/" | ||
title="Integrations" | ||
imageAlt="Integrations" | ||
description="Connecting Sentry to other products." | ||
image={IntegrationsImg} | ||
/> | ||
<Card | ||
className="w-full md:w-[calc(50%-12px)]" | ||
href="/ingestion/" | ||
title="Ingestion" | ||
imageAlt="Ingestion" | ||
description="Receiving and processing data." | ||
image={IngestImg} | ||
/> | ||
<Card | ||
className="w-full md:w-[calc(50%-12px)]" | ||
href="/sdk/" | ||
title="SDKs" | ||
imageAlt="SDKs" | ||
description="Instrumenting user code." | ||
image={SkdsImg} | ||
/> | ||
<Card | ||
className="w-full" | ||
href="/self-hosted/" | ||
title="Self-Hosted Sentry" | ||
imageAlt="Self-Hosted Sentry" | ||
description="How you can run all of Sentry on your own server, without paying anything." | ||
image={SelfHostedImg} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ | |
margin-bottom: 1.75rem; | ||
} | ||
|
||
h3 { | ||
h3 :not(.not-prose) { | ||
font-size: 1.125rem; | ||
} | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters