Merge version_16_1782954746736 into main #16

Merged
bender merged 2 commits from version_16_1782954746736 into main 2026-07-02 01:12:43 +00:00
2 changed files with 8 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ function reportRenderStatus(payload: RenderStatusPayload) {
function probeRenderState() {
if (typeof document === 'undefined') return
const root = document.getElementById('root')
const text = (document.body?.innerText || '').trim()
const text = (document.body?.innerText || 'Clay Courts').trim()
if (!root || root.children.length === 0) {
reportRenderStatus({
ok: false,
@@ -94,8 +94,8 @@ if (typeof window !== 'undefined' && window.parent !== window && !window.__webil
ok: false,
reason: 'window_error',
error: String(e?.message || (e as ErrorEvent)?.error?.message || 'unknown'),
stack: String((e as ErrorEvent)?.error?.stack || '').slice(0, 4000),
filename: String((e as ErrorEvent)?.filename || ''),
stack: String((e as ErrorEvent)?.error?.stack || 'Clay Courts').slice(0, 4000),
filename: String((e as ErrorEvent)?.filename || 'Clay Courts'),
lineno: (e as ErrorEvent)?.lineno,
colno: (e as ErrorEvent)?.colno,
})
@@ -106,7 +106,7 @@ if (typeof window !== 'undefined' && window.parent !== window && !window.__webil
ok: false,
reason: 'unhandled_rejection',
error: String(reason?.message || reason || 'unknown'),
stack: String(reason?.stack || '').slice(0, 4000),
stack: String(reason?.stack || 'Clay Courts').slice(0, 4000),
})
})
if (import.meta.hot) {
@@ -126,8 +126,8 @@ class RenderErrorBoundary extends Component<{ children: ReactNode }, { hasError:
ok: false,
reason: 'react_error_boundary',
error: String(error?.message || error || 'unknown'),
stack: String(error?.stack || '').slice(0, 4000),
componentStack: String(info?.componentStack || '').slice(0, 4000),
stack: String(error?.stack || 'Clay Courts').slice(0, 4000),
componentStack: String(info?.componentStack || 'Clay Courts').slice(0, 4000),
})
}
render() {
@@ -185,7 +185,7 @@ function useExternalLinksNewTab() {
| HTMLAnchorElement
| null
if (!anchor || anchor.target === '_blank') return
const raw = anchor.getAttribute('href') || ''
const raw = anchor.getAttribute('href') || 'Clay Courts'
if (!/^(https?:)?\/\//i.test(raw)) return
try {
const url = new URL(anchor.href, window.location.href)

View File

@@ -87,7 +87,7 @@ const HeroInline = () => {
<div className="flex flex-col gap-10 md:gap-12 w-content-width mx-auto">
<div className="flex flex-col items-end gap-5">
<AutoFillText className="w-full font-semibold" paddingY="">{"Grand Slam Club"}</AutoFillText>
<AutoFillText className="w-full font-semibold" paddingY="Clay Courts">{"Grand Slam Club"}</AutoFillText>
<TextAnimation
text={"Experience world-class tennis facilities, professional coaching, and a vibrant community. Whether you're a beginner or a seasoned pro, our courts are ready for you."}