mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 23:29:08 +03:00
* Add a script to separate the latest blog posts from the contentlayer json into a separate json. * Use the new json data for the latest blog posts.
41 lines
885 B
TypeScript
41 lines
885 B
TypeScript
import DevelopersDropdown from '~/components/Nav/DevelopersDropdown'
|
|
import ProductDropdown from '~/components/Nav/ProductDropdown'
|
|
|
|
import { data as DevelopersData } from 'data/Developers'
|
|
import SolutionsData from 'data/Solutions'
|
|
|
|
export const getMenu = () => ({
|
|
primaryNav: [
|
|
{
|
|
title: 'Product',
|
|
hasDropdown: true,
|
|
dropdown: <ProductDropdown />,
|
|
dropdownContainerClassName: 'rounded-xl',
|
|
subMenu: SolutionsData,
|
|
},
|
|
{
|
|
title: 'Developers',
|
|
hasDropdown: true,
|
|
dropdown: <DevelopersDropdown />,
|
|
dropdownContainerClassName: 'rounded-xl',
|
|
subMenu: DevelopersData,
|
|
},
|
|
{
|
|
title: 'Enterprise',
|
|
url: '/enterprise',
|
|
},
|
|
{
|
|
title: 'Pricing',
|
|
url: '/pricing',
|
|
},
|
|
{
|
|
title: 'Docs',
|
|
url: '/docs',
|
|
},
|
|
{
|
|
title: 'Blog',
|
|
url: '/blog',
|
|
},
|
|
],
|
|
})
|