diff --git a/apps/docs/app/page.tsx b/apps/docs/app/page.tsx index 031a06a61a47b..76a6fb6b16aae 100644 --- a/apps/docs/app/page.tsx +++ b/apps/docs/app/page.tsx @@ -2,13 +2,12 @@ import { isFeatureEnabled } from 'common' import { type Metadata, type ResolvingMetadata } from 'next' import Link from 'next/link' import { cn } from 'ui' -import { IconPanel } from 'ui-patterns/IconPanel' import { TextLink } from 'ui-patterns/TextLink' -import { FrameworkQuickstarts } from '@/components/HomePageCover' +import { FrameworkQuickstarts } from '@/components/FrameworkQuickstarts' import { MIGRATION_PAGES } from '@/components/Navigation/NavigationMenu/NavigationMenu.constants' import { GlassPanelWithIconPicker } from '@/features/ui/GlassPanelWithIconPicker' -import { IconPanelWithIconPicker } from '@/features/ui/IconPanelWithIconPicker' +import { IconLinkImage, IconLinkList, IconLinkMenuIcon } from '@/features/ui/IconLink' import HomeLayout from '@/layouts/HomeLayout' import { BASE_PATH } from '@/lib/constants' @@ -88,31 +87,26 @@ const postgresIntegrations = [ title: 'AI & Vectors', icon: 'ai', href: '/guides/ai', - description: 'AI toolkit to manage embeddings', }, { title: 'Cron', icon: 'cron', href: '/guides/cron', - description: 'Schedule and monitor recurring Jobs', }, { title: 'Queues', icon: 'queues', href: '/guides/queues', - description: 'Durable Message Queues with guaranteed delivery', }, { title: 'Data REST API', icon: 'rest', href: '/guides/api', - description: 'Access your database through a RESTful API.', }, { title: 'GraphQL API', icon: 'graphql', href: '/guides/graphql', - description: 'Access your database through a GraphQL API.', }, ] @@ -224,6 +218,20 @@ const additionalResources = [ }, ] +const migrationGuides = [...MIGRATION_PAGES] + .sort((a, b) => (a.name || '').localeCompare(b.name || '')) + .flatMap((guide) => { + if (!guide.name || !guide.url || typeof guide.icon !== 'string') return [] + + return [ + { + title: guide.name, + href: guide.url, + icon: , + }, + ] + }) + const HomePage = () => (
@@ -234,12 +242,12 @@ const HomePage = () => ( Connect a framework

- Start with a framework quickstart and connect your project in minutes. + Start with a quickstart guide to connect your project in minutes.

- +
)} @@ -253,7 +261,10 @@ const HomePage = () => (

-