b
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import prisma from "@/lib/prisma";
|
||||
import FeaturesClient from "./FeaturesClient";
|
||||
|
||||
export default async function FeaturesPage() {
|
||||
const features = await prisma.feature.findMany({
|
||||
orderBy: [
|
||||
{ lang: 'asc' },
|
||||
{ order: 'asc' }
|
||||
]
|
||||
});
|
||||
|
||||
return (
|
||||
<div className="max-w-5xl mx-auto w-full">
|
||||
<FeaturesClient features={features} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user