mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Update all documentation buttons (#30163)
This commit is contained in:
1 parent
996f01fdd6
commit
585477752a
70 files changed
+916
-1649
No files matched your search
@@ -23,6 +23,7 @@ import { useIsAPIDocsSidePanelEnabled } from '../App/FeaturePreview/FeaturePrevi
|
||||
import { navigateToSection } from './Content/Content.utils'
|
||||
import { DOCS_RESOURCE_CONTENT } from './ProjectAPIDocs.constants'
|
||||
import { ChevronLeft, Code, ExternalLink } from 'lucide-react'
|
||||
import { DocsButton } from 'components/ui/DocsButton'
|
||||
|
||||
const SecondLevelNav = () => {
|
||||
const { ref } = useParams()
|
||||
@@ -155,17 +156,7 @@ const SecondLevelNav = () => {
|
||||
<p className="text-xs !leading-normal">
|
||||
Head over to our docs site for the full API documentation.
|
||||
</p>
|
||||
<Button
|
||||
asChild
|
||||
className="!mt-2"
|
||||
size="tiny"
|
||||
type="default"
|
||||
icon={<ExternalLink strokeWidth={1.5} />}
|
||||
>
|
||||
<Link href={content[section].docsUrl} target="_blank" rel="noreferrer">
|
||||
Documentation
|
||||
</Link>
|
||||
</Button>
|
||||
<DocsButton className="!mt-2" href={content[section].docsUrl} />
|
||||
</AlertDescription_Shadcn_>
|
||||
</Alert_Shadcn_>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user