Add developer tools page and secure guest scans

This commit is contained in:
2026-08-02 00:10:51 +02:00
parent c9e776ae98
commit c79e7b59ff
13 changed files with 328 additions and 33 deletions

View File

@@ -63,8 +63,8 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
: copy.useCasesTitle
return (
<footer className="bg-ink-deep text-white pt-24 pb-8 font-body overflow-hidden" id="download">
<div className="max-w-[1200px] mx-auto px-6">
<footer className="bg-ink-deep text-white pt-28 pb-10 font-body overflow-hidden" id="download">
<div className="max-w-[1280px] mx-auto px-6">
{/* CTA + Bild */}
<div className="flex flex-col lg:flex-row gap-12 mb-24 items-center">
<div className="flex-1">
@@ -101,7 +101,7 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
</a>
)}
</div>
<p className="text-xs text-white/60">
<p className="text-sm text-white/60">
{copy.storeNote}{' '}
<Link href="/support" className="underline hover:text-white">
{copy.supportLabel}
@@ -116,14 +116,14 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
</div>
{/* Marken- und Legal-Spalten */}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-16 border-t border-white/10 pt-12">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-14 mb-20 border-t border-white/10 pt-14">
<div>
<h3 className="font-display font-bold text-xl tracking-widest mb-4">GREENLENS</h3>
<p className="text-xs text-white/70 leading-relaxed max-w-xs">{copy.brandBody}</p>
<h3 className="font-display font-bold text-2xl tracking-widest mb-5">GREENLENS</h3>
<p className="text-sm text-white/70 leading-relaxed max-w-xs">{copy.brandBody}</p>
</div>
<div>
<h4 className="text-[10px] font-bold tracking-widest text-primary-fixed mb-6 uppercase">{copy.productTitle}</h4>
<ul className="space-y-4 text-xs text-white/80">
<h4 className="text-xs font-bold tracking-widest text-primary-fixed mb-6 uppercase">{copy.productTitle}</h4>
<ul className="space-y-4 text-sm text-white/80">
<li><a href="#advantage" className="hover:text-white">{seoTemplateCopy[locale].nav.features}</a></li>
{showMethodology && <li><a href="#methodology" className="hover:text-white">{seoTemplateCopy[locale].nav.tech}</a></li>}
<li><a href="#download" className="hover:text-white">{seoTemplateCopy[locale].nav.download}</a></li>
@@ -131,16 +131,16 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
</ul>
</div>
<div>
<h4 className="text-[10px] font-bold tracking-widest text-primary-fixed mb-6 uppercase">{copy.companyTitle}</h4>
<ul className="space-y-4 text-xs text-white/80">
<h4 className="text-xs font-bold tracking-widest text-primary-fixed mb-6 uppercase">{copy.companyTitle}</h4>
<ul className="space-y-4 text-sm text-white/80">
{showMethodology && <li><a href="#methodology" className="hover:text-white">{seoTemplateCopy[locale].nav.how}</a></li>}
<li><a href="#faq" className="hover:text-white">FAQ</a></li>
<li><Link href="/support" className="hover:text-white">{copy.supportLabel}</Link></li>
</ul>
</div>
<div>
<h4 className="text-[10px] font-bold tracking-widest text-primary-fixed mb-6 uppercase">{copy.legalTitle}</h4>
<ul className="space-y-4 text-xs text-white/80">
<h4 className="text-xs font-bold tracking-widest text-primary-fixed mb-6 uppercase">{copy.legalTitle}</h4>
<ul className="space-y-4 text-sm text-white/80">
<li><Link href="/imprint" className="hover:text-white">{copy.imprint}</Link></li>
<li><Link href="/privacy" className="hover:text-white">{copy.privacy}</Link></li>
<li><Link href="/terms" className="hover:text-white">{copy.terms}</Link></li>
@@ -149,10 +149,10 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
</div>
{/* SEO-Link-Spalten (interne Verlinkung) */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-12 mb-24">
<div className="grid grid-cols-1 md:grid-cols-3 gap-14 mb-28">
<div>
<h4 className="text-[10px] font-bold tracking-widest text-primary-fixed mb-6 uppercase">{primaryTitle}</h4>
<ul className="space-y-3 text-xs text-white/70">
<h4 className="text-xs font-bold tracking-widest text-primary-fixed mb-6 uppercase">{primaryTitle}</h4>
<ul className="space-y-3 text-sm leading-6 text-white/70">
{primaryLinks.map((link) => (
<li key={link.href}>
<Link href={link.href} className="hover:text-white">{link.label}</Link>
@@ -161,8 +161,8 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
</ul>
</div>
<div>
<h4 className="text-[10px] font-bold tracking-widest text-primary-fixed mb-6 uppercase">{languageTitles[locale]}</h4>
<ul className="space-y-3 text-xs text-white/70">
<h4 className="text-xs font-bold tracking-widest text-primary-fixed mb-6 uppercase">{languageTitles[locale]}</h4>
<ul className="space-y-3 text-sm leading-6 text-white/70">
{languageHubs.map((link) => (
<li key={link.href}>
<Link href={link.href} className="hover:text-white">{link.label}</Link>
@@ -170,6 +170,18 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
))}
</ul>
</div>
<div>
<h4 className="text-xs font-bold tracking-widest text-primary-fixed mb-6 uppercase">Developer &amp; Open Source</h4>
<ul className="space-y-3 text-sm leading-6 text-white/70">
<li><Link href="/developers" className="text-[#00c853] font-bold hover:underline">Developer Suite Hub</Link></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TimoKnuth.greenlens-vscode" target="_blank" rel="noopener noreferrer" className="hover:text-white">VS Code Extension</a></li>
<li><a href="https://pypi.org/project/greenlens-python/" target="_blank" rel="noopener noreferrer" className="hover:text-white">Python SDK &amp; CLI (PyPI)</a></li>
<li><a href="https://www.npmjs.com/package/greenlenspro-cli" target="_blank" rel="noopener noreferrer" className="hover:text-white">Node.js CLI (NPM)</a></li>
<li><Link href="/developers" className="hover:text-white">Chrome Extension (Soon)</Link></li>
<li><a href="https://github.com/knuthtimo-lab/greenlenspro-cli#github-action" target="_blank" rel="noopener noreferrer" className="hover:text-white">GitHub Action</a></li>
<li><a href="https://github.com/knuthtimo-lab/greenlenspro-cli" target="_blank" rel="noopener noreferrer" className="hover:text-white">GitHub Repository</a></li>
</ul>
</div>
</div>
{/* Riesiger Schriftzug */}
@@ -179,7 +191,7 @@ export default function SeoFooter({ locale, showMethodology = true }: SeoFooterP
</div>
</div>
<div className="flex flex-col md:flex-row justify-between items-center text-[10px] text-white/50 border-t border-white/10 pt-8">
<div className="flex flex-col md:flex-row justify-between items-center text-xs text-white/50 border-t border-white/10 pt-8">
<p>{copy.copy}</p>
<div className="mt-4 md:mt-0 opacity-50">
<span className="font-bold tracking-widest">GREENLENS</span>

View File

@@ -11,9 +11,10 @@ import { seoTemplateCopy } from '@/lib/seoTemplateCopy'
interface SeoNavbarProps {
locale: Lang
methodologyHref?: '#methodology' | '#comparison'
showDevelopers?: boolean
}
export default function SeoNavbar({ locale, methodologyHref = '#methodology' }: SeoNavbarProps) {
export default function SeoNavbar({ locale, methodologyHref = '#methodology', showDevelopers = false }: SeoNavbarProps) {
const [menuOpen, setMenuOpen] = useState(false)
const copy = seoTemplateCopy[locale]
@@ -22,6 +23,7 @@ export default function SeoNavbar({ locale, methodologyHref = '#methodology' }:
{ href: methodologyHref, label: copy.nav.tech },
{ href: '#faq', label: copy.nav.faq },
{ href: methodologyHref, label: copy.nav.how },
...(showDevelopers ? [{ href: '/developers', label: 'Developers' }] : []),
{ href: '/support', label: copy.nav.support },
]