feat: reorder sections — About → Classes → Team → OpenDay → Schedule → Pricing → MC

This commit is contained in:
2026-03-26 12:35:10 +03:00
parent c9303e5aad
commit 228e547e10
4 changed files with 11 additions and 11 deletions

View File

@@ -31,15 +31,15 @@ const NAV_ITEMS = [
{ href: "/admin/meta", label: "SEO / Мета", icon: Globe },
{ href: "/admin/hero", label: "Главный экран", icon: Sparkles },
{ href: "/admin/about", label: "О студии", icon: FileText },
{ href: "/admin/team", label: "Команда", icon: Users },
{ href: "/admin/classes", label: "Направления", icon: BookOpen },
{ href: "/admin/master-classes", label: "Мастер-классы", icon: Star },
{ href: "/admin/team", label: "Команда", icon: Users },
{ href: "/admin/open-day", label: "День открытых дверей", icon: DoorOpen },
{ href: "/admin/schedule", label: "Расписание", icon: Calendar },
{ href: "/admin/bookings", label: "Записи", icon: ClipboardList },
{ href: "/admin/pricing", label: "Цены", icon: DollarSign },
{ href: "/admin/faq", label: "FAQ", icon: HelpCircle },
{ href: "/admin/master-classes", label: "Мастер-классы", icon: Star },
{ href: "/admin/news", label: "Новости", icon: Newspaper },
{ href: "/admin/faq", label: "FAQ", icon: HelpCircle },
{ href: "/admin/popups", label: "Всплывающие окна", icon: MessageSquare },
{ href: "/admin/contact", label: "Контакты", icon: Phone },
];

View File

@@ -32,7 +32,6 @@ export default function HomePage() {
<Header />
<main>
<Hero data={content.hero} />
{openDayData && <OpenDay data={openDayData} popups={content.popups} />}
<About
data={content.about}
stats={{
@@ -41,11 +40,12 @@ export default function HomePage() {
locations: content.schedule.locations.length,
}}
/>
<Team data={content.team} schedule={content.schedule.locations} />
<Classes data={content.classes} />
<MasterClasses data={content.masterClasses} regCounts={mcRegCounts} popups={content.popups} />
<Team data={content.team} schedule={content.schedule.locations} />
{openDayData && <OpenDay data={openDayData} popups={content.popups} />}
<Schedule data={content.schedule} classItems={content.classes.items} teamMembers={content.team.members} />
<Pricing data={content.pricing} />
<MasterClasses data={content.masterClasses} regCounts={mcRegCounts} popups={content.popups} />
<News data={content.news} />
<FAQ data={content.faq} />
<Contact data={content.contact} />

View File

@@ -11,14 +11,14 @@ export const BRAND = {
export const NAV_LINKS: NavLink[] = [
{ label: "Главная", href: "#hero" },
{ label: "День открытых дверей", href: "#open-day" },
{ label: "О нас", href: "#about" },
{ label: "Команда", href: "#team" },
{ label: "Направления", href: "#classes" },
{ label: "Мастер-классы", href: "#master-classes" },
{ label: "Команда", href: "#team" },
{ label: "День открытых дверей", href: "#open-day" },
{ label: "Расписание", href: "#schedule" },
{ label: "Стоимость", href: "#pricing" },
{ label: "FAQ", href: "#faq" },
{ label: "Мастер-классы", href: "#master-classes" },
{ label: "Новости", href: "#news" },
{ label: "FAQ", href: "#faq" },
{ label: "Контакты", href: "#contact" },
];