15 lines
426 B
TypeScript
15 lines
426 B
TypeScript
import React from 'react';
|
|
import { technologies } from './data';
|
|
import TechnologyContent from './content';
|
|
|
|
export default function TechnologyPage({ params }: { params: { slug: string } }) {
|
|
return <TechnologyContent slug={params.slug} />;
|
|
}
|
|
|
|
// Generate static params for these dynamic routes
|
|
export async function generateStaticParams() {
|
|
return Object.keys(technologies).map((slug) => ({
|
|
slug,
|
|
}));
|
|
}
|