import React, {ReactNode} from 'react' import Link from 'next/link' import {Container} from '@/components/common/Container' import {Prose} from '@/components/ui/Prose' import {Views} from '@/components/ui/Views' import {ArrowDownIcon} from '@/components/icons/ArrowDownIcon' import {formatDate} from '@/lib/formatDate' import ArticleNav from '@/components/ui/ArticleNav' type ArticleLayout = { title: string date: string description: string slug: string children?: ReactNode } const gradients = [ 'bg-gradient-to-r from-blue-500 to-blue-600', 'bg-[conic-gradient(at_left,_var(--tw-gradient-stops))] from-rose-500 to-indigo-700', 'bg-[conic-gradient(at_left,_var(--tw-gradient-stops))] from-sky-400 to-blue-800', 'bg-gradient-to-r from-orange-400 to-rose-400', 'bg-gradient-to-r from-sky-400 to-blue-500' ] export function ArticleLayout({ title, date, slug, children, }: ArticleLayout) { return (

{title}

{children}
) }