@djangocfg/layouts 1.4.21 → 1.4.22
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": "1.4.
|
|
3
|
+
"version": "1.4.22",
|
|
4
4
|
"description": "Pre-built dashboard layouts, authentication pages, and admin templates for Next.js applications with Tailwind CSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layouts",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"check": "tsc --noEmit"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@djangocfg/api": "^1.4.
|
|
89
|
-
"@djangocfg/og-image": "^1.4.
|
|
90
|
-
"@djangocfg/ui": "^1.4.
|
|
88
|
+
"@djangocfg/api": "^1.4.22",
|
|
89
|
+
"@djangocfg/og-image": "^1.4.22",
|
|
90
|
+
"@djangocfg/ui": "^1.4.22",
|
|
91
91
|
"@hookform/resolvers": "^5.2.0",
|
|
92
92
|
"consola": "^3.4.2",
|
|
93
93
|
"lucide-react": "^0.468.0",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"vidstack": "0.6.15"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@djangocfg/typescript-config": "^1.4.
|
|
111
|
+
"@djangocfg/typescript-config": "^1.4.22",
|
|
112
112
|
"@types/node": "^24.7.2",
|
|
113
113
|
"@types/react": "19.2.2",
|
|
114
114
|
"@types/react-dom": "19.2.1",
|
|
@@ -98,28 +98,24 @@ export function ContactPage({
|
|
|
98
98
|
return (
|
|
99
99
|
<div className={className}>
|
|
100
100
|
{/* Header */}
|
|
101
|
-
<div className="text-center mb-12">
|
|
102
|
-
<h1 className="text-4xl md:text-5xl font-bold mb-4">
|
|
103
|
-
{
|
|
104
|
-
title
|
|
105
|
-
) : (
|
|
106
|
-
title
|
|
107
|
-
)}
|
|
101
|
+
<div className="text-center mb-8 md:mb-12">
|
|
102
|
+
<h1 className="text-3xl sm:text-4xl md:text-5xl font-bold mb-4">
|
|
103
|
+
{title}
|
|
108
104
|
</h1>
|
|
109
|
-
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
|
105
|
+
<p className="text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto px-4">
|
|
110
106
|
{subtitle}
|
|
111
107
|
</p>
|
|
112
108
|
</div>
|
|
113
109
|
|
|
114
|
-
{/* Content
|
|
115
|
-
<div className="
|
|
116
|
-
{/* Contact Form */}
|
|
117
|
-
<div className="lg:
|
|
110
|
+
{/* Content - Flex layout for better control */}
|
|
111
|
+
<div className="flex flex-col gap-6 md:gap-8 lg:flex-row">
|
|
112
|
+
{/* Contact Form - Takes more space */}
|
|
113
|
+
<div className="w-full lg:flex-1 lg:min-w-0">
|
|
118
114
|
<ContactForm apiUrl={apiUrl} onSuccess={onSuccess} />
|
|
119
115
|
</div>
|
|
120
116
|
|
|
121
|
-
{/* Contact Info */}
|
|
122
|
-
<div>
|
|
117
|
+
{/* Contact Info - Fixed width on desktop */}
|
|
118
|
+
<div className="w-full lg:w-80 xl:w-96 flex-shrink-0">
|
|
123
119
|
<ContactInfo
|
|
124
120
|
details={contactDetails}
|
|
125
121
|
action={hideCalendly ? undefined : {
|