Skip to content

Conversation

@josh-wong
Copy link
Member

@josh-wong josh-wong commented Dec 17, 2024

Description

This PR adds Microsoft Clarity code as a component that applies to all pages and adds a banner message about cookie consent.

Related issues and/or PRs

Changes made

  • Created a root component in Docusaurus that includes:
    • Added Microsoft Clarity code that applies to all pages.
    • Added a closable banner at the bottom of the page for first-time visitors and for those who may not have visited the docs site in a while.

Checklist

The following is a best-effort checklist. If any items in this checklist are not applicable to this PR or are dependent on other, unmerged PRs, please still mark the checkboxes after you have read and understood each item.

  • I have updated the side navigation as necessary.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

N/A

@josh-wong josh-wong force-pushed the add-microsoft-clarity-code-and-cookie-consent branch from 70f95e1 to 641a3fc Compare December 17, 2024 09:05
@josh-wong josh-wong merged commit 204f9a5 into main Dec 18, 2024
1 of 5 checks passed
@josh-wong josh-wong deleted the add-microsoft-clarity-code-and-cookie-consent branch December 18, 2024 02:40
@scalar-labs scalar-labs deleted a comment from netlify bot Dec 18, 2024
josh-wong added a commit that referenced this pull request May 14, 2025
* Create Root.js

* Add Microsoft Clarity code

* Add `react-cookie-consent`

* Add feature to show cookie consent message

* Increase font size of `I understand` button

* Revise cookie banner message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant