Merge version_4 into main #5
72
src/app/admin/page.tsx
Normal file
72
src/app/admin/page.tsx
Normal file
@@ -0,0 +1,72 @@
|
||||
"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>
|
||||
);
|
||||
}
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user