Update page.tsx

This commit is contained in:
MacRimi 2025-02-15 23:41:32 +01:00 committed by GitHub
parent fe8dcf13e2
commit e540f7c795
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,7 @@ import fs from "fs"
import path from "path" import path from "path"
import matter from "gray-matter" import matter from "gray-matter"
import Link from "next/link" import Link from "next/link"
import Footer from "@/components/footer"
const guidesDirectory = path.join(process.cwd(), "..", "guides") const guidesDirectory = path.join(process.cwd(), "..", "guides")
@ -45,7 +46,7 @@ export default function GuidesPage() {
const guides = getGuides() const guides = getGuides()
return ( return (
<div className="min-h-screen bg-gray-900 text-white"> <div className="min-h-screen bg-gray-900">
<div className="container mx-auto px-4 py-16"> <div className="container mx-auto px-4 py-16">
<h1 className="text-4xl font-bold mb-8">ProxMenux Guides</h1> <h1 className="text-4xl font-bold mb-8">ProxMenux Guides</h1>
<p className="text-xl mb-8">Complementary guides to make the most of your Proxmox VE.</p> <p className="text-xl mb-8">Complementary guides to make the most of your Proxmox VE.</p>
@ -54,10 +55,10 @@ export default function GuidesPage() {
<Link <Link
key={guide.slug} key={guide.slug}
href={`/guides/${guide.slug}`} href={`/guides/${guide.slug}`}
className="block p-6 bg-gray-800 rounded-lg shadow-md hover:shadow-lg transition-shadow" className="block p-6 bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow"
> >
<h2 className="text-2xl font-semibold mb-2 text-white">{guide.title}</h2> <h2 className="text-2xl font-semibold mb-2 text-gray-900">{guide.title}</h2>
<p className="text-gray-300">{guide.description}</p> <p className="text-gray-600">{guide.description}</p>
</Link> </Link>
))} ))}
</div> </div>