Weights & Biases Documentation ↗
noOriginal Documentation
Documentation Index#
Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt Use this file to discover all available pages before exploring further.
View the documentation for all Weights & Biases products
export const ProductCard = ({title, iconSrc, href, subtitle, children, className = ‘’}) => {
const handleCardClick = e => {
let target = e.target;
while (target && target !== e.currentTarget) {
if (target.tagName === ‘A’) {
return;
}
target = target.parentElement;
}
if (href) {
window.location.href = href;
}
};
return
{}
{iconSrc &&
}
{}
<h2 className="text-xl font-normal mb-2">
{title}
</h2>
{subtitle && <h3 className="text-base font-semibold mb-3 text-gray-700 dark:text-gray-300">
{subtitle}
</h3>}
{children}
; };
export const HomeWrapper = ({children, padding = “0”}) => { return {children}; };
export const Banner = ({title, background, children, home}) => { useEffect(() => { if (home) { const header = document.querySelector(“div#content-area > header#header”); if (header) { header.style.display = “none”; } const mdxContent = document.querySelector(“div.mdx-content”); if (mdxContent) { mdxContent.style.marginTop = “0”; } } return () => { const header = document.querySelector(“div#content-area > header#header”); if (header) { header.style.display = “”; } const mdxContent = document.querySelector(“div.mdx-content”); if (mdxContent) { mdxContent.style.marginTop = “”; } }; }, [home]); return
<h2 className="font-serif text-2xl text-white font-normal mb-4 leading-tight mt-4">{title}</h2>
{children}
; };