- Add a new homepage to `book` project for the routing page - Move all main doc pages to be under `/v2/learn` (and added redirects + fixed links across docs) - Other: add admin components to resources dropdown + fixes to search on mobile. Closes DX-955 Preview: https://docs-v2-git-docs-router-page-medusajs.vercel.app/v2
20 lines
401 B
TypeScript
20 lines
401 B
TypeScript
"use client"
|
|
|
|
import { Button } from "docs-ui"
|
|
import { useArea } from "../../providers/area"
|
|
import Link from "next/link"
|
|
|
|
const DownloadFull = () => {
|
|
const { area } = useArea()
|
|
|
|
return (
|
|
<Button variant="secondary">
|
|
<Link href={`/api/download/${area}`} download target="_blank">
|
|
Download OpenApi Specs Collection
|
|
</Link>
|
|
</Button>
|
|
)
|
|
}
|
|
|
|
export default DownloadFull
|