feat: Wabenhain Honig-Shop Anwendung
Vollstaendige Next.js/Prisma-E-Commerce-Anwendung fuer eine Imkerei: Shop, Warenkorb, Stripe-Checkout, Kundenkonto mit 2FA, Admin-Bereich (Produkte, Ernten, Chargen, Bestellungen, Gutscheine, admin-editierbare Website-Inhalte), i18n (DE/EN), Rate-Limiting/CSP/Audit-Log-Haertung, PostgreSQL- und MySQL-Unterstuetzung ueber austauschbare Prisma- Treiber-Adapter, Unit-/Komponenten-/E2E-Tests.
This commit is contained in:
1 parent
5c76fcc266
commit
c7927f2883
240 files changed
+26096
-137
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import Link from "next/link";
|
||||
|
||||
/**
|
||||
* Kleiner "Zurueck"-Link fuer Unterseiten im Kundenkonto und Admin-Bereich,
|
||||
* die sonst nur ueber den Browser-Zurueck-Button oder einen Nav-Umweg
|
||||
* verlassen werden koennten (z.B. Bestellungen -> Konto-Uebersicht).
|
||||
*/
|
||||
export function BackLink({ href, label }: { href: string; label: string }) {
|
||||
return (
|
||||
<Link
|
||||
href={href}
|
||||
className="inline-flex items-center gap-1.5 text-sm text-ink/70 hover:text-forest mb-6"
|
||||
>
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.75">
|
||||
<path d="M15 6l-6 6 6 6" />
|
||||
</svg>
|
||||
{label}
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user