import { appendPath } from '@silverhand/essentials'; import { useContext } from 'react'; import { GuideContext } from '@/components/Guide'; import { githubOrgLink } from '@/consts'; import { LinkButton } from '@/ds-components/Button'; import DangerousRaw from '@/ds-components/DangerousRaw'; import Spacer from '@/ds-components/Spacer'; import * as styles from './index.module.scss'; /** The inline banner for displaying the sample info. */ export default function Sample() { const { metadata: { sample }, Logo, } = useContext(GuideContext); if (!sample) { return null; } return ( ); }