@goplusvn/core 0.1.28 → 0.1.29

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.29 — Footer: link "Goplus.vn" trỏ về https://goplus.vn
4
+
5
+ Trước trỏ nhầm github.com/Qualiora (template gốc).
6
+
3
7
  ## 0.1.28 — Auth Bridge: core hết khóa cứng NextAuth (nền cho Better Auth)
4
8
 
5
9
  `@goerp/core/ui` xuất `AuthBridgeProvider` + `useAuthBridge`/`useAuthSession`/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@goplusvn/core",
3
3
  "description": "GoPlusVN Platform Kit - ERP kernel: layout, RBAC, CRUD, multi-tenant, system pages",
4
- "version": "0.1.28",
4
+ "version": "0.1.29",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org",
@@ -25,7 +25,7 @@ export function Footer() {
25
25
  <p className="text-xs leading-tight text-muted-foreground">
26
26
  Make with ❤ by{" "}
27
27
  <a
28
- href="https://github.com/Qualiora"
28
+ href="https://goplus.vn"
29
29
  target="_blank"
30
30
  rel="noopener noreferrer"
31
31
  className={cn(
@@ -2,7 +2,8 @@
2
2
 
3
3
  import Link from "next/link";
4
4
  import { useAuthBridge, useSafeAuthSession } from "../auth/auth-bridge";
5
- import { LogOut, User, UserCog } from "lucide-react";
5
+ import { LogOut, User, UserCog, MonitorSmartphone,
6
+ } from "lucide-react";
6
7
 
7
8
  import type { DictionaryType } from "../../hooks";
8
9
  import type { LocaleType } from "../../types";
@@ -151,6 +152,18 @@ export function UserDropdown({
151
152
  <span>{dictionary.navigation.userNav.profile}</span>
152
153
  </Link>
153
154
  </DropdownMenuItem>
155
+ <DropdownMenuItem
156
+ asChild
157
+ className="h-8 px-2 rounded-md cursor-pointer focus:bg-primary/10 focus:text-primary transition-colors duration-200 group text-sm"
158
+ >
159
+ <Link
160
+ href={ensureLocalizedPathname("/security/sessions", locale)}
161
+ className="flex items-center w-full"
162
+ >
163
+ <MonitorSmartphone className="me-2 size-4 text-muted-foreground group-hover:text-primary group-focus:text-primary transition-colors" />
164
+ <span>Thiết bị & phiên đăng nhập</span>
165
+ </Link>
166
+ </DropdownMenuItem>
154
167
  {/* <DropdownMenuItem
155
168
  asChild
156
169
  className="h-8 px-2 rounded-md cursor-pointer focus:bg-primary/10 focus:text-primary transition-colors duration-200 group text-sm"