From 4b8885626f1c5f8ae59b559b58a70aa29fac82fa Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 24 Feb 2026 20:22:46 +0000 Subject: [PATCH 1/2] Update src/app/layout.tsx --- src/app/layout.tsx | 1371 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1369 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0cd8c4e..fc2bc0c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -18,14 +18,14 @@ export const metadata: Metadata = { follow: true }, openGraph: { - title: "La Loupe Vintage | Late 60s – 90s Vintage Fashion", description: "Curated vintage clothing from the late 1960s-1990s. Buy, sell, or trade at La Loupe Vintage in San Diego.", type: "website", url: "https://laloupevintage.com", siteName: "La Loupe Vintage", images: [ + title: "La Loupe Vintage | La Loupe Vintage Fashion", description: "Curated vintage clothing from the late 1960s-1990s. Buy, sell, or trade at La Loupe Vintage in San Diego.", type: "website", url: "https://laloupevintage.com", siteName: "La Loupe Vintage", images: [ { url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_39nsxwmbCTX7ZcKAFBAu1R1W3iH/uploaded-1771962909785-p7zjknnj.png", alt: "La Loupe Vintage - Curated Vintage Fashion" } ] }, twitter: { - card: "summary_large_image", title: "La Loupe Vintage | Curated Vintage Clothing", description: "Late 60s – 90s Vintage. Buy. Sell. Trade. San Diego.", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_39nsxwmbCTX7ZcKAFBAu1R1W3iH/uploaded-1771962909785-p7zjknnj.png"] + card: "summary_large_image", title: "La Loupe Vintage | Curated Vintage Clothing", description: "La Loupe Vintage. Buy. Sell. Trade. San Diego.", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_39nsxwmbCTX7ZcKAFBAu1R1W3iH/uploaded-1771962909785-p7zjknnj.png"] } }; @@ -2677,6 +2677,1373 @@ export default function RootLayout({ }, true); + notifyPageChange(); + + window.webildCleanup = () => { + isActive = false; + + if (selectedElement) { + makeUneditable(selectedElement, false); + } + + removeHoverOverlay(); + removeElementTypeLabel(); + + if (urlCheckInterval) { + clearInterval(urlCheckInterval); + } + + document.removeEventListener('mouseover', handleMouseOver, true); + document.removeEventListener('mouseout', handleMouseOut, true); + document.removeEventListener('click', handleClick, true); + document.removeEventListener('keydown', handleKeyDown, true); + document.removeEventListener('blur', handleBlur, true); + window.removeEventListener('scroll', handleScroll, true); + window.removeEventListener('message', handleMessage, true); + + document.querySelectorAll('.' + hoverClass).forEach(el => { + el.classList.remove(hoverClass); + }); + document.querySelectorAll('.' + selectedClass).forEach(el => { + el.classList.remove(selectedClass); + }); + + const styleEl = document.getElementById('webild-inspector-styles'); + if (styleEl) styleEl.remove(); + + hoveredElement = null; + selectedElement = null; + }; + + window.parent.postMessage({ type: 'webild-editor-ready' }, '*'); +})(); +` + }} + /> + +