Skip to content

Commit

Permalink
feat: Add component describing Arcjet utilities (#289)
Browse files Browse the repository at this point in the history
Co-authored-by: David Mytton <[email protected]>
  • Loading branch information
blaine-arcjet and davidmytton authored Dec 2, 2024
1 parent 6f51873 commit fe68a0f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
14 changes: 14 additions & 0 deletions src/components/WhatAreArcjetUtilities.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<details>
<summary><strong>What are Arcjet utilities?</strong></summary>

<p>
<a href="https://arcjet.com">Arcjet</a> utilities are independent libraries
that do not require the use of the main Arcjet SDK—they can be used with or
without other Arcjet rules.
</p>

<p>
We take the pain out of implementing security tasks through these utilities
to provide a security as code approach to developer-first security.
</p>
</details>
7 changes: 3 additions & 4 deletions src/content/docs/redact/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ description: "Quick start guide for redacting sensitive information locally."
---

import { Code } from "@astrojs/starlight/components";
import WhatIsArcjet from "/src/components/WhatIsArcjet.astro";
import WhatAreArcjetUtilities from "@/components/WhatAreArcjetUtilities.astro";
import FAQs from "/src/components/FAQs.astro";
import QuickStartRedact from "/src/snippets/redact/QuickStartRedact.ts?raw";
import QuickStartUnredact from "/src/snippets/redact/QuickStartUnredact.ts?raw";
import Comments from "/src/components/Comments.astro";

The Arcjet Redaction library makes it easy to redact sensitive information
locally. It is a utility library independent of the main Arcjet SDK so can be
used with or without other Arcjet rules.
locally.

<WhatIsArcjet />
<WhatAreArcjetUtilities />

## SDK installation

Expand Down
7 changes: 3 additions & 4 deletions src/content/docs/redact/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@ description: "Reference for the Arcjet redaction library"
---

import { Code } from "@astrojs/starlight/components";
import WhatIsArcjet from "/src/components/WhatIsArcjet.astro";
import WhatAreArcjetUtilities from "@/components/WhatAreArcjetUtilities.astro";
import FAQs from "/src/components/FAQs.astro";
import CustomEntities from "/src/snippets/redact/CustomEntities.ts?raw";
import CustomRedact from "/src/snippets/redact/CustomRedact.ts?raw";
import QuickStartUnredact from "/src/snippets/redact/QuickStartUnredact.ts?raw";
import Comments from "/src/components/Comments.astro";

The Arcjet Redaction library makes it easy to redact sensitive information
locally. It is a utility library independent of the main Arcjet SDK so can be
used with or without other Arcjet rules.
locally.

<WhatIsArcjet />
<WhatAreArcjetUtilities />

## Configuration

Expand Down

0 comments on commit fe68a0f

Please sign in to comment.