-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #595 from zackproser/devtools-metadata
Refactor /devtools and /vectordatabases to support metadata
- Loading branch information
Showing
5 changed files
with
106 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Metadata } from 'next' | ||
import DevToolsPageClient from './DevToolsPageClient' | ||
import { getTools } from '@/lib/getTools' | ||
import { createMetadata } from '@/utils/createMetadata' | ||
|
||
export const metadata: Metadata = createMetadata({ | ||
title: 'AI-Assisted Developer Tools Compared', | ||
description: 'Compare different AI-assisted developer tools to find the best fit for your needs', | ||
}); | ||
|
||
export default function DevToolsPage() { | ||
const tools = getTools() | ||
return <DevToolsPageClient initialTools={tools} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Metadata } from 'next' | ||
import VectorDatabasesPageClient from './VectorDatabasesPageClient' | ||
import { getDatabases } from '@/lib/getDatabases' | ||
import { createMetadata } from '@/utils/createMetadata' | ||
|
||
export const metadata: Metadata = createMetadata({ | ||
title: 'Vector Databases Compared', | ||
description: 'Explore and compare vector databases', | ||
}) | ||
|
||
export default function VectorDatabasesPage() { | ||
const databases = getDatabases() | ||
return <VectorDatabasesPageClient initialDatabases={databases} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters