chore: optimize code

This commit is contained in:
javayhu 2025-04-12 17:42:08 +08:00
parent 3c72dd7098
commit c43d423aa3
4 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@
"HomePage": {
"title": "MkSaaS",
"description": "Make AI SaaS in days, simply and effortlessly",
"FAQ": {
"faqs": {
"title": "Frequently Asked Questions",
"description": "Can't find what you're looking for?",
"contact": "Contact our customer support team",

View File

@ -34,7 +34,7 @@
"HomePage": {
"title": "MkSaaS",
"description": "使用 MkSaaS 在几天内轻松构建您的 AI SaaS",
"FAQ": {
"faqs": {
"title": "常见问题",
"description": "找不到您想问的问题?",
"contact": "请联系我们的客户支持团队",

View File

@ -1,4 +1,4 @@
import FAQs from '@/components/landing/faq/FAQs';
import FAQs from '@/components/blocks/faqs/faqs';
import Container from '@/components/layout/container';
import { constructMetadata } from '@/lib/metadata';
import { getBaseUrlWithLocale } from '@/lib/urls/urls';

View File

@ -6,7 +6,7 @@ import {
AccordionItem,
AccordionTrigger,
} from '@/components/ui/accordion';
import { getBaseUrlWithLocale, getUrlWithLocale } from '@/lib/urls/urls';
import { getUrlWithLocale } from '@/lib/urls/urls';
import { DynamicIcon, type IconName } from 'lucide-react/dynamic';
import { useLocale, useTranslations } from 'next-intl';
import Link from 'next/link';
@ -20,8 +20,8 @@ type FAQItem = {
export default function FAQs() {
const locale = useLocale();
const t = useTranslations('HomePage.FAQ');
const t = useTranslations('HomePage.faqs');
const faqItems: FAQItem[] = [
{
id: 'item-1',