import type { Viewport } from 'next' import { getLocaleOnServer } from '@/i18n/server' import { ToastProvider } from '@/app/components/base/toast' import type { Metadata } from 'next' import './styles/globals.css' import './styles/markdown.scss' export const metadata: Metadata = { title: 'Dify', icons: 'data:,' } export const viewport: Viewport = { width: 'device-width', initialScale: 1, maximumScale: 1, viewportFit: 'cover', userScalable: false, } const LocaleLayout = async ({ children, }: { children: React.ReactNode }) => { const locale = await getLocaleOnServer() return (