Add src/app/sacraments/page.tsx
This commit is contained in:
36
src/app/sacraments/page.tsx
Normal file
36
src/app/sacraments/page.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user