4 Commits

Author SHA1 Message Date
c11eaaaecb Update src/app/admin/page.tsx 2026-05-15 13:04:43 +00:00
a5d649dc1a Update src/app/page.tsx 2026-05-15 12:58:12 +00:00
c3abe7a3f9 Add src/app/admin/page.tsx 2026-05-15 12:58:12 +00:00
9e1f88b82e Merge version_3 into main
Merge version_3 into main
2026-05-15 12:54:52 +00:00
2 changed files with 67 additions and 2 deletions

64
src/app/admin/page.tsx Normal file
View File

@@ -0,0 +1,64 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FooterBase from '@/components/sections/footer/FooterBase';
import LegalSection from '@/components/legal/LegalSection';
export default function AdminDocumentationPage() {
return (
<ThemeProvider
defaultButtonVariant="expand-hover"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="medium"
sizing="large"
background="fluid"
cardStyle="glass-depth"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="glass"
headingFontWeight="semibold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "דף הבית", id: "/" },
{ name: "מדריך ניהול", id: "/admin" },
]}
brandName="Familia"
/>
</div>
<LegalSection
layout="page"
title="מדריך לניהול התוכן באתר"
subtitle="כיצד לגשת ולעדכן את האתר שלך"
sections={[
{
heading: "גישה לפורטל הניהול", content: { type: "paragraph", text: "כדי לגשת למערכת ניהול התוכן, יש להוסיף '/admin' לכתובת האתר בדפדפן (למשל: yoursite.com/admin). התחבר באמצעות שם המשתמש והסיסמה שסופקו לך בתיאום ההקמה." }
},
{
heading: "עדכון תפריטים ומוצרים", content: { type: "list", items: ["היכנס ללשונית 'מוצרים' בתפריט הצד.", "ניתן להוסיף, לערוך או למחוק מנות ותפריטים קיימים.", "יש לוודא שמירת השינויים לאחר כל עדכון."] }
},
{
heading: "ניהול גלריה וביקורות", content: { type: "paragraph", text: "ניתן להעלות תמונות חדשות לגלריה דרך לשונית 'מדיה'. לניהול הביקורות המופיעות באתר, בחר באפשרות ' testimonials' בלוח הבקרה כדי לאשר או להסיר תוכן." }
}
]}
/>
<div id="footer" data-section="footer">
<FooterBase
columns={[
{ title: "תפריט", items: [{ label: "קפה חם", href: "/#menu" }, { label: "מאפים", href: "/#menu" }] },
{ title: "מידע", items: [{ label: "עלינו", href: "/#about" }, { label: "מדריך ניהול", href: "/admin" }] },
]}
logoText="Familia"
copyrightText="© 2025 פאמיליה. כל הזכויות שמורות."
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -35,6 +35,7 @@ export default function LandingPage() {
{ name: "גלריה", id: "gallery" },
{ name: "ביקורות", id: "testimonials" },
{ name: "יצירת קשר", id: "contact" },
{ name: "מדריך ניהול", id: "/admin" },
]}
brandName="Familia"
/>
@@ -139,7 +140,7 @@ export default function LandingPage() {
<FooterBase
columns={[
{ title: "תפריט", items: [{ label: "קפה חם", href: "#menu" }, { label: "מאפים", href: "#menu" }, { label: "ארוחות בוקר", href: "#menu" }] },
{ title: "מידע", items: [{ label: "מיקום", href: "#about" }, { label: "שעות פתיחה", href: "#" }, { label: "יצירת קשר", href: "#contact" }] },
{ title: "מידע", items: [{ label: "מיקום", href: "#about" }, { label: "שעות פתיחה", href: "#" }, { label: "יצירת קשר", href: "#contact" }, { label: "מדריך ניהול", href: "/admin" }] },
]}
logoText="Familia"
copyrightText="© 2025 פאמיליה. כל הזכויות שמורות."
@@ -148,4 +149,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}