5 Commits

Author SHA1 Message Date
d78dc3737b Merge version_3_1778146433014 into main
Merge version_3_1778146433014 into main
2026-05-07 09:36:26 +00:00
kudinDmitriyUp
0686bee338 fix: remove visual editor script and stray text 2026-05-07 09:36:17 +00:00
bdf9258d7b Merge version_2_1778146162921 into main
Merge version_2_1778146162921 into main
2026-05-07 09:32:49 +00:00
kudinDmitriyUp
8012bf0b32 feat: Make hero section background red 2026-05-07 09:32:29 +00:00
a1e477d79b Merge version_1_1778137456479 into main
Merge version_1_1778137456479 into main
2026-05-07 07:10:05 +00:00
4 changed files with 1 additions and 1494 deletions

View File

@@ -23,7 +23,7 @@ const HeroBillboardTiltedCarousel = ({
return (
<section
aria-label="Hero section"
className="relative flex flex-col items-center justify-center gap-8 w-full min-h-svh py-25"
className="relative flex flex-col items-center justify-center gap-8 w-full min-h-svh py-25 bg-background"
>
<HeroBackgroundSlot />
<div className="flex flex-col items-center gap-2 w-content-width mx-auto text-center">

View File

@@ -3,9 +3,7 @@ import { createRoot } from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import './index.css'
import App from './App.tsx'
import { initVisualEdit } from '@/utils/visual-edit'
initVisualEdit()
createRoot(document.getElementById('root')!).render(
<StrictMode>

File diff suppressed because it is too large Load Diff

View File

@@ -1,20 +0,0 @@
import { getVisualEditScript, getVisualEditScriptRaw } from './visual-edit-script'
export { getVisualEditScript }
export function initVisualEdit() {
// Inside iframe we must actually run the editor code so it can
// attach listeners and interact with the DOM.
if (window.self !== window.top) {
const script = document.createElement('script')
script.id = 'webild-visual-edit'
script.textContent = getVisualEditScriptRaw()
document.head.appendChild(script)
return
}
// Expose helper for parent tools/dev.
if (import.meta.env.DEV) {
window.__getVisualEditScript = getVisualEditScript
}
}