fix: add internal links
This commit is contained in:
@@ -158,6 +158,17 @@ export interface CompareMigration {
|
||||
};
|
||||
}
|
||||
|
||||
export interface RelatedLink {
|
||||
title?: string;
|
||||
name?: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface RelatedLinks {
|
||||
articles?: RelatedLink[];
|
||||
alternatives?: RelatedLink[];
|
||||
}
|
||||
|
||||
export interface CompareData {
|
||||
url: string;
|
||||
slug: string;
|
||||
@@ -175,6 +186,7 @@ export interface CompareData {
|
||||
use_cases: CompareUseCases;
|
||||
faqs: CompareFaqs;
|
||||
benefits_section?: CompareBenefitsSection;
|
||||
related_links?: RelatedLinks;
|
||||
ctas: {
|
||||
primary: CompareCta;
|
||||
secondary: CompareCta;
|
||||
|
||||
@@ -10,7 +10,6 @@ import { type InferPageType, loader } from 'fumadocs-core/source';
|
||||
import { lucideIconsPlugin } from 'fumadocs-core/source/lucide-icons';
|
||||
import { toFumadocsSource } from 'fumadocs-mdx/runtime/server';
|
||||
import type { CompareData } from './compare';
|
||||
import { url } from './layout.shared';
|
||||
|
||||
// See https://fumadocs.dev/docs/headless/source-api for more info
|
||||
export const source = loader({
|
||||
|
||||
Reference in New Issue
Block a user