2025-12-03 16:48:15 +03:30
|
|
|
'use client'
|
|
|
|
|
|
|
|
|
|
import FooterSection from '@/components/footer'
|
|
|
|
|
import { HeroHeader } from '@/components/header'
|
2026-07-23 17:00:55 +03:30
|
|
|
import { PageAtmosphere, PageGrid } from '@/components/page-atmosphere'
|
2025-12-03 16:48:15 +03:30
|
|
|
|
2026-07-02 02:46:20 +03:30
|
|
|
export function ConditionalLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode
|
|
|
|
|
}) {
|
2025-12-03 16:48:15 +03:30
|
|
|
return (
|
|
|
|
|
<>
|
2026-07-23 17:00:55 +03:30
|
|
|
<PageAtmosphere />
|
|
|
|
|
<div className="page-content relative">
|
|
|
|
|
<PageGrid />
|
|
|
|
|
<div className="relative z-[1]">
|
|
|
|
|
<HeroHeader />
|
|
|
|
|
{children}
|
|
|
|
|
<FooterSection />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-12-03 16:48:15 +03:30
|
|
|
</>
|
|
|
|
|
)
|
|
|
|
|
}
|