feat: reorder sections — About → Classes → Team → OpenDay → Schedule → Pricing → MC
This commit is contained in:
@@ -25,7 +25,7 @@ Content language: Russian
|
|||||||
src/
|
src/
|
||||||
├── app/
|
├── app/
|
||||||
│ ├── layout.tsx # Root layout, fonts, metadata
|
│ ├── layout.tsx # Root layout, fonts, metadata
|
||||||
│ ├── page.tsx # Landing: Hero → [OpenDay] → About → Team → Classes → MasterClasses → Schedule → Pricing → News → FAQ → Contact
|
│ ├── page.tsx # Landing: Hero → About → Classes → Team → [OpenDay] → Schedule → Pricing → MasterClasses → News → FAQ → Contact
|
||||||
│ ├── globals.css # Tailwind imports
|
│ ├── globals.css # Tailwind imports
|
||||||
│ ├── styles/
|
│ ├── styles/
|
||||||
│ │ ├── theme.css # Theme variables, semantic classes
|
│ │ ├── theme.css # Theme variables, semantic classes
|
||||||
|
|||||||
@@ -31,15 +31,15 @@ const NAV_ITEMS = [
|
|||||||
{ href: "/admin/meta", label: "SEO / Мета", icon: Globe },
|
{ href: "/admin/meta", label: "SEO / Мета", icon: Globe },
|
||||||
{ href: "/admin/hero", label: "Главный экран", icon: Sparkles },
|
{ href: "/admin/hero", label: "Главный экран", icon: Sparkles },
|
||||||
{ href: "/admin/about", label: "О студии", icon: FileText },
|
{ href: "/admin/about", label: "О студии", icon: FileText },
|
||||||
{ href: "/admin/team", label: "Команда", icon: Users },
|
|
||||||
{ href: "/admin/classes", label: "Направления", icon: BookOpen },
|
{ 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/open-day", label: "День открытых дверей", icon: DoorOpen },
|
||||||
{ href: "/admin/schedule", label: "Расписание", icon: Calendar },
|
{ href: "/admin/schedule", label: "Расписание", icon: Calendar },
|
||||||
{ href: "/admin/bookings", label: "Записи", icon: ClipboardList },
|
{ href: "/admin/bookings", label: "Записи", icon: ClipboardList },
|
||||||
{ href: "/admin/pricing", label: "Цены", icon: DollarSign },
|
{ 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/news", label: "Новости", icon: Newspaper },
|
||||||
|
{ href: "/admin/faq", label: "FAQ", icon: HelpCircle },
|
||||||
{ href: "/admin/popups", label: "Всплывающие окна", icon: MessageSquare },
|
{ href: "/admin/popups", label: "Всплывающие окна", icon: MessageSquare },
|
||||||
{ href: "/admin/contact", label: "Контакты", icon: Phone },
|
{ href: "/admin/contact", label: "Контакты", icon: Phone },
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ export default function HomePage() {
|
|||||||
<Header />
|
<Header />
|
||||||
<main>
|
<main>
|
||||||
<Hero data={content.hero} />
|
<Hero data={content.hero} />
|
||||||
{openDayData && <OpenDay data={openDayData} popups={content.popups} />}
|
|
||||||
<About
|
<About
|
||||||
data={content.about}
|
data={content.about}
|
||||||
stats={{
|
stats={{
|
||||||
@@ -41,11 +40,12 @@ export default function HomePage() {
|
|||||||
locations: content.schedule.locations.length,
|
locations: content.schedule.locations.length,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Team data={content.team} schedule={content.schedule.locations} />
|
|
||||||
<Classes data={content.classes} />
|
<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} />
|
<Schedule data={content.schedule} classItems={content.classes.items} teamMembers={content.team.members} />
|
||||||
<Pricing data={content.pricing} />
|
<Pricing data={content.pricing} />
|
||||||
|
<MasterClasses data={content.masterClasses} regCounts={mcRegCounts} popups={content.popups} />
|
||||||
<News data={content.news} />
|
<News data={content.news} />
|
||||||
<FAQ data={content.faq} />
|
<FAQ data={content.faq} />
|
||||||
<Contact data={content.contact} />
|
<Contact data={content.contact} />
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ export const BRAND = {
|
|||||||
|
|
||||||
export const NAV_LINKS: NavLink[] = [
|
export const NAV_LINKS: NavLink[] = [
|
||||||
{ label: "Главная", href: "#hero" },
|
{ label: "Главная", href: "#hero" },
|
||||||
{ label: "День открытых дверей", href: "#open-day" },
|
|
||||||
{ label: "О нас", href: "#about" },
|
{ label: "О нас", href: "#about" },
|
||||||
{ label: "Команда", href: "#team" },
|
|
||||||
{ label: "Направления", href: "#classes" },
|
{ label: "Направления", href: "#classes" },
|
||||||
{ label: "Мастер-классы", href: "#master-classes" },
|
{ label: "Команда", href: "#team" },
|
||||||
|
{ label: "День открытых дверей", href: "#open-day" },
|
||||||
{ label: "Расписание", href: "#schedule" },
|
{ label: "Расписание", href: "#schedule" },
|
||||||
{ label: "Стоимость", href: "#pricing" },
|
{ label: "Стоимость", href: "#pricing" },
|
||||||
{ label: "FAQ", href: "#faq" },
|
{ label: "Мастер-классы", href: "#master-classes" },
|
||||||
{ label: "Новости", href: "#news" },
|
{ label: "Новости", href: "#news" },
|
||||||
|
{ label: "FAQ", href: "#faq" },
|
||||||
{ label: "Контакты", href: "#contact" },
|
{ label: "Контакты", href: "#contact" },
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user