Skip to content

Commit

Permalink
docs: fix titles of component docs
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Dec 31, 2023
1 parent 9e32af0 commit 5c9da56
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
5 changes: 4 additions & 1 deletion packages/docs/docs/core/consent-manager-form.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# <ConsentManagerForm />
---
title: <ConsentManagerForm />
---
# `<ConsentManagerForm />` component

`ConsentManagerForm` is a React component designed to provide a basic, unstyled form enabling users to control their consent choices for different integrations. This component is particularly useful as a reference or starting point for integrating a custom consent form. It facilitates the enabling or disabling of integrations based on user preferences. For a pre-styled version, consider exploring our default interface.

Expand Down
5 changes: 4 additions & 1 deletion packages/docs/docs/core/consent-manager.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# <ConsentManager />
---
title: <ConsentManager />
---
# `<ConsentManager />` component

`ConsentManager` is the core component that provides context and state management for all consent-related functionality. It should wrap the root of your application.

Expand Down
5 changes: 4 additions & 1 deletion packages/docs/docs/core/privacy-shield.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# <PrivacyShield />
---
title: <PrivacyShield />
---
# `<PrivacyShield />` component

`PrivacyShield` is a component that conditionally renders children based on the consent decision for a specific integration. It's typically used to wrap content that should only be displayed if the user has consented to the associated integration.

Expand Down
5 changes: 4 additions & 1 deletion packages/docs/docs/interface-default/interface.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# <ConsentManagerDefaultInterface />
---
title: <ConsentManagerDefaultInterface />
---
# `<ConsentManagerDefaultInterface />` component

`ConsentManagerDefaultInterface` is a React component that acts as a wrapper for your application, providing a default user interface for managing consent. It supports all properties passed to the [core `ConsentManager` component](../core/consent-manager.md).

Expand Down
2 changes: 2 additions & 0 deletions packages/docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
--ifm-color-secondary-contrast-foreground: #474748; /* Dark gray for secondary contrast foreground */

--ifm-code-font-size: 95%;

--doc-sidebar-width: 340px !important;
}

.docusaurus-highlight-code-line {
Expand Down

0 comments on commit 5c9da56

Please sign in to comment.