6 Commits

Author SHA1 Message Date
e39d53947f Merge version_5 into main
Merge version_5 into main
2026-03-03 16:53:09 +00:00
c51fc44770 Update src/app/page.tsx 2026-03-03 16:52:49 +00:00
0441bda4da Merge version_5 into main
Merge version_5 into main
2026-03-03 16:45:56 +00:00
2b8eff305e Update src/app/page.tsx 2026-03-03 16:45:51 +00:00
add695a5b1 Update src/app/layout.tsx 2026-03-03 16:45:50 +00:00
a3c234e3c1 Merge version_4 into main
Merge version_4 into main
2026-03-03 16:10:37 +00:00
2 changed files with 66 additions and 26 deletions

View File

@@ -2,7 +2,6 @@ import type { Metadata } from "next";
import { Figtree } from "next/font/google"; import { Figtree } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper"; import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const figtree = Figtree({ const figtree = Figtree({
variable: "--font-figtree", subsets: ["latin"], variable: "--font-figtree", subsets: ["latin"],
@@ -36,6 +35,38 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<head>
<script
dangerouslySetInnerHTML={{
__html: `
(function() {
try {
const observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.addedNodes.length) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
if (node.id && node.id.includes('webild')) {
node.remove();
}
if (node.className && typeof node.className === 'string' && node.className.includes('webild')) {
node.remove();
}
if (node.tagName === 'IFRAME' && node.src && node.src.includes('webild')) {
node.remove();
}
}
});
}
});
});
observer.observe(document.body, { childList: true, subtree: true });
} catch(e) {}
})();
`,
}}
/>
</head>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={`${figtree.variable} antialiased`} className={`${figtree.variable} antialiased`}
@@ -45,17 +76,28 @@ export default function RootLayout({
}} }}
> >
<style jsx global>{` <style jsx global>{`
/* Hide Webild watermark */ /* Hide Webild watermark and loading screen */
[data-webild-watermark], [data-webild-watermark],
.webild-watermark, .webild-watermark,
[class*="watermark"], [class*="watermark"],
iframe[src*="webild"] { iframe[src*="webild"],
[id*="webild"],
.webild-loading,
.webild-loader,
[class*="loading"][class*="screen"] {
display: none !important; display: none !important;
visibility: hidden !important; visibility: hidden !important;
opacity: 0 !important; opacity: 0 !important;
pointer-events: none !important; pointer-events: none !important;
width: 0 !important; width: 0 !important;
height: 0 !important; height: 0 !important;
min-width: 0 !important;
min-height: 0 !important;
}
/* Hide any iframes that might be loading screens */
iframe {
display: none !important;
} }
/* Performance optimizations */ /* Performance optimizations */
@@ -79,7 +121,6 @@ export default function RootLayout({
} }
} }
`}</style> `}</style>
<Tag />
{children} {children}
<script <script

View File

@@ -7,7 +7,6 @@ import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import SplitAbout from '@/components/sections/about/SplitAbout'; import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern'; import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen'; import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterMedia from '@/components/sections/footer/FooterMedia'; import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Zap, Cog, Leaf, Rocket, Printer, Package, Image, FileText, Bookmark, Sparkles, MapPin, Phone, Mail, Clock, Globe } from "lucide-react"; import { Zap, Cog, Leaf, Rocket, Printer, Package, Image, FileText, Bookmark, Sparkles, MapPin, Phone, Mail, Clock, Globe } from "lucide-react";
@@ -15,22 +14,22 @@ import { Zap, Cog, Leaf, Rocket, Printer, Package, Image, FileText, Bookmark, Sp
export default function HomePage() { export default function HomePage() {
const navItems = [ const navItems = [
{ name: "Home", id: "/" }, { name: "Home", id: "/" },
{ name: "Services", id: "/services" }, { name: "Services", id: "#services" },
{ name: "Products", id: "/products" }, { name: "Products", id: "#products" },
{ name: "About", id: "/about" }, { name: "About", id: "#about" },
{ name: "Contact", id: "/contact" }, { name: "Contact", id: "#contact" },
]; ];
const handleNavClick = (id: string) => { const handleNavClick = (id: string) => {
if (id === "/") { if (id === "/") {
window.location.href = "/"; window.location.href = "/";
} else if (id.startsWith("/")) { } else if (id.startsWith("#")) {
window.location.href = id; const element = document.querySelector(id);
} else {
const element = document.querySelector(`#${id}`);
if (element) { if (element) {
element.scrollIntoView({ behavior: "smooth" }); element.scrollIntoView({ behavior: "smooth" });
} }
} else if (id.startsWith("/")) {
window.location.href = id;
} }
}; };
@@ -69,8 +68,8 @@ export default function HomePage() {
showBlur={true} showBlur={true}
showDimOverlay={true} showDimOverlay={true}
buttons={[ buttons={[
{ text: "Request a Quote", href: "/contact" }, { text: "Request a Quote", href: "#contact" },
{ text: "Learn More", href: "/about" }, { text: "Learn More", href: "#about" },
]} ]}
buttonAnimation="slide-up" buttonAnimation="slide-up"
ariaLabel="LichtPrint hero section with premium printing solutions" ariaLabel="LichtPrint hero section with premium printing solutions"
@@ -97,7 +96,7 @@ export default function HomePage() {
textboxLayout="default" textboxLayout="default"
useInvertedBackground={false} useInvertedBackground={false}
imagePosition="right" imagePosition="right"
buttons={[{ text: "Explore Services", href: "/services" }]} buttons={[{ text: "Explore Services", href: "#services" }]}
buttonAnimation="slide-up" buttonAnimation="slide-up"
/> />
</div> </div>
@@ -143,7 +142,7 @@ export default function HomePage() {
animationType="slide-up" animationType="slide-up"
textboxLayout="default" textboxLayout="default"
useInvertedBackground={false} useInvertedBackground={false}
buttons={[{ text: "View All Products", href: "/products" }]} buttons={[{ text: "View All Products", href: "#products" }]}
buttonAnimation="slide-up" buttonAnimation="slide-up"
/> />
</div> </div>
@@ -337,25 +336,25 @@ export default function HomePage() {
columns={[ columns={[
{ {
title: "Services", items: [ title: "Services", items: [
{ label: "Digital Printing", href: "/services" }, { label: "Digital Printing", href: "#services" },
{ label: "Offset Printing", href: "/services" }, { label: "Offset Printing", href: "#services" },
{ label: "Packaging", href: "/services" }, { label: "Packaging", href: "#services" },
{ label: "Large Format", href: "/services" }, { label: "Large Format", href: "#services" },
], ],
}, },
{ {
title: "Company", items: [ title: "Company", items: [
{ label: "About Us", href: "/about" }, { label: "About Us", href: "#about" },
{ label: "Our Team", href: "/about" }, { label: "Our Team", href: "#about" },
{ label: "Careers", href: "#" }, { label: "Careers", href: "#" },
{ label: "Blog", href: "#" }, { label: "Blog", href: "#" },
], ],
}, },
{ {
title: "Support", items: [ title: "Support", items: [
{ label: "Contact Us", href: "/contact" }, { label: "Contact Us", href: "#contact" },
{ label: "FAQ", href: "#faq" }, { label: "FAQ", href: "#" },
{ label: "Pricing", href: "#pricing" }, { label: "Pricing", href: "#" },
{ label: "Privacy Policy", href: "#" }, { label: "Privacy Policy", href: "#" },
], ],
}, },