[docs] Add OSS Skills Marketplace (#6752)

This commit is contained in:
Ebony Louis
2026-01-28 22:46:18 -05:00
committed by GitHub
parent 7ea38402a3
commit 4d49fd5423
13 changed files with 1590 additions and 5 deletions
+8 -1
View File
@@ -1,4 +1,4 @@
import React from 'react';
import React, { useEffect } from 'react';
import type { ReactNode } from 'react';
interface Props {
@@ -8,6 +8,13 @@ interface Props {
const SHOW_BANNER = false;
export default function Root({ children }: Props): JSX.Element {
// Initialize gtag as no-op if not present (prevents errors in development)
useEffect(() => {
if (typeof window !== 'undefined' && !window.gtag) {
(window as any).gtag = function() {};
}
}, []);
return (
<>
{SHOW_BANNER && (