revert: Sub-fase 1 ADR 0007 (tokens+smoke test) fuera de produccion
El smoke test en aislamiento (boton CTA terracota + precio en Fraunces) no se puede juzgar de forma justa rodeado del resto de la pagina, que sigue en la paleta anterior (badges NUEVO/TOP en fucsia/ amarillo, fondo blanco) -- choque visual real, no una direccion de marca evaluable. Ademas la direccion terracota/artesanal en si no era lo que se buscaba (se quiere premium/serio, no rustico). Vuelve product-card.tsx y button.tsx a su estado anterior a Sub-fase 1. globals.css/layout.tsx quedan con los tokens y next/font ya integrados (nadie los consume todavia, cero impacto visual) para no rehacer ese trabajo de infraestructura -- la proxima iteracion de diseno se construye y aprueba en una preview aislada (fuera del storefront real) antes de volver a tocar produccion.
This commit is contained in:
1 parent
9c11e16779
commit
ef16858d35
4 files changed
+11
-32
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { Fraunces, Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { CartDrawer } from "@/components/cart/cart-drawer";
|
||||
import { Footer } from "@/components/layout/footer";
|
||||
@@ -21,15 +20,9 @@ export const metadata: Metadata = {
|
||||
openGraph: { title: "ARI Shopping", description: "Tesoros para cada aventura.", type: "website", locale: "es_CO" },
|
||||
};
|
||||
|
||||
export const viewport: Viewport = { width: "device-width", initialScale: 1, themeColor: "#2B1B13" };
|
||||
|
||||
// ADR 0007: Fraunces (titulares/precio) + Inter (UI/cuerpo) cargadas via
|
||||
// next/font -- antes "Inter" era solo un nombre de fallback en el CSS, sin
|
||||
// garantia real de que el navegador tuviera esa fuente instalada.
|
||||
const inter = Inter({ subsets: ["latin"], variable: "--font-inter", display: "swap" });
|
||||
const fraunces = Fraunces({ subsets: ["latin"], variable: "--font-fraunces", display: "swap" });
|
||||
export const viewport: Viewport = { width: "device-width", initialScale: 1, themeColor: "#0f172a" };
|
||||
|
||||
export default async function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
||||
const [products, categories] = await Promise.all([getProducts(), getCategories()]);
|
||||
return <html lang="es" className={`${inter.variable} ${fraunces.variable}`}><body><Navbar products={products} categories={categories} /><main>{children}</main><Footer /><CartDrawer /><WishlistDrawer /></body></html>;
|
||||
return <html lang="es"><body><Navbar products={products} categories={categories} /><main>{children}</main><Footer /><CartDrawer /><WishlistDrawer /></body></html>;
|
||||
}
|
||||
Reference in new issue
Block a user