import clsx from 'clsx'; import { getBlog } from 'lib/shopify'; import Image from 'next/image'; import Link from 'next/link'; import { SupportedLocale } from './navbar/language-control'; export default async function StoriesPreview({ locale, handle, articles, more = false }: { locale?: SupportedLocale; handle: string; articles?: number; more?: boolean; }) { const blog = await getBlog({ handle: handle, articles: articles || 250, language: locale?.toUpperCase() }); if (!blog || !!blog?.articles) return null; return (