@marcwelti/mw-ui 0.1.3 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1428,100 +1428,111 @@ function NavigationBar({
1428
1428
  }, []);
1429
1429
  const currentTheme = theme === "system" ? systemTheme : theme;
1430
1430
  const logoSrc = currentTheme === "dark" ? "/logo.webp" : "/logo_dark.webp";
1431
+ const isProduction = typeof window !== "undefined" && window.location.hostname.includes("your-domain.ch");
1432
+ const academyBaseUrl = isProduction ? "https://academy.your-domain.ch" : "";
1433
+ const bookingBaseUrl = isProduction ? "https://booking.your-domain.ch" : "";
1434
+ const trainingBaseUrl = isProduction ? "https://training.your-domain.ch" : "";
1435
+ const achievementsBaseUrl = isProduction ? "https://achievements.your-domain.ch" : "";
1431
1436
  const navItems = [
1432
1437
  {
1433
1438
  key: "booking",
1434
1439
  label: "Booking",
1435
1440
  items: [
1436
1441
  {
1437
- label: "Schedule Call",
1438
- description: "Book a consultation with Marc Welti",
1439
- href: "#",
1440
- icon: lucideReact.Calendar
1442
+ label: "Book a call",
1443
+ description: "Schedule a phone consultation",
1444
+ href: `${bookingBaseUrl}/call`,
1445
+ icon: lucideReact.Phone
1441
1446
  },
1442
1447
  {
1443
- label: "My Appointments",
1444
- description: "View and manage your scheduled sessions",
1445
- href: "#",
1446
- icon: lucideReact.ClipboardList
1448
+ label: "Book a private lesson",
1449
+ description: "One-on-one training session",
1450
+ href: `${bookingBaseUrl}/private-lesson`,
1451
+ icon: lucideReact.UserRound
1447
1452
  },
1448
1453
  {
1449
- label: "Availability",
1450
- description: "Check available time slots",
1451
- href: "#",
1452
- icon: lucideReact.Calendar
1454
+ label: "Book a zoom call",
1455
+ description: "Virtual video consultation",
1456
+ href: `${bookingBaseUrl}/zoom`,
1457
+ icon: lucideReact.Video
1458
+ },
1459
+ {
1460
+ label: "Book a group lesson",
1461
+ description: "Join a group training session",
1462
+ href: `${bookingBaseUrl}/group-lesson`,
1463
+ icon: lucideReact.Users
1453
1464
  }
1454
1465
  ]
1455
1466
  },
1456
1467
  {
1457
- key: "training",
1458
- label: "Training",
1468
+ key: "academy",
1469
+ label: "Academy",
1459
1470
  items: [
1460
1471
  {
1461
- label: "My Programs",
1462
- description: "Access your personalized training plans",
1463
- href: "#",
1464
- icon: lucideReact.Dumbbell
1472
+ label: "Academy Information",
1473
+ description: "Learn about our online dog training courses",
1474
+ href: `${academyBaseUrl}/`,
1475
+ icon: lucideReact.GraduationCap
1465
1476
  },
1466
1477
  {
1467
- label: "Workouts",
1468
- description: "View and track your workout sessions",
1469
- href: "#",
1470
- icon: lucideReact.Award
1478
+ label: "Courses",
1479
+ description: "Browse and access available courses",
1480
+ href: `${academyBaseUrl}/courses`,
1481
+ icon: lucideReact.BookOpen
1471
1482
  },
1472
1483
  {
1473
- label: "Progress",
1474
- description: "Monitor your fitness journey and results",
1475
- href: "#",
1476
- icon: lucideReact.BarChart
1484
+ label: "FAQ",
1485
+ description: "Frequently asked questions",
1486
+ href: `${academyBaseUrl}/faq`,
1487
+ icon: lucideReact.HelpCircle
1477
1488
  }
1478
1489
  ]
1479
1490
  },
1480
1491
  {
1481
- key: "achievements",
1482
- label: "Achievements",
1492
+ key: "training",
1493
+ label: "Training",
1483
1494
  items: [
1484
1495
  {
1485
- label: "My Badges",
1486
- description: "View your earned achievement badges",
1487
- href: "#",
1488
- icon: lucideReact.Trophy
1496
+ label: "Dog Commands",
1497
+ description: "View and manage trained commands",
1498
+ href: `${trainingBaseUrl}/commands`,
1499
+ icon: lucideReact.Dog
1500
+ },
1501
+ {
1502
+ label: "Dog Progress",
1503
+ description: "Track your dog's training progress",
1504
+ href: `${trainingBaseUrl}/progress`,
1505
+ icon: lucideReact.TrendingUp
1489
1506
  },
1490
1507
  {
1491
- label: "Milestones",
1492
- description: "Track your progress milestones",
1493
- href: "#",
1494
- icon: lucideReact.Award
1508
+ label: "System Error",
1509
+ description: "Report a system issue",
1510
+ href: `${trainingBaseUrl}/error`,
1511
+ icon: lucideReact.AlertTriangle
1495
1512
  },
1496
1513
  {
1497
- label: "Leaderboard",
1498
- description: "See how you rank among the community",
1499
- href: "#",
1500
- icon: lucideReact.BarChart
1514
+ label: "Submit a Question",
1515
+ description: "Ask a training question",
1516
+ href: `${trainingBaseUrl}/question`,
1517
+ icon: lucideReact.MessageCircleQuestion
1501
1518
  }
1502
1519
  ]
1503
1520
  },
1504
1521
  {
1505
- key: "academy",
1506
- label: "Academy",
1522
+ key: "achievements",
1523
+ label: "Achievements",
1507
1524
  items: [
1508
1525
  {
1509
- label: "My Courses",
1510
- description: "Access your enrolled courses and materials",
1511
- href: "#",
1512
- icon: lucideReact.GraduationCap
1513
- },
1514
- {
1515
- label: "Learning Paths",
1516
- description: "Follow structured learning journeys",
1517
- href: "#",
1518
- icon: lucideReact.BookOpen
1526
+ label: "Journey",
1527
+ description: "View your training journey and milestones",
1528
+ href: `${achievementsBaseUrl}/journey`,
1529
+ icon: lucideReact.Map
1519
1530
  },
1520
1531
  {
1521
- label: "Certificates",
1522
- description: "View and download your certificates",
1523
- href: "#",
1524
- icon: lucideReact.Award
1532
+ label: "Next Task",
1533
+ description: "See your next recommended task",
1534
+ href: `${achievementsBaseUrl}/next-task`,
1535
+ icon: lucideReact.ListTodo
1525
1536
  }
1526
1537
  ]
1527
1538
  }
@@ -1861,7 +1872,7 @@ var badgeVariants = classVarianceAuthority.cva(
1861
1872
  function Badge({ className, variant, ...props }) {
1862
1873
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
1863
1874
  }
1864
- function Calendar2({
1875
+ function Calendar({
1865
1876
  className,
1866
1877
  classNames,
1867
1878
  showOutsideDays = true,
@@ -1900,8 +1911,8 @@ function Calendar2({
1900
1911
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
1901
1912
  "aria-selected:opacity-100"
1902
1913
  ),
1903
- selected: "bg-brand-gold text-white hover:bg-brand-gold hover:text-white focus:bg-brand-gold focus:text-white rounded-md",
1904
- today: "bg-accent text-accent-foreground rounded-md",
1914
+ selected: "[&]:ring-2 [&]:ring-brand-gold [&]:ring-inset [&]:bg-transparent [&]:text-foreground rounded-md",
1915
+ today: "[&]:ring-1 [&]:ring-brand-gold/40 [&]:ring-inset [&]:bg-transparent rounded-md",
1905
1916
  outside: "text-muted-foreground opacity-50",
1906
1917
  disabled: "text-muted-foreground opacity-50 cursor-not-allowed",
1907
1918
  hidden: "invisible",
@@ -1917,7 +1928,7 @@ function Calendar2({
1917
1928
  }
1918
1929
  );
1919
1930
  }
1920
- Calendar2.displayName = "Calendar";
1931
+ Calendar.displayName = "Calendar";
1921
1932
  var CarouselContext = React27__namespace.createContext(null);
1922
1933
  function useCarousel() {
1923
1934
  const context = React27__namespace.useContext(CarouselContext);
@@ -3054,7 +3065,7 @@ exports.BreadcrumbList = BreadcrumbList;
3054
3065
  exports.BreadcrumbPage = BreadcrumbPage;
3055
3066
  exports.BreadcrumbSeparator = BreadcrumbSeparator;
3056
3067
  exports.Button = Button;
3057
- exports.Calendar = Calendar2;
3068
+ exports.Calendar = Calendar;
3058
3069
  exports.Card = Card;
3059
3070
  exports.CardContent = CardContent;
3060
3071
  exports.CardDescription = CardDescription;