feat: Add static assets and content for the KLZ Cables showcase.
This commit is contained in:
14
app/technologies/[slug]/page.tsx
Normal file
14
app/technologies/[slug]/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
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,
|
||||
}));
|
||||
}
|
||||
Reference in New Issue
Block a user