- Added `getBlogTagFacets` API call to fetch blog tags based on city scope. - Updated `BlogsPage` to read selected tag from URL and handle tag changes with URL updates. - Modified `Title` component to display tags from the new API and reflect active tag state. - Enhanced breadcrumb navigation to link categories to their respective pages. - Adjusted related content section to display articles from the same category and fixed layout issues. - Corrected heading hierarchy across various components for better SEO compliance. - Ensured consistent styling and spacing in related content items.
20 lines
471 B
JavaScript
20 lines
471 B
JavaScript
import Caption from "./Caption";
|
|
import Faq from "./Faq";
|
|
import Sources from "./Sources";
|
|
import SocialMedia from "./SocialMedia";
|
|
import CommentUser from "./commentUser";
|
|
|
|
function Detail({ data }) {
|
|
return (
|
|
<div className="w-full lg:flex-1 lg:min-w-0">
|
|
<Caption data={data} />
|
|
<Faq data={data} />
|
|
<Sources data={data} />
|
|
<SocialMedia />
|
|
{/* <CommentUser data={data} loading={false} /> */}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default Detail;
|