@djangocfg/layouts 2.1.116 → 2.1.118
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.118",
|
|
4
4
|
"description": "Simple, straightforward layout components for Next.js - import and use with props",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layouts",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"check": "tsc --noEmit"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@djangocfg/api": "^2.1.
|
|
78
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
79
|
-
"@djangocfg/i18n": "^2.1.
|
|
80
|
-
"@djangocfg/ui-core": "^2.1.
|
|
81
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
82
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
77
|
+
"@djangocfg/api": "^2.1.118",
|
|
78
|
+
"@djangocfg/centrifugo": "^2.1.118",
|
|
79
|
+
"@djangocfg/i18n": "^2.1.118",
|
|
80
|
+
"@djangocfg/ui-core": "^2.1.118",
|
|
81
|
+
"@djangocfg/ui-nextjs": "^2.1.118",
|
|
82
|
+
"@djangocfg/ui-tools": "^2.1.118",
|
|
83
83
|
"@hookform/resolvers": "^5.2.2",
|
|
84
84
|
"consola": "^3.4.2",
|
|
85
85
|
"lucide-react": "^0.545.0",
|
|
@@ -102,13 +102,13 @@
|
|
|
102
102
|
"uuid": "^11.1.0"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@djangocfg/api": "^2.1.
|
|
106
|
-
"@djangocfg/i18n": "^2.1.
|
|
107
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
108
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
109
|
-
"@djangocfg/ui-core": "^2.1.
|
|
110
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
111
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
105
|
+
"@djangocfg/api": "^2.1.118",
|
|
106
|
+
"@djangocfg/i18n": "^2.1.118",
|
|
107
|
+
"@djangocfg/centrifugo": "^2.1.118",
|
|
108
|
+
"@djangocfg/typescript-config": "^2.1.118",
|
|
109
|
+
"@djangocfg/ui-core": "^2.1.118",
|
|
110
|
+
"@djangocfg/ui-nextjs": "^2.1.118",
|
|
111
|
+
"@djangocfg/ui-tools": "^2.1.118",
|
|
112
112
|
"@types/node": "^24.7.2",
|
|
113
113
|
"@types/react": "^19.1.0",
|
|
114
114
|
"@types/react-dom": "^19.1.0",
|
|
@@ -58,20 +58,20 @@ export function PublicFooter({
|
|
|
58
58
|
if (variant === 'compact') {
|
|
59
59
|
return (
|
|
60
60
|
<footer className="bg-background border-t border-border mt-auto">
|
|
61
|
-
<div className={`mx-auto px-4
|
|
61
|
+
<div className={`mx-auto px-4 sm:px-6 lg:px-8 py-8 ${containerClassName || 'w-full'}`}>
|
|
62
62
|
{/* Main row: logo left, links right */}
|
|
63
|
-
<div className="flex flex-col sm:flex-row items-center justify-between gap-
|
|
63
|
+
<div className="flex flex-col sm:flex-row items-center justify-between gap-6">
|
|
64
64
|
{/* Logo + Name */}
|
|
65
65
|
<div className="flex items-center gap-3">
|
|
66
66
|
{logo && (
|
|
67
|
-
<img src={logo} alt={siteName} className="h-
|
|
67
|
+
<img src={logo} alt={siteName} className="h-8 w-8" />
|
|
68
68
|
)}
|
|
69
|
-
<span className="font-
|
|
69
|
+
<span className="text-lg font-semibold text-foreground">{siteName}</span>
|
|
70
70
|
</div>
|
|
71
71
|
|
|
72
72
|
{/* Links */}
|
|
73
73
|
{links.length > 0 && (
|
|
74
|
-
<div className="flex flex-wrap items-center justify-center gap-
|
|
74
|
+
<div className="flex flex-wrap items-center justify-center gap-6">
|
|
75
75
|
{links.map((link) =>
|
|
76
76
|
link.external ? (
|
|
77
77
|
<a
|
|
@@ -79,7 +79,7 @@ export function PublicFooter({
|
|
|
79
79
|
href={link.path}
|
|
80
80
|
target="_blank"
|
|
81
81
|
rel="noopener noreferrer"
|
|
82
|
-
className="text-sm text-muted-foreground hover:text-
|
|
82
|
+
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
|
|
83
83
|
>
|
|
84
84
|
{link.label}
|
|
85
85
|
</a>
|
|
@@ -87,7 +87,7 @@ export function PublicFooter({
|
|
|
87
87
|
<Link
|
|
88
88
|
key={link.path}
|
|
89
89
|
href={link.path}
|
|
90
|
-
className="text-sm text-muted-foreground hover:text-
|
|
90
|
+
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
|
|
91
91
|
>
|
|
92
92
|
{link.label}
|
|
93
93
|
</Link>
|
|
@@ -98,7 +98,7 @@ export function PublicFooter({
|
|
|
98
98
|
</div>
|
|
99
99
|
|
|
100
100
|
{/* Bottom row: copyright + credits */}
|
|
101
|
-
<div className="mt-
|
|
101
|
+
<div className="mt-6 pt-6 border-t border-border flex flex-col sm:flex-row items-center justify-between gap-3 text-sm text-muted-foreground">
|
|
102
102
|
<span>{copyright}</span>
|
|
103
103
|
{credits.url ? (
|
|
104
104
|
<a
|