@marcwelti/mw-ui 0.1.10 → 0.1.12
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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1540,8 +1540,8 @@ function NavigationBar({
|
|
|
1540
1540
|
"sticky top-0 z-50 bg-background/80 backdrop-blur-md",
|
|
1541
1541
|
className
|
|
1542
1542
|
),
|
|
1543
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full px-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
1544
|
-
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: "hidden md:flex items-center gap-1
|
|
1543
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full px-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-3 items-center h-32 gap-4", children: [
|
|
1544
|
+
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: "hidden md:flex items-center gap-1 justify-start", children: isLoggedIn ? (
|
|
1545
1545
|
/* Logged-in: App navigation dropdowns */
|
|
1546
1546
|
navItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1547
1547
|
NavDropdown,
|
|
@@ -1574,7 +1574,7 @@ function NavigationBar({
|
|
|
1574
1574
|
);
|
|
1575
1575
|
}) })
|
|
1576
1576
|
) }),
|
|
1577
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "/", className: "flex items-center
|
|
1577
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "/", className: "flex items-center justify-center", children: mounted ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1578
1578
|
"img",
|
|
1579
1579
|
{
|
|
1580
1580
|
src: logoSrc,
|
|
@@ -1582,7 +1582,7 @@ function NavigationBar({
|
|
|
1582
1582
|
className: "h-24 w-auto"
|
|
1583
1583
|
}
|
|
1584
1584
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-24 w-96 bg-muted animate-pulse rounded" }) }),
|
|
1585
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3
|
|
1585
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 justify-end", children: [
|
|
1586
1586
|
/* @__PURE__ */ jsxRuntime.jsx(SocialIcons, {}),
|
|
1587
1587
|
/* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu, { children: [
|
|
1588
1588
|
/* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button, { intent: "ghost", size: "sm", className: "gap-2 hover:bg-transparent hover:text-current", children: [
|
|
@@ -1609,7 +1609,7 @@ function NavigationBar({
|
|
|
1609
1609
|
"a",
|
|
1610
1610
|
{
|
|
1611
1611
|
href: bookingUrl,
|
|
1612
|
-
className: "hidden md:inline-flex items-center justify-center gap-1 rounded-lg px-5 py-2 text-sm font-medium border border-foreground/30 text-foreground hover:bg-foreground/5 transition-colors",
|
|
1612
|
+
className: "hidden md:inline-flex items-center justify-center gap-1 rounded-lg px-5 py-2 text-sm font-medium border border-foreground/30 text-foreground hover:bg-foreground/5 transition-colors whitespace-nowrap",
|
|
1613
1613
|
children: [
|
|
1614
1614
|
"Kostenloses Erstgespr\xE4ch",
|
|
1615
1615
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-3.5 w-3.5" })
|