* docs: change configurations to make v2 the main docs * move api routes to top level * remove api prefix * update opengraph images * show v1 link * add redirect to v1
20 lines
397 B
TypeScript
20 lines
397 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={`/download/${area}`} download target="_blank">
|
|
Download OpenApi Specs Collection
|
|
</Link>
|
|
</Button>
|
|
)
|
|
}
|
|
|
|
export default DownloadFull
|