chore: links new docs (#1233)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added "Documentation" and "Support" links to the footer for enhanced
resource accessibility.
- Updated the "Changelog" link position for improved navigation.
- **Bug Fixes**
- Replaced dynamic URL handling with a direct link to API documentation
for clarity and consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
BIN
apps/marketing/public/blog/sov.webp
Normal file
BIN
apps/marketing/public/blog/sov.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 178 KiB |
@@ -26,16 +26,17 @@ const SOCIAL_LINKS = [
|
|||||||
const FOOTER_LINKS = [
|
const FOOTER_LINKS = [
|
||||||
{ href: '/pricing', text: 'Pricing' },
|
{ href: '/pricing', text: 'Pricing' },
|
||||||
{ href: '/singleplayer', text: 'Singleplayer' },
|
{ href: '/singleplayer', text: 'Singleplayer' },
|
||||||
|
{ href: 'https://docs.documenso.com', text: 'Documentation', target: '_blank' },
|
||||||
|
{ href: 'mailto:support@documenso.com', text: 'Support', target: '_blank' },
|
||||||
{ href: '/blog', text: 'Blog' },
|
{ href: '/blog', text: 'Blog' },
|
||||||
{ href: '/design-system', text: 'Design' },
|
{ href: '/changelog', text: 'Changelog' },
|
||||||
{ href: '/open', text: 'Open Startup' },
|
{ href: '/open', text: 'Open Startup' },
|
||||||
|
{ href: '/design-system', text: 'Design' },
|
||||||
{ href: 'https://shop.documenso.com', text: 'Shop', target: '_blank' },
|
{ href: 'https://shop.documenso.com', text: 'Shop', target: '_blank' },
|
||||||
{ href: 'https://status.documenso.com', text: 'Status', target: '_blank' },
|
{ href: 'https://status.documenso.com', text: 'Status', target: '_blank' },
|
||||||
{ href: 'mailto:support@documenso.com', text: 'Support', target: '_blank' },
|
|
||||||
{ href: '/oss-friends', text: 'OSS Friends' },
|
{ href: '/oss-friends', text: 'OSS Friends' },
|
||||||
{ href: '/careers', text: 'Careers' },
|
{ href: '/careers', text: 'Careers' },
|
||||||
{ href: '/privacy', text: 'Privacy' },
|
{ href: '/privacy', text: 'Privacy' },
|
||||||
{ href: '/changelog', text: 'Changelog' },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const Footer = ({ className, ...props }: FooterProps) => {
|
export const Footer = ({ className, ...props }: FooterProps) => {
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { DateTime } from 'luxon';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
|
|
||||||
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
|
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
|
||||||
import { getUserTokens } from '@documenso/lib/server-only/public-api/get-all-user-tokens';
|
import { getUserTokens } from '@documenso/lib/server-only/public-api/get-all-user-tokens';
|
||||||
import { Button } from '@documenso/ui/primitives/button';
|
import { Button } from '@documenso/ui/primitives/button';
|
||||||
@@ -20,14 +19,15 @@ export default async function ApiTokensPage() {
|
|||||||
|
|
||||||
<p className="text-muted-foreground mt-2 text-sm">
|
<p className="text-muted-foreground mt-2 text-sm">
|
||||||
On this page, you can create new API tokens and manage the existing ones. <br />
|
On this page, you can create new API tokens and manage the existing ones. <br />
|
||||||
You can view our swagger docs{' '}
|
Also see our{' '}
|
||||||
<a
|
<a
|
||||||
className="text-primary underline"
|
className="text-primary underline"
|
||||||
href={`${NEXT_PUBLIC_WEBAPP_URL()}/api/v1/openapi`}
|
href={'https://docs.documenso.com/developers/public-api'}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
here
|
Documentation
|
||||||
</a>
|
</a>
|
||||||
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<hr className="my-4" />
|
<hr className="my-4" />
|
||||||
|
|||||||
Reference in New Issue
Block a user