Compare commits
22 Commits
version_3_
...
version_15
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06291f1d61 | ||
| 801a71a63c | |||
|
|
6bdd737c93 | ||
| 37d682e175 | |||
|
|
af9a2fc4b8 | ||
| 84cafd06a5 | |||
|
|
49264d3681 | ||
| fd1ac7bc41 | |||
|
|
da8623ec5a | ||
| 0013e8be10 | |||
|
|
a38364db13 | ||
| 0f9771b168 | |||
|
|
a705f29077 | ||
| b1d7ce8eea | |||
|
|
b5ba3b55a9 | ||
| b3ef64ad12 | |||
|
|
d2e45b786d | ||
| 3ec10cf704 | |||
|
|
48b7ffc46b | ||
| 6807dcfe50 | |||
|
|
9c6445d694 | ||
| 84b1a1e6ef |
@@ -1,5 +1,5 @@
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import NavbarFloating from '@/components/ui/NavbarFloating';
|
||||
import NavbarDropdown from '@/components/ui/NavbarDropdown';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
|
||||
import { Outlet } from 'react-router-dom';
|
||||
@@ -41,8 +41,9 @@ export default function Layout() {
|
||||
<StyleProvider buttonVariant="magnetic" siteBackground="noiseGradient" heroBackground="lightRaysCorner">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloating
|
||||
<NavbarDropdown
|
||||
logo="AC&HS Meridian"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/users/user_3FsKwY1z0whbLqu4cWcJMuckrXb/uploaded-1782935786478-16hkrfrf.png"
|
||||
ctaButton={{
|
||||
text: "Schedule Service",
|
||||
href: "#contact",
|
||||
|
||||
@@ -6,6 +6,7 @@ import Button from "@/components/ui/Button";
|
||||
|
||||
interface NavbarDropdownProps {
|
||||
logo: string;
|
||||
logoImageSrc?: string;
|
||||
navItems: { name: string; href: string }[];
|
||||
ctaButton: { text: string; href: string };
|
||||
}
|
||||
@@ -19,7 +20,7 @@ const handleNavClick = (e: React.MouseEvent<HTMLAnchorElement>, href: string, on
|
||||
onClose?.();
|
||||
};
|
||||
|
||||
const NavbarDropdown = ({ logo, navItems, ctaButton }: NavbarDropdownProps) => {
|
||||
const NavbarDropdown = ({ logo, logoImageSrc, navItems, ctaButton }: NavbarDropdownProps) => {
|
||||
const [menuOpen, setMenuOpen] = useState(false);
|
||||
const navRef = useRef<HTMLElement>(null);
|
||||
|
||||
|
||||
@@ -16,22 +16,15 @@ import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<AboutSection />
|
||||
|
||||
<ServicesSection />
|
||||
|
||||
<MetricsSection />
|
||||
|
||||
<TeamSection />
|
||||
|
||||
<ReviewsSection />
|
||||
|
||||
<FaqSection />
|
||||
|
||||
<ContactSection />
|
||||
<>
|
||||
<HeroSection />
|
||||
<AboutSection />
|
||||
<ServicesSection />
|
||||
<MetricsSection />
|
||||
<TeamSection />
|
||||
<ReviewsSection />
|
||||
<FaqSection />
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,28 +1,59 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "contact" section.
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import Button from "@/components/ui/Button";
|
||||
|
||||
import React from 'react';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
const primaryButton = {
|
||||
text: "Call to Schedule",
|
||||
href: "tel:5551234567"
|
||||
};
|
||||
const secondaryButton = {
|
||||
text: "Contact by Email",
|
||||
href: "mailto:info@meridianhvac.com"
|
||||
};
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
const ContactInline = () => {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Book Now"
|
||||
text="Ready to get your home back to comfort? Contact us today to schedule your service. Located at 880 E Franklin Rd Ste 313, Meridian, ID 83642. Open 9 AM to 5 PM daily, seven days a week."
|
||||
primaryButton={{
|
||||
text: "Call to Schedule",
|
||||
href: "tel:5551234567",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Contact by Email",
|
||||
href: "mailto:info@meridianhvac.com",
|
||||
}}
|
||||
textAnimation="slide-up"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<section aria-label="Contact section" className="py-20">
|
||||
<div className="w-content-width mx-auto">
|
||||
<ScrollReveal variant="fade-blur">
|
||||
<div className="flex flex-col items-center gap-8 md:gap-10 py-20 px-8 rounded card">
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Book Now"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Ready to get your home back to comfort? Contact us today to schedule your service."}
|
||||
variant={"slide-up"}
|
||||
gradientText={true}
|
||||
tag="h2"
|
||||
className="md:max-w-8/10 text-5xl 2xl:text-6xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<div className="flex flex-col items-center gap-1 mt-4 text-foreground text-center text-2xl">
|
||||
<p><strong>Location:</strong> <a href="https://maps.google.com/?q=880+E+Franklin+Rd+Ste+313,+Meridian,+ID+83642" target="_blank" rel="noopener noreferrer" className="underline hover:text-primary-cta transition-colors">880 E Franklin Rd Ste 313, Meridian, ID 83642</a></p>
|
||||
<p><strong>Hours:</strong> 9 AM to 5 PM daily, seven days a week</p>
|
||||
<p className="text-sm italic mt-1 text-black">* Hours may vary on holidays</p>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary" />
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary" animationDelay={0.1} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function ContactSection() {
|
||||
return (
|
||||
<div data-webild-section="contact" id="contact">
|
||||
<ContactInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
29
src/pages/HomePage/sections/Partners.tsx
Normal file
29
src/pages/HomePage/sections/Partners.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import LoopCarousel from '@/components/ui/LoopCarousel';
|
||||
import ImageOrVideo from '@/components/ui/ImageOrVideo';
|
||||
|
||||
export default function PartnersSection() {
|
||||
const partners = ["Carrier", "Trane", "Lennox", "Goodman", "Rheem", "York", "Bryant", "Daikin", "Mitsubishi", "Ruud"];
|
||||
|
||||
return (
|
||||
<section data-webild-section="partners" id="partners" className="relative w-full py-12 bg-background overflow-hidden border-y border-foreground/5">
|
||||
<div className="w-content-width mx-auto mb-8 flex flex-col items-center">
|
||||
<ImageOrVideo
|
||||
imageSrc="https://storage.googleapis.com/webild/users/user_3FsKwY1z0whbLqu4cWcJMuckrXb/uploaded-1782936586781-6mty6kt1.png"
|
||||
className="w-full max-w-4xl h-auto mb-12 rounded-xl shadow-2xl"
|
||||
/>
|
||||
<p className="text-center text-sm font-semibold text-accent uppercase tracking-wider">
|
||||
Trusted by industry leaders
|
||||
</p>
|
||||
</div>
|
||||
<LoopCarousel>
|
||||
<div className="flex items-center gap-16 px-8">
|
||||
{partners.map((partner, index) => (
|
||||
<span key={index} className="text-2xl md:text-3xl font-bold text-foreground/30 whitespace-nowrap">
|
||||
{partner}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</LoopCarousel>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -1,43 +1,111 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "reviews" section.
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import { Star } from "lucide-react";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import Carousel from "@/components/ui/Carousel";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
import React from 'react';
|
||||
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
const avatars = [
|
||||
{
|
||||
name: "Shawn D",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-handsome-dark-haired-latin-man-posing-with-arms-folded-kitchen_74855-8094.jpg"
|
||||
},
|
||||
{
|
||||
name: "Roxanne G",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-carefree-brunette-woman-sitting-couch-living-room-online-shopping_1258-201984.jpg"
|
||||
},
|
||||
{
|
||||
name: "Richard G",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-with-disposable-coffee-cup_107420-12311.jpg"
|
||||
},
|
||||
{
|
||||
name: "April M",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiling-businessman-using-modern-smart-phone-young-happy-man-working-his-office-holding-cellphone_1391-602.jpg"
|
||||
},
|
||||
{
|
||||
name: "Lora O",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/courier-delivering-groceries-home_23-2149738006.jpg"
|
||||
}
|
||||
];
|
||||
|
||||
type Avatar = {
|
||||
name: string;
|
||||
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||
|
||||
const ReviewsInline = () => {
|
||||
const visibleAvatars = avatars.slice(0, 6);
|
||||
const remainingCount = avatars.length - visibleAvatars.length;
|
||||
|
||||
export default function ReviewsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="reviews" data-section="reviews">
|
||||
<SectionErrorBoundary name="reviews">
|
||||
<TestimonialTrustCard
|
||||
quote="This company is amazing to work with and absolutely the best. I cannot recommend them enough to anyone. On time, very thorough with the diagnostic of the problem and explained the best cost effective way to fix it. I wish I could give them more stars."
|
||||
rating={5}
|
||||
author="Shawn Deidrich"
|
||||
avatars={[
|
||||
{
|
||||
name: "Shawn D",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-handsome-dark-haired-latin-man-posing-with-arms-folded-kitchen_74855-8094.jpg",
|
||||
},
|
||||
{
|
||||
name: "Roxanne G",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-carefree-brunette-woman-sitting-couch-living-room-online-shopping_1258-201984.jpg",
|
||||
},
|
||||
{
|
||||
name: "Richard G",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-with-disposable-coffee-cup_107420-12311.jpg",
|
||||
},
|
||||
{
|
||||
name: "April M",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiling-businessman-using-modern-smart-phone-young-happy-man-working-his-office-holding-cellphone_1391-602.jpg",
|
||||
},
|
||||
{
|
||||
name: "Lora O",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/courier-delivering-groceries-home_23-2149738006.jpg",
|
||||
},
|
||||
]}
|
||||
textAnimation="slide-up"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<section aria-label="Testimonials section" className="py-20">
|
||||
<div className="flex flex-col items-center gap-5 w-content-width mx-auto">
|
||||
<ScrollReveal variant="fade-blur" className="flex gap-1.5">
|
||||
{Array.from({ length: 5 }).map((_, index) => (
|
||||
<Star
|
||||
key={index}
|
||||
className={cls("size-6 text-accent", index < 5 ? "fill-accent" : "fill-transparent")}
|
||||
strokeWidth={1.5}
|
||||
/>
|
||||
))}
|
||||
</ScrollReveal>
|
||||
|
||||
<Carousel className="w-full" itemClassName="w-full shrink-0 flex flex-col items-center justify-center px-4">
|
||||
<div className="flex flex-col items-center gap-6 w-full max-w-5xl mx-auto">
|
||||
<TextAnimation
|
||||
text={"This company is amazing to work with and absolutely the best. I cannot recommend them enough to anyone. On time, very thorough with the diagnostic of the problem and explained the best cost effective way to fix it. I wish I could give them more stars."}
|
||||
variant={"slide-up"}
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="text-3xl md:text-4xl 2xl:text-5xl leading-[1.2] font-semibold text-center text-balance"
|
||||
/>
|
||||
<ScrollReveal variant="fade-blur" delay={0.1} className="text-lg md:text-xl leading-snug text-center text-balance">
|
||||
<p>{"Shawn Deidrich"}</p>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
<div className="flex flex-col items-center gap-6 w-full max-w-5xl mx-auto">
|
||||
<TextAnimation
|
||||
text={"Nick was excellent. Explained a few things on questions I had, very professionally. I appreciate the time he took in conversation while he was doing the work. Very courteous and respectful. I would definitely recommend ACHSM to trusted people who would only respect and honor you in business. Thanks again."}
|
||||
variant={"slide-up"}
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="text-3xl md:text-4xl 2xl:text-5xl leading-[1.2] font-semibold text-center text-balance"
|
||||
/>
|
||||
<ScrollReveal variant="fade-blur" delay={0.1} className="text-lg md:text-xl leading-snug text-center text-balance">
|
||||
<p>{"Richard Gutierrez"}</p>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</Carousel>
|
||||
|
||||
<ScrollReveal variant="fade-blur" delay={0.2} className="flex items-center justify-center mt-1">
|
||||
{visibleAvatars.map((avatar, index) => (
|
||||
<div
|
||||
key={avatar.name}
|
||||
className={cls("relative size-12 md:size-16 overflow-hidden rounded-full border-2 border-background", index > 0 && "-ml-5")}
|
||||
style={{ zIndex: visibleAvatars.length - index }}
|
||||
>
|
||||
<ImageOrVideo imageSrc={avatar.imageSrc} videoSrc={avatar.videoSrc} />
|
||||
</div>
|
||||
))}
|
||||
{remainingCount > 0 && (
|
||||
<div
|
||||
className="flex items-center justify-center size-12 md:size-16 -ml-5 rounded-full border-2 border-background card"
|
||||
style={{ zIndex: 0 }}
|
||||
>
|
||||
<span className="text-sm md:text-base font-semibold">+{remainingCount}</span>
|
||||
</div>
|
||||
)}
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function ReviewsSection() {
|
||||
return (
|
||||
<div data-webild-section="reviews" id="reviews">
|
||||
<ReviewsInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user