Update page.tsx

This commit is contained in:
MacRimi 2025-02-13 21:47:15 +01:00 committed by GitHub
parent 9649326a90
commit ec29e76dbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,13 @@
import Link from "next/link" import Link from "next/link"
// Interface defining the structure of a guide
interface Guide { interface Guide {
title: string title: string
description: string description: string
slug: string slug: string
} }
// Guide list (manually added, can be automated later)
const guides: Guide[] = [ const guides: Guide[] = [
{ {
title: "Setting up NVIDIA Drivers on Proxmox VE with GPU Passthrough", title: "Setting up NVIDIA Drivers on Proxmox VE with GPU Passthrough",
@ -14,13 +16,14 @@ const guides: Guide[] = [
slug: "nvidia_proxmox", slug: "nvidia_proxmox",
}, },
{ {
title: "Ejemplo de Guía Adicional", title: "Example Additional Guide",
description: "Esta es una guía de ejemplo para mostrar cómo se manejan múltiples guías.", description: "This is a sample guide to show how multiple guides are handled.",
slug: "example_guide", slug: "example_guide",
}, },
// Añade más guías aquí según sea necesario // Add more guides as needed
] ]
// Main component that renders the list of available guides
export default function GuidesPage() { export default function GuidesPage() {
return ( return (
<div className="container mx-auto px-4 py-16"> <div className="container mx-auto px-4 py-16">
@ -41,4 +44,3 @@ export default function GuidesPage() {
</div> </div>
) )
} }