--- import Icon from './Icon.astro'; import { PLATFORM_ICONS } from '../lib/site'; import type { Plugin } from '../lib/db'; interface Props { plugin: Plugin; } const { plugin } = Astro.props; const search = [ plugin.name, plugin.description, plugin.publisherName, plugin.category, ...plugin.routes, ...plugin.platforms, ] .join(' ') .toLowerCase(); const published = Boolean(plugin.sha256); const cli = `openrom-core --install-plugin ${plugin.id}`; ---

{plugin.name}

{ plugin.publisherVerified && ( ) }

{ plugin.publisherId ? ( {plugin.publisherName} ) : ( {plugin.publisherName} ) } v{plugin.version}

{plugin.category}

{plugin.description}

{ plugin.routes.length > 0 && (
{plugin.routes.slice(0, 3).map((route) => ( {route} ))}
) }
{plugin.downloads.toLocaleString()} { plugin.platforms.map((platform) => ( )) }
Details { published ? ( Get ) : ( Not published ) }