Add src/app/sacraments/page.tsx

This commit is contained in:
2026-04-15 21:36:38 +00:00
parent a11619dcc5
commit e80c2c3544

View File

@@ -0,0 +1,36 @@
"use client";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
export default function SacramentsPage() {
const navItems = [
{ name: "Home", id: "/" },
{ name: "Mass Times", id: "/mass-times" },
{ name: "Sacraments", id: "/sacraments" },
];
const sacraments = [
"Baptism", "Confirmation", "Eucharist", "Penance", "Anointing of the Sick", "Holy Orders", "Matrimony"
];
return (
<ThemeProvider>
<ReactLenis root>
<NavbarLayoutFloatingInline navItems={navItems} brandName="St. Mary's" />
<div className="pt-32 pb-20 px-6 max-w-4xl mx-auto">
<h1 className="text-4xl font-bold mb-8">Sacraments</h1>
<p className="mb-8">The seven sacraments are the life of our Church. Contact the parish office for preparation details.</p>
<div className="grid gap-4">
{sacraments.map((s) => (
<div key={s} className="p-6 border rounded-lg">
<h3 className="text-xl font-semibold">{s}</h3>
</div>
))}
</div>
</div>
</ReactLenis>
</ThemeProvider>
);
}