LGTM
This commit is contained in:
parent
9248e26af2
commit
f2a2651b8a
95 changed files with 3993 additions and 1471 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { useTranslation } from 'react-i18next';
|
||||
import { CheckIcon } from '../ui/icons/CheckIcon';
|
||||
import {
|
||||
SEO_CONTENT_PAGES,
|
||||
|
|
@ -90,6 +91,7 @@ export default function SeoContentPage({
|
|||
pageKey: SeoContentKey;
|
||||
onOpenDashboard: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const page = SEO_CONTENT_PAGES[pageKey];
|
||||
const url = `${PUBLIC_URL}${page.path}`;
|
||||
|
||||
|
|
@ -119,9 +121,9 @@ export default function SeoContentPage({
|
|||
|
||||
<section className="bg-navy-950 text-white">
|
||||
<div className="mx-auto max-w-5xl px-6 py-16 md:px-10 md:py-20">
|
||||
<nav className="mb-6 text-sm font-medium text-warm-400" aria-label="Breadcrumb">
|
||||
<nav className="mb-6 text-sm font-medium text-warm-400" aria-label={t('seo.breadcrumb')}>
|
||||
<a href="/" className="hover:text-teal-200">
|
||||
Home
|
||||
{t('mobileMenu.home')}
|
||||
</a>
|
||||
<span className="mx-2">/</span>
|
||||
<span className="text-warm-200">{page.eyebrow}</span>
|
||||
|
|
@ -149,7 +151,7 @@ export default function SeoContentPage({
|
|||
{page.faq.length > 0 && (
|
||||
<section className="bg-white py-14 dark:bg-navy-900">
|
||||
<div className="mx-auto max-w-5xl px-6 md:px-10">
|
||||
<h2 className="text-2xl font-bold md:text-3xl">Frequently asked questions</h2>
|
||||
<h2 className="text-2xl font-bold md:text-3xl">{t('seo.frequentlyAskedQuestions')}</h2>
|
||||
<div className="mt-7 grid gap-4">
|
||||
{page.faq.map((item) => (
|
||||
<details
|
||||
|
|
@ -168,10 +170,9 @@ export default function SeoContentPage({
|
|||
)}
|
||||
|
||||
<section className="mx-auto max-w-5xl px-6 py-14 md:px-10">
|
||||
<h2 className="text-2xl font-bold md:text-3xl">Related pages</h2>
|
||||
<h2 className="text-2xl font-bold md:text-3xl">{t('seo.relatedPages')}</h2>
|
||||
<p className="mt-3 max-w-3xl leading-relaxed text-warm-600 dark:text-warm-300">
|
||||
Follow these internal links to compare the same property-search workflow from another
|
||||
angle.
|
||||
{t('seo.relatedPagesDesc')}
|
||||
</p>
|
||||
<div className="mt-7">
|
||||
<RelatedLinks links={page.relatedLinks} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue