- Added styles for WordPress table and button blocks in globals.css. - Updated layout.tsx to include a favicon. - Improved blog page layout and search functionality, including new search and filter icons. - Implemented related posts feature in blog post pages with new BlogBlockquote and BlogPullquote components. - Enhanced blog card display with a new variant for smaller cards. - Updated blog collapse sections for better user interaction. - Added new utility functions for extracting block data from WordPress content.
33 lines
817 B
TypeScript
33 lines
817 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { ConditionalLayout } from "@/components/conditional-layout";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: "فیپ",
|
|
description:
|
|
"فیپ یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.",
|
|
icons: {
|
|
icon: "/assets/feep-Logo.svg",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="fa" dir="rtl" suppressHydrationWarning>
|
|
<body
|
|
className={`antialiased`}
|
|
>
|
|
<ThemeProvider>
|
|
<ConditionalLayout>{children}</ConditionalLayout>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|