fix: add internal links

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-12-02 13:59:53 +01:00
parent a7a357eb0f
commit 50ef4c0d94
38 changed files with 652 additions and 10 deletions

View File

@@ -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;

View File

@@ -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({