@yimingliao/cms 0.0.112 → 0.0.113

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.
@@ -453,10 +453,6 @@ var PATHS = {
453
453
  auth: AUTH_PATHS,
454
454
  resources: RESOURCES_PATHS
455
455
  };
456
-
457
- // src/constants/anchor.ts
458
- var NEW_TAB_TARGET = "_blank";
459
- var NEW_TAB_REL = "noopener noreferrer";
460
456
  function Button2({
461
457
  icon,
462
458
  href,
@@ -658,11 +654,19 @@ function createNavbar({
658
654
  }
659
655
  ),
660
656
  /* @__PURE__ */ jsx(Separator, { orientation: "vertical", className: "mr-2 h-4" }),
661
- /* @__PURE__ */ jsx(Button2, { variant: "outline", children: /* @__PURE__ */ jsx(Link, { href: PATHS.main.dashboard.path, children: /* @__PURE__ */ jsx(House, {}) }) }),
662
- /* @__PURE__ */ jsx(Button2, { variant: "outline", children: /* @__PURE__ */ jsxs(Link, { href: webUrl, target: NEW_TAB_TARGET, rel: NEW_TAB_REL, children: [
657
+ /* @__PURE__ */ jsx(
658
+ Button2,
659
+ {
660
+ variant: "outline",
661
+ size: "icon",
662
+ href: PATHS.main.dashboard.path,
663
+ children: /* @__PURE__ */ jsx(House, {})
664
+ }
665
+ ),
666
+ /* @__PURE__ */ jsxs(Button2, { variant: "outline", href: webUrl, openNewTab: true, children: [
663
667
  /* @__PURE__ */ jsx(SquareArrowOutUpRight, {}),
664
668
  t("ui.layout.navbar.website-homepage.text")
665
- ] }) }),
669
+ ] }),
666
670
  /* @__PURE__ */ jsx("div", { className: "ml-auto" }),
667
671
  /* @__PURE__ */ jsx(I18nSelector, {}),
668
672
  /* @__PURE__ */ jsx(ThemeSelector, {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.112",
3
+ "version": "0.0.113",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",