--- import ProjectWall from '../../components/geek/ProjectWall.astro'; import Heatmap from '../../components/geek/Heatmap.astro'; import BaseLayout from '../../layouts/BaseLayout.astro'; import { t } from '../../i18n/ui'; import { githubReadmeMarkdown, openSourceCopy, openSourceOptions, pageTypography, renderMarkdown, renderRich } from '../../lib/site-content'; const copy = await openSourceCopy('en'); const options = await openSourceOptions(); const readmeMd = options.introFrom === 'github-readme' ? await githubReadmeMarkdown() : null; const readmeHtml = readmeMd ? await renderMarkdown(readmeMd) : null; const blurbHtml = await renderRich(copy.blurb, { inline: true }); const blurbAfterHtml = await renderRich(copy.blurbAfter, { inline: true }); const typo = await pageTypography('siteOpenSource', 'opensource'); --- Open Source {readmeHtml ? ( ) : ( ${copy.repoLabel}${blurbAfterHtml}`} /> )}
${copy.repoLabel}${blurbAfterHtml}`} /> )}