From ee85426743960309a012662269e376c8f173a24f Mon Sep 17 00:00:00 2001 From: barsa Date: Wed, 4 Mar 2026 14:50:45 +0900 Subject: [PATCH] refactor: update landing page and support components - Removed the PublicHelpPage component and streamlined navigation by adding a direct link to the Support page in the SiteFooter. - Updated the PublicShell component to redirect to the Support page instead of the Contact page. - Enhanced the CTABanner and HeroSection components with new text and improved call-to-action buttons. - Replaced the ServicesGrid component with ServicesCarousel for better service presentation. - Introduced new conversion service cards in the services data structure for improved service offerings. - Updated the PublicContactView and PublicSupportView components for better styling and accessibility. --- .../src/app/(public)/(site)/help/page.tsx | 11 - .../organisms/SiteFooter/SiteFooter.tsx | 10 +- .../templates/PublicShell/PublicShell.tsx | 4 +- .../landing-page/components/CTABanner.tsx | 25 +- .../components/ContactSection.tsx | 101 ++ .../landing-page/components/HeroSection.tsx | 13 +- .../components/ServicesCarousel.tsx | 200 ++++ .../landing-page/components/ServicesGrid.tsx | 43 - .../components/SupportDownloadsSection.tsx | 65 ++ .../features/landing-page/components/index.ts | 4 +- .../src/features/landing-page/data/index.ts | 3 + .../features/landing-page/data/services.tsx | 97 ++ .../landing-page/views/PublicLandingView.tsx | 10 +- .../support/components/ContactForm.tsx | 34 +- .../support/views/PublicContactView.tsx | 34 +- .../support/views/PublicSupportView.tsx | 50 +- ...-03-04-landing-page-conversion-overhaul.md | 930 ++++++++++++++++++ ...04-public-pages-restructuring-v2-design.md | 208 ++++ 18 files changed, 1676 insertions(+), 166 deletions(-) delete mode 100644 apps/portal/src/app/(public)/(site)/help/page.tsx create mode 100644 apps/portal/src/features/landing-page/components/ContactSection.tsx create mode 100644 apps/portal/src/features/landing-page/components/ServicesCarousel.tsx delete mode 100644 apps/portal/src/features/landing-page/components/ServicesGrid.tsx create mode 100644 apps/portal/src/features/landing-page/components/SupportDownloadsSection.tsx create mode 100644 docs/plans/2026-03-04-landing-page-conversion-overhaul.md create mode 100644 docs/plans/2026-03-04-public-pages-restructuring-v2-design.md diff --git a/apps/portal/src/app/(public)/(site)/help/page.tsx b/apps/portal/src/app/(public)/(site)/help/page.tsx deleted file mode 100644 index 36d84e3e..00000000 --- a/apps/portal/src/app/(public)/(site)/help/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Public Help Page - * - * Redirects to the combined Support & Contact page. - */ - -import { redirect } from "next/navigation"; - -export default function PublicHelpPage() { - redirect("/contact"); -} diff --git a/apps/portal/src/components/organisms/SiteFooter/SiteFooter.tsx b/apps/portal/src/components/organisms/SiteFooter/SiteFooter.tsx index 3c36c23f..585074ed 100644 --- a/apps/portal/src/components/organisms/SiteFooter/SiteFooter.tsx +++ b/apps/portal/src/components/organisms/SiteFooter/SiteFooter.tsx @@ -91,12 +91,20 @@ export function SiteFooter() { About Us +
  • + + Support + +
  • - Support & Contact + Contact
  • diff --git a/apps/portal/src/components/templates/PublicShell/PublicShell.tsx b/apps/portal/src/components/templates/PublicShell/PublicShell.tsx index 1f1084c3..5538f3ce 100644 --- a/apps/portal/src/components/templates/PublicShell/PublicShell.tsx +++ b/apps/portal/src/components/templates/PublicShell/PublicShell.tsx @@ -256,7 +256,7 @@ export function PublicShell({ children }: PublicShellProps) { Blog Support @@ -390,7 +390,7 @@ export function PublicShell({ children }: PublicShellProps) { Blog diff --git a/apps/portal/src/features/landing-page/components/CTABanner.tsx b/apps/portal/src/features/landing-page/components/CTABanner.tsx index f029f483..0b953d98 100644 --- a/apps/portal/src/features/landing-page/components/CTABanner.tsx +++ b/apps/portal/src/features/landing-page/components/CTABanner.tsx @@ -1,33 +1,20 @@ -import { ArrowRight, Phone } from "lucide-react"; +import { ArrowRight } from "lucide-react"; import { Button } from "@/components/atoms/button"; -const PHONE_NUMBER = "03-5812-1050"; - export function CTABanner() { return (

    - Ready to Get Connected? + Ready to Get Set Up?

    No Japanese required. Our English-speaking team is here to help.

    -
    -
    -
    -
    diff --git a/apps/portal/src/features/landing-page/components/ContactSection.tsx b/apps/portal/src/features/landing-page/components/ContactSection.tsx new file mode 100644 index 00000000..ca366231 --- /dev/null +++ b/apps/portal/src/features/landing-page/components/ContactSection.tsx @@ -0,0 +1,101 @@ +"use client"; + +import { Mail, MapPin, MessageSquare, PhoneCall, Train } from "lucide-react"; +import { cn } from "@/shared/utils"; +import { useInView } from "@/features/landing-page/hooks"; +import { ContactForm } from "@/features/support/components"; + +export function ContactSection() { + const [ref, isInView] = useInView(); + + return ( +
    } + className={cn( + "relative left-1/2 right-1/2 w-screen -translate-x-1/2 bg-surface-sunken/30 py-14 sm:py-16 transition-all duration-700", + isInView ? "opacity-100 translate-y-0" : "opacity-0 translate-y-8" + )} + > +
    +

    + Tell Us What You Need +

    +
    +
    + {/* Left: Form + Contact Methods */} +
    +
    + + By Online Form (Anytime) +
    + + +
    +
    + + By Chat (Anytime) +
    +

    + Click the bottom right “Chat Button” to reach our team anytime. +

    +
    + + By Phone (9:30-18:00 JST) +
    +
    +

    Toll Free within Japan

    +

    0120-660-470

    +

    From Overseas

    +

    +81-3-3560-1006

    +
    +
    +
    + + {/* Right: Map + Address */} +
    +
    +