@marcwelti/mw-ui 0.1.2 → 0.1.5
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 +70 -60
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +71 -61
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1427,101 +1427,111 @@ function NavigationBar({
|
|
|
1427
1427
|
setMounted(true);
|
|
1428
1428
|
}, []);
|
|
1429
1429
|
const currentTheme = theme === "system" ? systemTheme : theme;
|
|
1430
|
-
const logoSrc = currentTheme === "dark" ? "/
|
|
1430
|
+
const logoSrc = currentTheme === "dark" ? "/logo.webp" : "/logo_dark.webp";
|
|
1431
|
+
const academyBaseUrl = process.env.NEXT_PUBLIC_ACADEMY_URL || "";
|
|
1432
|
+
const bookingBaseUrl = process.env.NEXT_PUBLIC_BOOKING_URL || "";
|
|
1433
|
+
const trainingBaseUrl = process.env.NEXT_PUBLIC_TRAINING_URL || "";
|
|
1434
|
+
const achievementsBaseUrl = process.env.NEXT_PUBLIC_ACHIEVEMENTS_URL || "";
|
|
1431
1435
|
const navItems = [
|
|
1432
1436
|
{
|
|
1433
1437
|
key: "booking",
|
|
1434
1438
|
label: "Booking",
|
|
1435
1439
|
items: [
|
|
1436
1440
|
{
|
|
1437
|
-
label: "
|
|
1438
|
-
description: "
|
|
1439
|
-
href:
|
|
1440
|
-
icon: lucideReact.
|
|
1441
|
+
label: "Book a call",
|
|
1442
|
+
description: "Schedule a phone consultation",
|
|
1443
|
+
href: `${bookingBaseUrl}/call`,
|
|
1444
|
+
icon: lucideReact.Phone
|
|
1441
1445
|
},
|
|
1442
1446
|
{
|
|
1443
|
-
label: "
|
|
1444
|
-
description: "
|
|
1445
|
-
href:
|
|
1446
|
-
icon: lucideReact.
|
|
1447
|
+
label: "Book a private lesson",
|
|
1448
|
+
description: "One-on-one training session",
|
|
1449
|
+
href: `${bookingBaseUrl}/private-lesson`,
|
|
1450
|
+
icon: lucideReact.UserRound
|
|
1447
1451
|
},
|
|
1448
1452
|
{
|
|
1449
|
-
label: "
|
|
1450
|
-
description: "
|
|
1451
|
-
href:
|
|
1452
|
-
icon: lucideReact.
|
|
1453
|
+
label: "Book a zoom call",
|
|
1454
|
+
description: "Virtual video consultation",
|
|
1455
|
+
href: `${bookingBaseUrl}/zoom`,
|
|
1456
|
+
icon: lucideReact.Video
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
label: "Book a group lesson",
|
|
1460
|
+
description: "Join a group training session",
|
|
1461
|
+
href: `${bookingBaseUrl}/group-lesson`,
|
|
1462
|
+
icon: lucideReact.Users
|
|
1453
1463
|
}
|
|
1454
1464
|
]
|
|
1455
1465
|
},
|
|
1456
1466
|
{
|
|
1457
|
-
key: "
|
|
1458
|
-
label: "
|
|
1467
|
+
key: "academy",
|
|
1468
|
+
label: "Academy",
|
|
1459
1469
|
items: [
|
|
1460
1470
|
{
|
|
1461
|
-
label: "
|
|
1462
|
-
description: "
|
|
1463
|
-
href:
|
|
1464
|
-
icon: lucideReact.
|
|
1471
|
+
label: "Academy Information",
|
|
1472
|
+
description: "Learn about our online dog training courses",
|
|
1473
|
+
href: `${academyBaseUrl}/`,
|
|
1474
|
+
icon: lucideReact.GraduationCap
|
|
1465
1475
|
},
|
|
1466
1476
|
{
|
|
1467
|
-
label: "
|
|
1468
|
-
description: "
|
|
1469
|
-
href:
|
|
1470
|
-
icon: lucideReact.
|
|
1477
|
+
label: "Courses",
|
|
1478
|
+
description: "Browse and access available courses",
|
|
1479
|
+
href: `${academyBaseUrl}/courses`,
|
|
1480
|
+
icon: lucideReact.BookOpen
|
|
1471
1481
|
},
|
|
1472
1482
|
{
|
|
1473
|
-
label: "
|
|
1474
|
-
description: "
|
|
1475
|
-
href:
|
|
1476
|
-
icon: lucideReact.
|
|
1483
|
+
label: "FAQ",
|
|
1484
|
+
description: "Frequently asked questions",
|
|
1485
|
+
href: `${academyBaseUrl}/faq`,
|
|
1486
|
+
icon: lucideReact.HelpCircle
|
|
1477
1487
|
}
|
|
1478
1488
|
]
|
|
1479
1489
|
},
|
|
1480
1490
|
{
|
|
1481
|
-
key: "
|
|
1482
|
-
label: "
|
|
1491
|
+
key: "training",
|
|
1492
|
+
label: "Training",
|
|
1483
1493
|
items: [
|
|
1484
1494
|
{
|
|
1485
|
-
label: "
|
|
1486
|
-
description: "View
|
|
1487
|
-
href:
|
|
1488
|
-
icon: lucideReact.
|
|
1495
|
+
label: "Dog Commands",
|
|
1496
|
+
description: "View and manage trained commands",
|
|
1497
|
+
href: `${trainingBaseUrl}/commands`,
|
|
1498
|
+
icon: lucideReact.Dog
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
label: "Dog Progress",
|
|
1502
|
+
description: "Track your dog's training progress",
|
|
1503
|
+
href: `${trainingBaseUrl}/progress`,
|
|
1504
|
+
icon: lucideReact.TrendingUp
|
|
1489
1505
|
},
|
|
1490
1506
|
{
|
|
1491
|
-
label: "
|
|
1492
|
-
description: "
|
|
1493
|
-
href:
|
|
1494
|
-
icon: lucideReact.
|
|
1507
|
+
label: "System Error",
|
|
1508
|
+
description: "Report a system issue",
|
|
1509
|
+
href: `${trainingBaseUrl}/error`,
|
|
1510
|
+
icon: lucideReact.AlertTriangle
|
|
1495
1511
|
},
|
|
1496
1512
|
{
|
|
1497
|
-
label: "
|
|
1498
|
-
description: "
|
|
1499
|
-
href:
|
|
1500
|
-
icon: lucideReact.
|
|
1513
|
+
label: "Submit a Question",
|
|
1514
|
+
description: "Ask a training question",
|
|
1515
|
+
href: `${trainingBaseUrl}/question`,
|
|
1516
|
+
icon: lucideReact.MessageCircleQuestion
|
|
1501
1517
|
}
|
|
1502
1518
|
]
|
|
1503
1519
|
},
|
|
1504
1520
|
{
|
|
1505
|
-
key: "
|
|
1506
|
-
label: "
|
|
1521
|
+
key: "achievements",
|
|
1522
|
+
label: "Achievements",
|
|
1507
1523
|
items: [
|
|
1508
1524
|
{
|
|
1509
|
-
label: "
|
|
1510
|
-
description: "
|
|
1511
|
-
href:
|
|
1512
|
-
icon: lucideReact.
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
label: "Learning Paths",
|
|
1516
|
-
description: "Follow structured learning journeys",
|
|
1517
|
-
href: "#",
|
|
1518
|
-
icon: lucideReact.BookOpen
|
|
1525
|
+
label: "Journey",
|
|
1526
|
+
description: "View your training journey and milestones",
|
|
1527
|
+
href: `${achievementsBaseUrl}/journey`,
|
|
1528
|
+
icon: lucideReact.Map
|
|
1519
1529
|
},
|
|
1520
1530
|
{
|
|
1521
|
-
label: "
|
|
1522
|
-
description: "
|
|
1523
|
-
href:
|
|
1524
|
-
icon: lucideReact.
|
|
1531
|
+
label: "Next Task",
|
|
1532
|
+
description: "See your next recommended task",
|
|
1533
|
+
href: `${achievementsBaseUrl}/next-task`,
|
|
1534
|
+
icon: lucideReact.ListTodo
|
|
1525
1535
|
}
|
|
1526
1536
|
]
|
|
1527
1537
|
}
|
|
@@ -1861,7 +1871,7 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
1861
1871
|
function Badge({ className, variant, ...props }) {
|
|
1862
1872
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
1863
1873
|
}
|
|
1864
|
-
function
|
|
1874
|
+
function Calendar({
|
|
1865
1875
|
className,
|
|
1866
1876
|
classNames,
|
|
1867
1877
|
showOutsideDays = true,
|
|
@@ -1917,7 +1927,7 @@ function Calendar2({
|
|
|
1917
1927
|
}
|
|
1918
1928
|
);
|
|
1919
1929
|
}
|
|
1920
|
-
|
|
1930
|
+
Calendar.displayName = "Calendar";
|
|
1921
1931
|
var CarouselContext = React27__namespace.createContext(null);
|
|
1922
1932
|
function useCarousel() {
|
|
1923
1933
|
const context = React27__namespace.useContext(CarouselContext);
|
|
@@ -3054,7 +3064,7 @@ exports.BreadcrumbList = BreadcrumbList;
|
|
|
3054
3064
|
exports.BreadcrumbPage = BreadcrumbPage;
|
|
3055
3065
|
exports.BreadcrumbSeparator = BreadcrumbSeparator;
|
|
3056
3066
|
exports.Button = Button;
|
|
3057
|
-
exports.Calendar =
|
|
3067
|
+
exports.Calendar = Calendar;
|
|
3058
3068
|
exports.Card = Card;
|
|
3059
3069
|
exports.CardContent = CardContent;
|
|
3060
3070
|
exports.CardDescription = CardDescription;
|