This commit is contained in:
2026-08-10 12:54:54 +02:00
parent e3a28b0a1c
commit 82d2a62b2d
5 changed files with 23 additions and 5 deletions

View File

@@ -65,12 +65,14 @@ const tools = [
},
{
icon: '🧩',
eyebrow: 'Chrome Web Store',
title: 'Chrome extension',
eyebrow: 'Chrome & Firefox Stores',
title: 'Browser extensions',
description: 'Search a local plant catalog, check leaf symptoms, or select a plant photo from the current browser page for AI analysis.',
command: 'Browser popup + photo scan tool',
href: siteConfig.chromeWebStoreUrl,
linkLabel: 'Chrome Web Store',
secondaryHref: siteConfig.firefoxAddonUrl,
secondaryLinkLabel: 'Firefox Add-ons',
},
{
icon: '🐙',
@@ -152,9 +154,16 @@ export default function DevelopersPage() {
<h3 className="mt-8 font-display text-3xl font-bold leading-tight text-ink">{tool.title}</h3>
<p className="mt-4 max-w-[60ch] text-sm leading-7 text-on-surface-variant">{tool.description}</p>
<code className="mt-6 block whitespace-pre-line rounded-xl bg-ink px-4 py-3 font-mono text-xs leading-6 text-primary-fixed">{tool.command}</code>
<a href={tool.href} target="_blank" rel="noopener noreferrer" className="mt-7 inline-flex w-fit items-center text-sm font-bold text-primary hover:text-ink transition-colors">
{tool.linkLabel} <span aria-hidden="true" className="ml-2"></span>
</a>
<div className="mt-7 flex flex-wrap gap-4 items-center">
<a href={tool.href} target="_blank" rel="noopener noreferrer" className="inline-flex w-fit items-center text-sm font-bold text-primary hover:text-ink transition-colors">
{tool.linkLabel} <span aria-hidden="true" className="ml-2"></span>
</a>
{tool.secondaryHref && (
<a href={tool.secondaryHref} target="_blank" rel="noopener noreferrer" className="inline-flex w-fit items-center text-sm font-bold text-primary hover:text-ink transition-colors">
{tool.secondaryLinkLabel} <span aria-hidden="true" className="ml-2"></span>
</a>
)}
</div>
</article>
))}
</div>