fix(ui): Weg vom Admin zur Website, Anfuehrungszeichen nicht mehr ueber den Sternen
Docker Image bauen und veroeffentlichen / build-and-push (push) Successful in 2m28s
Docker Image bauen und veroeffentlichen / build-and-push (push) Successful in 2m28s
- Admin-Leiste (Desktop und Mobilmenue): Link "Zur Website" oberhalb von "Angemeldet als". Der Shop-Kopf ist im Admin ausgeblendet, bisher fuehrte von dort kein sichtbarer Weg zurueck. - Startseite, Kundenstimmen: das grosse Schriftzeichen "„" sass auf der Grundlinie und ragte mit leading-[0.6] in die Sternebewertung. Ersetzt durch ein gezeichnetes SVG mit fester Hoehe und Abstand. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
52ce37e216
commit
a4581d3467
5 files changed
+34
-3
No files matched your search
@@ -207,6 +207,26 @@ export function AdminShell({ adminName, logoSrc = null, badges = {}, logoutActio
|
|||||||
|
|
||||||
const footer = (
|
const footer = (
|
||||||
<div className="px-5 py-4 border-t border-cream/10">
|
<div className="px-5 py-4 border-t border-cream/10">
|
||||||
|
{/* Der Shop-Kopf ist im Admin ausgeblendet (HideOnAdmin) — ohne diesen
|
||||||
|
Link fuehrte kein Weg zurueck auf die Website. */}
|
||||||
|
<Link
|
||||||
|
href="/"
|
||||||
|
className="group mb-4 inline-flex items-center gap-2 py-1 text-sm text-cream/90 hover:text-cream"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
width="14"
|
||||||
|
height="14"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
strokeWidth="1.75"
|
||||||
|
aria-hidden="true"
|
||||||
|
className="transition-transform duration-300 ease-[var(--ease-arrive)] group-hover:-translate-x-0.5 motion-reduce:transition-none"
|
||||||
|
>
|
||||||
|
<path d="M15 6l-6 6 6 6" />
|
||||||
|
</svg>
|
||||||
|
<span className="link-draw">{t.adminShell.backToWebsite}</span>
|
||||||
|
</Link>
|
||||||
<p className="text-xs text-cream/60 truncate">{t.adminShell.loggedInAs(adminName)}</p>
|
<p className="text-xs text-cream/60 truncate">{t.adminShell.loggedInAs(adminName)}</p>
|
||||||
<form action={logoutAction} className="mt-2">
|
<form action={logoutAction} className="mt-2">
|
||||||
<button type="submit" className="text-xs text-cream/80 underline hover:text-cream">
|
<button type="submit" className="text-xs text-cream/80 underline hover:text-cream">
|
||||||
|
|||||||
@@ -189,9 +189,17 @@ export async function Reviews() {
|
|||||||
<div className="mt-14 grid md:grid-cols-3 gap-10">
|
<div className="mt-14 grid md:grid-cols-3 gap-10">
|
||||||
{items.slice(0, 6).map((review, i) => (
|
{items.slice(0, 6).map((review, i) => (
|
||||||
<ScrollReveal key={`${review.author}-${i}`} delay={i * 0.08}>
|
<ScrollReveal key={`${review.author}-${i}`} delay={i * 0.08}>
|
||||||
<span aria-hidden="true" className="block font-serif text-7xl leading-[0.6] text-honey-light/70">
|
{/* Gezeichnet statt als Schriftzeichen: ein grosses "„" sitzt auf
|
||||||
„
|
der Grundlinie und ragte mit enger Zeilenhoehe in die Sterne. */}
|
||||||
</span>
|
<svg
|
||||||
|
viewBox="0 0 40 28"
|
||||||
|
className="mb-4 h-7 w-10 text-honey-light/70"
|
||||||
|
fill="currentColor"
|
||||||
|
aria-hidden="true"
|
||||||
|
>
|
||||||
|
<path d="M8.5 2a7.5 7.5 0 0 1 7.5 7.5c0 7.4-4.6 13.9-11.6 16.5l-1-2.2c4.2-2.1 6.7-5.5 7.1-9.3A7.5 7.5 0 1 1 8.5 2z" />
|
||||||
|
<path d="M30 2a7.5 7.5 0 0 1 7.5 7.5c0 7.4-4.6 13.9-11.6 16.5l-1-2.2c4.2-2.1 6.7-5.5 7.1-9.3A7.5 7.5 0 1 1 30 2z" />
|
||||||
|
</svg>
|
||||||
<StarRating value={review.rating} />
|
<StarRating value={review.rating} />
|
||||||
<span className="sr-only">{t.home.reviews.starsOutOf5(review.rating)}</span>
|
<span className="sr-only">{t.home.reviews.starsOutOf5(review.rating)}</span>
|
||||||
<p className="mt-4 font-serif text-xl text-cream/90 leading-relaxed italic">
|
<p className="mt-4 font-serif text-xl text-cream/90 leading-relaxed italic">
|
||||||
|
|||||||
@@ -1327,6 +1327,7 @@ export const de: Dictionary = {
|
|||||||
uploadErrorNetwork: "Die Verbindung zum Server wurde während des Uploads unterbrochen.",
|
uploadErrorNetwork: "Die Verbindung zum Server wurde während des Uploads unterbrochen.",
|
||||||
},
|
},
|
||||||
adminShell: {
|
adminShell: {
|
||||||
|
backToWebsite: "Zur Website",
|
||||||
navDashboard: "Dashboard",
|
navDashboard: "Dashboard",
|
||||||
navOrders: "Bestellungen",
|
navOrders: "Bestellungen",
|
||||||
navReturns: "Retouren",
|
navReturns: "Retouren",
|
||||||
|
|||||||
@@ -1313,6 +1313,7 @@ export const en: Dictionary = {
|
|||||||
uploadErrorNetwork: "The connection to the server was interrupted during the upload.",
|
uploadErrorNetwork: "The connection to the server was interrupted during the upload.",
|
||||||
},
|
},
|
||||||
adminShell: {
|
adminShell: {
|
||||||
|
backToWebsite: "Back to website",
|
||||||
navDashboard: "Dashboard",
|
navDashboard: "Dashboard",
|
||||||
navOrders: "Orders",
|
navOrders: "Orders",
|
||||||
navReturns: "Returns",
|
navReturns: "Returns",
|
||||||
|
|||||||
@@ -982,6 +982,7 @@ export interface Dictionary {
|
|||||||
uploadErrorNetwork: string;
|
uploadErrorNetwork: string;
|
||||||
};
|
};
|
||||||
adminShell: {
|
adminShell: {
|
||||||
|
backToWebsite: string;
|
||||||
navDashboard: string;
|
navDashboard: string;
|
||||||
navOrders: string;
|
navOrders: string;
|
||||||
navReturns: string;
|
navReturns: string;
|
||||||
|
|||||||
Reference in new issue
Block a user