Skip to content

Commit

Permalink
docs(templates): add HR info (#6370)
Browse files Browse the repository at this point in the history
  • Loading branch information
necatiozmen authored Oct 7, 2024
1 parent 0b67bf5 commit 8a76530
Show file tree
Hide file tree
Showing 12 changed files with 1,263 additions and 1,194 deletions.
632 changes: 307 additions & 325 deletions documentation/plugins/blog-plugin.js

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions documentation/plugins/clarity.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@
Object.defineProperty(exports, "__esModule", { value: true });

async function microsoftClarity() {
return {
name: "docusaurus-plugin-refine-clarity",
injectHtmlTags() {
return {
headTags: [
{
tagName: "link",
attributes: {
rel: "preconnect",
href: "https://www.clarity.ms",
},
},
{
tagName: "script",
innerHTML: `
return {
name: "docusaurus-plugin-refine-clarity",
injectHtmlTags() {
return {
headTags: [
{
tagName: "link",
attributes: {
rel: "preconnect",
href: "https://www.clarity.ms",
},
},
{
tagName: "script",
innerHTML: `
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "jquujqps85");`,
},
],
};
},
};
},
],
};
},
};
}
exports.default = microsoftClarity;
40 changes: 20 additions & 20 deletions documentation/plugins/clarity.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
import type { Plugin } from "@docusaurus/types";

export default async function microsoftClarity(): Promise<Plugin> {
return {
name: "docusaurus-plugin-refine-clarity",
injectHtmlTags() {
return {
headTags: [
{
tagName: "link",
attributes: {
rel: "preconnect",
href: "https://www.clarity.ms",
},
},
{
tagName: "script",
innerHTML: `
return {
name: "docusaurus-plugin-refine-clarity",
injectHtmlTags() {
return {
headTags: [
{
tagName: "link",
attributes: {
rel: "preconnect",
href: "https://www.clarity.ms",
},
},
{
tagName: "script",
innerHTML: `
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "jquujqps85");`,
},
],
};
},
};
},
],
};
},
};
}
Loading

0 comments on commit 8a76530

Please sign in to comment.