create-nextjs-cms 0.8.1 → 0.8.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextjs-cms",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,6 +11,7 @@ import ProtectedImage from '@/components/ProtectedImage'
11
11
  import { trpc } from '@/app/_trpc/client'
12
12
  import { useToast } from '@/components/ui/use-toast'
13
13
  import { logout, useSession } from 'nextjs-cms/auth/react'
14
+ import { LogOut } from 'lucide-react'
14
15
 
15
16
  const Sidebar = (props: SidebarProps & { logoUrlPath: string; logoText: string; isRTL: boolean }) => {
16
17
  const t = useI18n()
@@ -141,17 +142,19 @@ const Sidebar = (props: SidebarProps & { logoUrlPath: string; logoText: string;
141
142
  item={{
142
143
  path: '/settings',
143
144
  title: t('accountSettings'),
145
+ icon: 'cog'
144
146
  }}
145
147
  />
146
148
  <Link
147
149
  href='#'
148
150
  onClick={handleLogout}
149
151
  className={classNames({
150
- 'rounded-lg text-white hover:bg-indigo-900 dark:hover:bg-emerald-600': true, //colors
152
+ 'flex flex-row gap-1 items-center rounded-lg hover:text-white hover:bg-indigo-900 dark:hover:bg-emerald-600': true, //colors
151
153
  'transition-colors duration-100': false, //animation
152
154
  'gap-4 p-2 text-start': true,
153
155
  })}
154
156
  >
157
+ <LogOut className='size-4' />
155
158
  <span>{t('logout')}</span>
156
159
  </Link>
157
160
  </div>
@@ -66,7 +66,7 @@
66
66
  "nanoid": "^5.1.2",
67
67
  "next": "16.1.1",
68
68
  "next-themes": "^0.4.6",
69
- "nextjs-cms": "0.8.1",
69
+ "nextjs-cms": "0.8.2",
70
70
  "plaiceholder": "^3.0.0",
71
71
  "prettier-plugin-tailwindcss": "^0.7.2",
72
72
  "qrcode": "^1.5.4",