@djangocfg/layouts 2.1.89 → 2.1.90
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": "@djangocfg/layouts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.90",
|
|
4
4
|
"description": "Simple, straightforward layout components for Next.js - import and use with props",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layouts",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"check": "tsc --noEmit"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@djangocfg/api": "^2.1.
|
|
96
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
97
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
95
|
+
"@djangocfg/api": "^2.1.90",
|
|
96
|
+
"@djangocfg/centrifugo": "^2.1.90",
|
|
97
|
+
"@djangocfg/ui-nextjs": "^2.1.90",
|
|
98
98
|
"@hookform/resolvers": "^5.2.0",
|
|
99
99
|
"consola": "^3.4.2",
|
|
100
100
|
"lucide-react": "^0.545.0",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"uuid": "^11.1.0"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
120
|
+
"@djangocfg/typescript-config": "^2.1.90",
|
|
121
121
|
"@types/node": "^24.7.2",
|
|
122
122
|
"@types/react": "^19.1.0",
|
|
123
123
|
"@types/react-dom": "^19.1.0",
|
|
@@ -38,8 +38,12 @@ export function PublicNavigation({
|
|
|
38
38
|
const { isAuthenticated } = useAuth();
|
|
39
39
|
const isMobile = useIsMobile();
|
|
40
40
|
|
|
41
|
+
// Nav class (background blur with opacity 0.8)
|
|
42
|
+
// bg-background/80 - doesnt work in tailwind4
|
|
43
|
+
const navClass = 'sticky top-0 w-full z-50 border-b bg-background';
|
|
44
|
+
|
|
41
45
|
return (
|
|
42
|
-
<nav className=
|
|
46
|
+
<nav className={navClass} style={{ backgroundColor: 'hsl(var(--background) / 0.6)', backdropFilter: 'blur(10px)' }}>
|
|
43
47
|
<div className="w-full px-4 sm:px-6 lg:px-8">
|
|
44
48
|
<div className="flex items-center justify-between py-4">
|
|
45
49
|
{/* Logo */}
|