diff --git a/apps/portal/.env.example b/apps/portal/.env.example deleted file mode 100644 index de987a58..00000000 --- a/apps/portal/.env.example +++ /dev/null @@ -1,40 +0,0 @@ -# ============================================================================= -# Customer Portal Frontend - Development Environment -# ============================================================================= -# Copy this file to .env.local in apps/portal/: -# cp .env.example .env.local -# -# Note: NEXT_PUBLIC_* variables are exposed to the browser. -# In development, Next.js rewrites /api/* to the BFF, so you typically -# don't need to set NEXT_PUBLIC_API_BASE. -# ============================================================================= - -# ----------------------------------------------------------------------------- -# Application Identity -# ----------------------------------------------------------------------------- -NEXT_PUBLIC_APP_NAME=Customer Portal (Dev) -NEXT_PUBLIC_APP_VERSION=1.0.0-dev - -# ----------------------------------------------------------------------------- -# API Configuration -# ----------------------------------------------------------------------------- -# In development: Leave empty or unset - Next.js rewrites /api/* to BFF -# In production: Set to /api (nginx proxies to BFF) or full BFF URL -# NEXT_PUBLIC_API_BASE= - -# BFF URL for Next.js rewrites (server-side only, not exposed to browser) -BFF_URL=http://localhost:4000 - -# ----------------------------------------------------------------------------- -# Development Tools -# ----------------------------------------------------------------------------- -NEXT_PUBLIC_ENABLE_DEVTOOLS=true - -# ----------------------------------------------------------------------------- -# Salesforce Embedded Service (Optional - for Agentforce widget) -# ----------------------------------------------------------------------------- -# NEXT_PUBLIC_SF_EMBEDDED_SERVICE_URL= -# NEXT_PUBLIC_SF_ORG_ID= -# NEXT_PUBLIC_SF_EMBEDDED_SERVICE_DEPLOYMENT_ID= -# NEXT_PUBLIC_SF_EMBEDDED_SERVICE_SITE_URL= -# NEXT_PUBLIC_SF_EMBEDDED_SERVICE_SCRT2_URL= diff --git a/apps/portal/src/app/(public)/(site)/blog/page.tsx b/apps/portal/src/app/(public)/(site)/blog/page.tsx index 37f875cd..4ee6ea1e 100644 --- a/apps/portal/src/app/(public)/(site)/blog/page.tsx +++ b/apps/portal/src/app/(public)/(site)/blog/page.tsx @@ -6,26 +6,15 @@ import { cn } from "@/shared/utils"; // Sample blog data const categories = [ - { id: "all", label: "Latest", count: 8 }, - { id: "guides", label: "Guides", count: 3 }, + { id: "all", label: "Latest", count: 5 }, + { id: "guides", label: "Guides", count: 2 }, { id: "tech", label: "Tech Tips", count: 2 }, - { id: "news", label: "Company News", count: 2 }, - { id: "lifestyle", label: "Expat Life", count: 1 }, + { id: "news", label: "News", count: 1 }, ]; const authors = { - daisuke: { - name: "Daisuke Nagakawa", - role: "CEO, Assist Solutions", - avatar: "/assets/images/avatar-placeholder.png", - }, - support: { - name: "Support Team", - role: "Assist Solutions", - avatar: "/assets/images/avatar-placeholder.png", - }, - tech: { - name: "Tech Team", + default: { + name: "Author Name", role: "Assist Solutions", avatar: "/assets/images/avatar-placeholder.png", }, @@ -34,102 +23,66 @@ const authors = { const blogPosts = [ { id: "1", - slug: "getting-internet-japan-guide", + slug: "blog-1", category: "guides", categoryLabel: "Guides", - title: "The Complete Guide to Getting Internet in Japan", + title: "Blog 1", excerpt: - "Moving to Japan and need internet? This comprehensive guide covers everything from choosing between fiber and mobile internet to understanding NTT's installation process.", + "Sample blog post content. This is a placeholder for future blog content that will be added to the website.", image: "/assets/images/blog-placeholder-1.jpg", - author: authors.support, + author: authors.default, date: "2025-01-10", featured: true, }, { id: "2", - slug: "5g-coverage-tokyo-2025", + slug: "blog-2", category: "tech", categoryLabel: "Tech Tips", - title: "5G Coverage in Tokyo: What You Need to Know in 2025", + title: "Blog 2", excerpt: - "With Docomo, au, and SoftBank expanding their 5G networks, we break down the current coverage in Tokyo and which areas have the best connectivity.", + "Sample blog post content. This is a placeholder for future blog content that will be added to the website.", image: "/assets/images/blog-placeholder-2.jpg", - author: authors.tech, + author: authors.default, date: "2025-01-08", featured: true, }, { id: "3", - slug: "choosing-sim-card-japan", + slug: "blog-3", category: "guides", categoryLabel: "Guides", - title: "Data-Only vs Voice SIM: Which One Do You Need?", + title: "Blog 3", excerpt: - "Confused about SIM card options in Japan? We explain the differences between data-only and voice SIMs, and help you choose the right one for your needs.", + "Sample blog post content. This is a placeholder for future blog content that will be added to the website.", image: "/assets/images/blog-placeholder-3.jpg", - author: authors.support, + author: authors.default, date: "2025-01-05", }, { id: "4", - slug: "work-from-home-internet-tips", + slug: "blog-4", category: "tech", categoryLabel: "Tech Tips", - title: "Optimizing Your Home Network for Remote Work", + title: "Blog 4", excerpt: - "Working from home in Japan? Learn how to set up your router, optimize Wi-Fi coverage, and troubleshoot common connectivity issues.", + "Sample blog post content. This is a placeholder for future blog content that will be added to the website.", image: "/assets/images/blog-placeholder-4.jpg", - author: authors.tech, + author: authors.default, date: "2025-01-03", }, { id: "5", - slug: "assist-solutions-2024-review", + slug: "blog-5", category: "news", - categoryLabel: "Company News", - title: "2024 Year in Review: Serving Our Community", + categoryLabel: "News", + title: "Blog 5", excerpt: - "A look back at the past year - new services launched, customer milestones reached, and our continued commitment to the international community in Japan.", + "Sample blog post content. This is a placeholder for future blog content that will be added to the website.", image: "/assets/images/blog-placeholder-5.jpg", - author: authors.daisuke, + author: authors.default, date: "2024-12-28", }, - { - id: "6", - slug: "vpn-streaming-guide", - category: "guides", - categoryLabel: "Guides", - title: "Using VPN to Access Streaming Services in Japan", - excerpt: - "Want to watch your favorite shows from back home? Here's how to set up and use a VPN to access international streaming platforms while living in Japan.", - image: "/assets/images/blog-placeholder-6.jpg", - author: authors.support, - date: "2024-12-20", - }, - { - id: "7", - slug: "new-office-announcement", - category: "news", - categoryLabel: "Company News", - title: "Expanded Support Hours & New Team Members", - excerpt: - "We're excited to announce extended support hours and welcome new bilingual team members to better serve our growing customer base.", - image: "/assets/images/blog-placeholder-7.jpg", - author: authors.daisuke, - date: "2024-12-15", - }, - { - id: "8", - slug: "moving-to-japan-checklist", - category: "lifestyle", - categoryLabel: "Expat Life", - title: "Moving to Japan: Your Essential IT & Utilities Checklist", - excerpt: - "From setting up a bank account to getting internet installed - everything you need to know about utilities and connectivity when relocating to Japan.", - image: "/assets/images/blog-placeholder-8.jpg", - author: authors.support, - date: "2024-12-10", - }, ]; export default function BlogPage() { @@ -151,7 +104,7 @@ export default function BlogPage() {

