Merge version_19 into main

Merge version_19 into main
This commit was merged in pull request #27.
This commit is contained in:
2026-03-09 10:01:44 +00:00
2 changed files with 74 additions and 22 deletions

View File

@@ -1,12 +1,14 @@
import type { Metadata } from "next";
import { Heebo } from "next/font/google";
import "./globals.css";
import { Inter } from "next/font/google";
import "./styles/variables.css";
import "./styles/base.css";
const heebo = Heebo({ subsets: ["hebrew", "latin"] });
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "אתר פלוס | בניית אתרים מקצועיים לעסקים בישראל", description: "אתר פלוס מספק פתרונות עיצוב ובנייה אתרים מקצועיים לעסקים בישראל. אתרים מהירים, מאובטחים ומותאמים לכל מכשיר."
};
title: "אתר פלוס - בנייה אתרים מקצועיים בישראל", description: "אתר פלוס מספק פתרונות עיצוב ובנייה אתרים מקצועיים לעסקים בישראל. אתרים מהירים, מאובטחים ומותאמים לכל מכשיר."};
export default function RootLayout({
children,
@@ -14,8 +16,26 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="he" dir="ltr">
<body className={heebo.className}>{children}
<html lang="he" dir="rtl" suppressHydrationWarning>
<head>
<script
id="lenis"
dangerouslySetInnerHTML={{
__html: `
window.lenisOptions = {
lerp: 0.1,
duration: 1.2,
easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)),
syncTouch: false,
};
`,
}}
/>
</head>
<body className={`${inter.variable}`} suppressHydrationWarning>
<Tag />
<ServiceWrapper>{children}</ServiceWrapper>
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1385,4 +1405,51 @@ export default function RootLayout({
</body>
</html>
);
}
function Tag() {
return (
<script
dangerouslySetInnerHTML={{
__html: `
const el = document.documentElement;
const getCSSVariable = (variable) => {
return getComputedStyle(el).getPropertyValue(variable).trim();
};
const setVW = () => {
const vw = window.innerWidth * 0.01;
el.style.setProperty('--vw', vw + 'px');
};
setVW();
window.addEventListener('resize', setVW);
`,
}}
/>
);
}
function ServiceWrapper({ children }: { children: React.ReactNode }) {
return (
<>
{children}
<script
src="https://cdn.jsdelivr.net/gh/darkroomengineering/lenis@latest/bundled/lenis.js"
async
></script>
<script
dangerouslySetInnerHTML={{
__html: `
window.addEventListener('load', () => {
const lenis = new Lenis(window.lenisOptions);
function raf(time) {
lenis.raf(time);
requestAnimationFrame(raf);
}
requestAnimationFrame(raf);
});
`,
}}
/>
</>
);
}

View File

@@ -5,7 +5,6 @@ import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloating
import HeroCentered from '@/components/sections/hero/HeroCentered';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import PricingCardFive from '@/components/sections/pricing/PricingCardFive';
import Input from '@/components/form/Input';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
@@ -167,20 +166,6 @@ export default function LandingPage() {
</div>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardTen
testimonials={[
{
id: "1", title: "שינוי דרמטי בתקשורת הלקוחות", quote: "אתר פלוס שינה את הדרך שלנו לתקשר עם הלקוחות שלנו. האתר הם יפה, מהיר ומקצועי. הצוות שלהם היה מעולה בתהליך כל הדרך!", name: "דוד כהן", role: "בעלי עסק קטן", imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg", imageAlt: "David"
}
]}
title="הלקוחות שלנו מדברים"
description="קראו מה אומרים הלקוחות שלנו על שירותינו"
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
<div id="pricing" data-section="pricing">
<PricingCardFive
title="בחר את החבילה שלך"