Download next.js/packages/next/src/lib/metadata/default-metadata.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/lib/metadata/default-metadata.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/lib/metadata/default-metadata.tsx
-
curl -L -o default-metadata.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/lib/metadata/default-metadata.tsx
1.28 kB
| import type { | |
| ResolvedMetadata, | |
| ResolvedViewport, | |
| } from './types/metadata-interface' | |
| export function createDefaultViewport(): ResolvedViewport { | |
| return { | |
| // name=viewport | |
| width: 'device-width', | |
| initialScale: 1, | |
| // visual metadata | |
| themeColor: null, | |
| colorScheme: null, | |
| } | |
| } | |
| export function createDefaultMetadata(): ResolvedMetadata { | |
| return { | |
| // Deprecated ones | |
| viewport: null, | |
| themeColor: null, | |
| colorScheme: null, | |
| metadataBase: null, | |
| // Other values are all null | |
| title: null, | |
| description: null, | |
| applicationName: null, | |
| authors: null, | |
| generator: null, | |
| keywords: null, | |
| referrer: null, | |
| creator: null, | |
| publisher: null, | |
| robots: null, | |
| manifest: null, | |
| alternates: { | |
| canonical: null, | |
| languages: null, | |
| media: null, | |
| types: null, | |
| }, | |
| icons: null, | |
| openGraph: null, | |
| twitter: null, | |
| verification: {}, | |
| appleWebApp: null, | |
| formatDetection: null, | |
| itunes: null, | |
| facebook: null, | |
| pinterest: null, | |
| abstract: null, | |
| appLinks: null, | |
| archives: null, | |
| assets: null, | |
| bookmarks: null, | |
| category: null, | |
| classification: null, | |
| pagination: { | |
| previous: null, | |
| next: null, | |
| }, | |
| other: {}, | |
| } | |
| } | |