30 lines
658 B
TypeScript
30 lines
658 B
TypeScript
import type { Route } from '@/types';
|
|
|
|
import { handler } from './common';
|
|
|
|
export const route: Route = {
|
|
name: 'Topic',
|
|
maintainers: ['Rjnishant530'],
|
|
path: ['/topic/:topic'],
|
|
example: '/dnaindia/topic/dna-verified',
|
|
parameters: {
|
|
category: 'Find it in the URL',
|
|
},
|
|
radar: [
|
|
{
|
|
source: ['www.dnaindia.com/topic/:topic'],
|
|
},
|
|
],
|
|
handler,
|
|
url: 'www.dnaindia.com',
|
|
description: `Topics:
|
|
|
|
| DNA verified |
|
|
| ------------ |
|
|
| dna-verified |
|
|
|
|
::: tip
|
|
The URL of the form \`https://www.dnaindia.com/topic/dna-verified\` demonstrates the utilization of the subdomain \`topic\`.
|
|
:::`,
|
|
};
|