& Updates

- Tips, guides, and news for the international community in Japan. + Latest updates and information.

diff --git a/apps/portal/src/app/(public)/(site)/services/business/page.tsx b/apps/portal/src/app/(public)/(site)/services/business/page.tsx index 61f40a9d..8eba8484 100644 --- a/apps/portal/src/app/(public)/(site)/services/business/page.tsx +++ b/apps/portal/src/app/(public)/(site)/services/business/page.tsx @@ -95,58 +95,6 @@ export default function BusinessSolutionsPage() { - {/* FAQ Section */} -
-

- Frequently Asked Questions -

-
-
-

- What is Dedicated Internet Access (DIA) and how is it different from regular internet? -

-

- DIA provides a dedicated, unshared connection with guaranteed bandwidth and uptime - SLA. Unlike shared business internet, your speeds are consistent regardless of network - congestion, making it ideal for businesses with critical online operations. -

-
- -
-

- Do you offer support contracts for ongoing IT maintenance? -

-

- Yes, we offer flexible support contracts ranging from ad-hoc support to comprehensive - managed IT services. Our team can handle network monitoring, security updates, and - regular maintenance to keep your systems running smoothly. -

-
- -
-

- Can you set up a network for a new office or relocating business? -

-

- Absolutely. We specialize in complete office network setups including cable - installation, switch configuration, firewall setup, and Wi-Fi deployment. We can also - coordinate with NTT and building management for new line installations. -

-
- -
-

- What data center facilities do you use? -

-

- We partner with Equinix (Tokyo Tennozu Isle) and GDC (Gotenyama) for colocation and - data center services. Both facilities offer enterprise-grade security, power - redundancy, and connectivity options. -

-
-
-
- {/* CTA */}

diff --git a/apps/portal/src/app/(public)/(site)/services/onsite/page.tsx b/apps/portal/src/app/(public)/(site)/services/onsite/page.tsx index f9a6f1d1..c85c39f0 100644 --- a/apps/portal/src/app/(public)/(site)/services/onsite/page.tsx +++ b/apps/portal/src/app/(public)/(site)/services/onsite/page.tsx @@ -101,54 +101,6 @@ export default function OnsiteSupportPage() {

- {/* FAQ Section */} -
-

- Frequently Asked Questions -

- -
-
-

- My home requires multiple Wi-Fi routers. Would you be able to assist with this? -

-

- Yes, the Assist Solutions technical team is able to visit your residence for device - set up including Wi-Fi routers, printers, Apple TVs etc. Our tech consulting team will - be able to make suggestions based on your residence layout and requirements. Please - contact us for a free consultation. -

-
- -
-

- I am already subscribed to a different Internet provider but require more Wi-Fi - coverage. Would I be able to just opt for the Onsite Support service without switching - over my entire home Internet service? -

-

- Yes, we are able to offer the Onsite Support service as a standalone service. -

-
- -
-

- Do you offer this service outside of Tokyo? -

-
-

- Our In-Home Technical Assistance service can be provided in Tokyo, Saitama and - Kanagawa prefecture. -

-

- *Please note that this service may not available in some areas within the above - prefectures. For more information, please contact us. -

-
-
-
-
- {/* CTA */}

Ready to get started?

diff --git a/apps/portal/src/app/(public)/(site)/services/tv/page.tsx b/apps/portal/src/app/(public)/(site)/services/tv/page.tsx index bac4544a..c57527a4 100644 --- a/apps/portal/src/app/(public)/(site)/services/tv/page.tsx +++ b/apps/portal/src/app/(public)/(site)/services/tv/page.tsx @@ -670,33 +670,6 @@ export default function TVServicesPage() {
- {/* FAQ */} -
-

- Frequently Asked Questions -

-
-
-

- Is Assist Solutions directly providing the TV service? -

-

- As partners, we refer you to each cable TV company. Once the service starts, it will - be directly provided by each cable TV company. -

-
-
-

- Can I choose any TV service you're partnered with? -

-

- Cable TV companies have predetermined service areas. We can check which services are - available for your home. Contact us for a free consultation. -

-
-
-
- {/* CTA */}

diff --git a/apps/portal/src/features/services/views/PublicInternetPlans.tsx b/apps/portal/src/features/services/views/PublicInternetPlans.tsx index 2debd225..ea2c2c43 100644 --- a/apps/portal/src/features/services/views/PublicInternetPlans.tsx +++ b/apps/portal/src/features/services/views/PublicInternetPlans.tsx @@ -1,18 +1,7 @@ "use client"; -import { useMemo, useState } from "react"; -import { - ArrowRight, - Sparkles, - ChevronDown, - ChevronUp, - Wifi, - Zap, - Languages, - FileText, - Wrench, - Globe, -} from "lucide-react"; +import { useMemo } from "react"; +import { ArrowRight, Sparkles, Wifi, Zap, Languages, FileText, Wrench, Globe } from "lucide-react"; import { usePublicInternetCatalog } from "@/features/services/hooks"; import type { InternetInstallationCatalogItem, @@ -205,77 +194,6 @@ function ConsolidatedInternetCard({ ); } -// FAQ data -const faqItems = [ - { - question: "How can I check if 10Gbps service is available at my address?", - answer: - "10Gbps service is currently available in select areas, primarily in Tokyo and surrounding regions. When you check availability with your address, we'll show you exactly which speed options are available at your location.", - }, - { - question: "Why do apartment speeds vary by building?", - answer: - "Apartment buildings have different NTT fiber infrastructure. Newer buildings often have FTTH (fiber-to-the-home) supporting up to 1Gbps, while older buildings may use VDSL or LAN connections at 100Mbps. The good news: all apartment types have the same monthly price.", - }, - { - question: "My home needs multiple WiFi routers for full coverage. Can you help?", - answer: - "Yes! Our Platinum tier includes a mesh WiFi system designed for larger homes. During setup, our team will assess your space and recommend the best equipment configuration for full coverage.", - }, - { - question: "Can I transfer my existing internet service to Assist Solutions?", - answer: - "In most cases, yes. If you already have an NTT line, we can often take over the service without a new installation. Contact us with your current provider details and we'll guide you through the process.", - }, - { - question: "What is the contract period?", - answer: - "Our standard contract is 2 years. Early termination fees may apply if you cancel before the contract ends. The setup fee can be paid upfront or spread across 12 or 24 monthly installments.", - }, - { - question: "How are invoices sent?", - answer: - "E-statements (available only in English) will be sent to your primary email address. The service fee will be charged automatically to your registered credit card on file. For corporate plans, please contact us with your requests.", - }, -]; - -/** - * FAQ Item component with expand/collapse - */ -function FAQItem({ - question, - answer, - isOpen, - onToggle, -}: { - question: string; - answer: string; - isOpen: boolean; - onToggle: () => void; -}) { - return ( -
- - {isOpen && ( -
-

{answer}

-
- )} -
- ); -} - export interface PublicInternetPlansContentProps { onCtaClick?: (e: React.MouseEvent) => void; ctaPath?: string; @@ -300,7 +218,6 @@ export function PublicInternetPlansContent({ const servicesBasePath = useServicesBasePath(); const defaultCtaPath = `${servicesBasePath}/internet/configure`; const ctaPath = propCtaPath ?? defaultCtaPath; - const [openFaqIndex, setOpenFaqIndex] = useState(null); const internetFeatures: HighlightFeature[] = [ { @@ -462,22 +379,6 @@ export function PublicInternetPlansContent({ )} - - {/* FAQ Section */} -
-

Frequently Asked Questions

-
- {faqItems.map((item, index) => ( - setOpenFaqIndex(openFaqIndex === index ? null : index)} - /> - ))} -
-

); } diff --git a/apps/portal/src/features/services/views/PublicVpnPlans.tsx b/apps/portal/src/features/services/views/PublicVpnPlans.tsx index ef14eda8..a78cb80e 100644 --- a/apps/portal/src/features/services/views/PublicVpnPlans.tsx +++ b/apps/portal/src/features/services/views/PublicVpnPlans.tsx @@ -1,10 +1,7 @@ "use client"; -import { useState } from "react"; import { ShieldCheck, - ChevronDown, - ChevronUp, Router, Globe, Tv, @@ -155,9 +152,6 @@ export function PublicVpnPlansView() { {/* How It Works Section */} - {/* FAQ Section */} - -

Content subscriptions are NOT included in the VPN package. Our VPN service establishes a @@ -170,66 +164,6 @@ export function PublicVpnPlansView() { ); } -// VPN FAQ Data -const vpnFaqItems = [ - { - question: "What devices can I connect to the VPN router?", - answer: - "Any device that connects via Wi-Fi can use the VPN router, including Apple TV, Roku, Amazon Fire TV, gaming consoles, smart TVs, and computers. Simply connect to the VPN router's Wi-Fi network to route your traffic through the VPN server.", - }, - { - question: "Can I use VPN on my phone or laptop directly?", - answer: - "The VPN router service is designed for devices that don't natively support VPN apps. For phones and laptops, you could connect them to the VPN router's Wi-Fi, but we recommend using a standard VPN app on those devices for better flexibility.", - }, - { - question: "What internet speeds can I expect through the VPN?", - answer: - "VPN speeds depend on your base internet connection and the distance to the VPN server. Typically, you can expect 20-100 Mbps for streaming, which is sufficient for 4K content. The San Francisco server generally offers faster speeds for users in Japan.", - }, - { - question: "Can I switch between regions after signing up?", - answer: - "Each router is pre-configured for one region (San Francisco or London). If you need to access content from both regions, you would need two separate router rentals. Contact us if you need to change your region assignment.", - }, - { - question: "What happens if the VPN router breaks or stops working?", - answer: - "We provide technical support and will replace faulty equipment at no extra charge. Simply contact our support team and we'll arrange a replacement router to be shipped to you.", - }, -]; - -function VpnFaqSection() { - const [openIndex, setOpenIndex] = useState(null); - - return ( -

-

Frequently Asked Questions

-
- {vpnFaqItems.map((item, index) => ( -
- - {openIndex === index && ( -

{item.answer}

- )} -
- ))} -
-
- ); -} - interface HowItWorksStepProps { number: number; icon: React.ReactNode; diff --git a/apps/portal/src/features/support/views/PublicContactView.tsx b/apps/portal/src/features/support/views/PublicContactView.tsx index e8cdb455..cafe6da0 100644 --- a/apps/portal/src/features/support/views/PublicContactView.tsx +++ b/apps/portal/src/features/support/views/PublicContactView.tsx @@ -27,44 +27,29 @@ import { cn } from "@/shared/utils"; const FAQ_ITEMS = [ { - question: "How do I get started with your services?", + question: "Sample Question 1?", answer: - "Simply browse our services, select a plan that fits your needs, and complete the checkout process. You can create an account during checkout or contact us for personalized assistance.", + "This is a sample answer for frequently asked question 1. Replace this with actual content when available.", }, { - question: "What payment methods do you accept?", + question: "Sample Question 2?", answer: - "We accept major credit cards (Visa, Mastercard, American Express) including foreign-issued cards, and bank transfers. Payment methods can be managed in your account settings.", + "This is a sample answer for frequently asked question 2. Replace this with actual content when available.", }, { - question: "How long does installation take?", + question: "Sample Question 3?", answer: - "Internet installation typically takes 2-4 weeks depending on your location and the type of installation required. SIM cards are shipped within 3-5 business days.", + "This is a sample answer for frequently asked question 3. Replace this with actual content when available.", }, { - question: "Can I change my plan after signing up?", + question: "Sample Question 4?", answer: - "Yes, you can upgrade or downgrade your plan at any time. Changes typically take effect at the start of your next billing cycle.", + "This is a sample answer for frequently asked question 4. Replace this with actual content when available.", }, { - question: "What is your cancellation policy?", + question: "Sample Question 5?", answer: - "Most services have a minimum contract period (typically 4 months for SIM, varies for internet). After this period, you can cancel with one month's notice.", - }, - { - question: "Do you offer business solutions?", - answer: - "Yes, we offer dedicated business plans including Dedicated Internet Access, office LAN setup, data center services, and ongoing tech support. Please contact us for a custom quote.", - }, - { - question: "Do you provide English support?", - answer: - "Yes! Our entire team is bilingual and provides full support in both English and Japanese. This includes phone support, email, and onsite visits.", - }, - { - question: "What areas do you service?", - answer: - "We primarily serve the greater Tokyo area for onsite support. Internet and SIM services are available nationwide through NTT and Docomo networks.", + "This is a sample answer for frequently asked question 5. Replace this with actual content when available.", }, ]; diff --git a/apps/portal/src/features/support/views/PublicSupportView.tsx b/apps/portal/src/features/support/views/PublicSupportView.tsx index 9b9b8a18..06342632 100644 --- a/apps/portal/src/features/support/views/PublicSupportView.tsx +++ b/apps/portal/src/features/support/views/PublicSupportView.tsx @@ -5,34 +5,24 @@ import { HelpCircle, MessageSquare, Mail, ChevronRight } from "lucide-react"; const FAQ_ITEMS = [ { - question: "How do I get started with your services?", + question: "Sample Question 1?", answer: - "Simply browse our services, select a plan that fits your needs, and complete the checkout process. You can create an account during checkout.", + "This is a sample answer for frequently asked question 1. Replace this with actual content when available.", }, { - question: "What payment methods do you accept?", + question: "Sample Question 2?", answer: - "We accept major credit cards (Visa, Mastercard, American Express) and bank transfers. Payment methods can be managed in your account settings.", + "This is a sample answer for frequently asked question 2. Replace this with actual content when available.", }, { - question: "How long does installation take?", + question: "Sample Question 3?", answer: - "Internet installation typically takes 2-4 weeks depending on your location and the type of installation required. SIM cards are shipped within 3-5 business days.", + "This is a sample answer for frequently asked question 3. Replace this with actual content when available.", }, { - question: "Can I change my plan after signing up?", + question: "Sample Question 4?", answer: - "Yes, you can upgrade or downgrade your plan at any time. Changes typically take effect at the start of your next billing cycle.", - }, - { - question: "What is your cancellation policy?", - answer: - "Most services have a minimum contract period (typically 3 months). After this period, you can cancel with one month's notice.", - }, - { - question: "Do you offer business plans?", - answer: - "Yes, we offer dedicated business plans with enhanced support, higher speeds, and custom solutions. Please contact us for more information.", + "This is a sample answer for frequently asked question 4. Replace this with actual content when available.", }, ];