import clsx from "clsx" import { Link } from "docs-ui" const HomepageLinksSection = () => { const sections: SectionProps[] = [ { title: "Customize Medusa Application", links: [ { href: "/learn/installation", text: "Create your first application", }, { href: "https://docs.medusajs.com/cloud/sign-up", text: "Deploy to Medusa Cloud", }, { href: "https://docs.medusajs.com/resources/integrations", text: "Browse third-party integrations", }, ], }, { title: "Admin Development", links: [ { href: "/learn/fundamentals/admin/widgets", text: "Build a UI Widget", }, { href: "/learn/fundamentals/admin/ui-routes", text: "Add a UI Route", }, { href: "https://docs.medusajs.com/ui", text: "Browse the UI component library", }, ], }, { title: "Storefront Development", links: [ { href: "https://docs.medusajs.com/resources/nextjs-starter", text: "Explore our storefront starter", }, { href: "https://docs.medusajs.com/resources/storefront-development", text: "Build a custom storefront", }, { href: "https://docs.medusajs.com/ui", text: "Browse the UI component library", }, ], }, ] return (
{sections.map((section, index) => (
))}
) } type SectionProps = { title: string links: { text: string href: string }[] } const Section = ({ title, links }: SectionProps) => { return (

{title}

{links.map((link, index) => ( {link.text} ))}
) } export default HomepageLinksSection