- Add multi-language support using next-intl - Configure routing and localization for English and Chinese - Update project structure to support i18n routing - Add middleware and navigation helpers for localized routing - Create message files for translations - Modify layout and page components to support internationalization
18 lines
441 B
TypeScript
18 lines
441 B
TypeScript
import Container from "@/components/container";
|
|
import { NewsletterCard } from "@/components/newsletter/newsletter-card";
|
|
import type React from "react";
|
|
|
|
export default function BlogPostLayout({
|
|
children,
|
|
}: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="mb-16">
|
|
<Container className="mt-8">{children}</Container>
|
|
|
|
<Container className="mt-16">
|
|
<NewsletterCard />
|
|
</Container>
|
|
</div>
|
|
);
|
|
}
|