File tree 1 file changed +0
-20
lines changed
src/app/[username]/[repo]
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -5,26 +5,6 @@ import MainCard from "~/components/main-card";
5
5
import Loading from "~/components/loading" ;
6
6
import MermaidChart from "~/components/mermaid-diagram" ;
7
7
import { useDiagram } from "~/hooks/useDiagram" ;
8
- import { type Metadata } from "next" ;
9
-
10
- type Props = {
11
- params : { username : string ; repo : string } ;
12
- } ;
13
-
14
- // Dynamic metadata for each repository
15
- export async function generateMetadata ( { params } : Props ) : Promise < Metadata > {
16
- const title = `${ params . repo } - GitDiagram Visualization` ;
17
- const description = `Interactive diagram visualization for ${ params . username } /${ params . repo } GitHub repository` ;
18
-
19
- return {
20
- title,
21
- description,
22
- openGraph : {
23
- title,
24
- description,
25
- } ,
26
- } ;
27
- }
28
8
29
9
export default function Repo ( ) {
30
10
const params = useParams < { username : string ; repo : string } > ( ) ;
You can’t perform that action at this time.
0 commit comments