diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 14c6e19..818a2de 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -45,7 +45,7 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - + 1000; @@ -348,7 +348,7 @@ export default function RootLayout({ const computedStyle = window.getComputedStyle(element); const backgroundImage = computedStyle.backgroundImage; if (backgroundImage && backgroundImage !== 'none') { - const urlMatch = backgroundImage.match(/url(['"]?([^'")]+)['"]?)/); + const urlMatch = backgroundImage.match(/url(['"\(]?([^'"\)]+)['")\)]?/); if (urlMatch) { const originalBgSrc = extractOriginalUrl(urlMatch[1]); if (tagName !== 'img') { @@ -1301,7 +1301,7 @@ export default function RootLayout({ let cleanOldValue = oldValue; if (oldValue.includes('url(')) { - const urlMatch = oldValue.match(/url(['"]?([^'")]+)['"]?)/); + const urlMatch = oldValue.match(/url(['"\(]?([^'"\)]+)['")\)]?/); if (urlMatch) { cleanOldValue = urlMatch[1]; } diff --git a/src/app/page.tsx b/src/app/page.tsx index 137ab02..88bb0f8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,182 +1,34 @@ "use client"; -import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; -import HeroLogoBillboard from "@/components/sections/hero/HeroLogoBillboard"; -import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia"; -import ProductCardTwo from "@/components/sections/product/ProductCardTwo"; -import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix"; -import ContactFaq from "@/components/sections/contact/ContactFaq"; -import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"; -import { Phone } from "lucide-react"; +import ThemeProvider from "@/theme/ThemeProvider"; +import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; -export default function LandingPage() { +export default function Page() { return ( - - -
- -
- -
- -
- - - -
- -
- -
- -
- - +
); }