@appcorp/shadcn 1.1.62 → 1.1.64
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": "@appcorp/shadcn",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.64",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build:next": "next build",
|
|
6
6
|
"build:storybook": "mv ../.pnp.cjs ../.pnp.cjs.bak 2>/dev/null || true && storybook build -c .storybook -o .out && mv ../.pnp.cjs.bak ../.pnp.cjs 2>/dev/null || true",
|
|
@@ -75,24 +75,19 @@ export type ContactData = {
|
|
|
75
75
|
ctaTitle: string;
|
|
76
76
|
ctaLead: string;
|
|
77
77
|
ctaBullets: string[];
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
ctaSecondary: {
|
|
83
|
-
label: string;
|
|
84
|
-
href?: string;
|
|
85
|
-
};
|
|
78
|
+
ctaPrimaryLabel: string;
|
|
79
|
+
ctaPrimaryHref?: string;
|
|
80
|
+
ctaSecondaryLabel: string;
|
|
81
|
+
ctaSecondaryHref?: string;
|
|
86
82
|
};
|
|
87
83
|
export type ContactDetail = {
|
|
88
|
-
icon:
|
|
84
|
+
icon: string;
|
|
89
85
|
label: string;
|
|
90
86
|
value: string;
|
|
91
87
|
href: string | null;
|
|
92
88
|
color: string;
|
|
93
89
|
bg: string;
|
|
94
90
|
};
|
|
95
|
-
export type ContactIcon = "MapPin" | "Phone" | "Mail" | "Clock";
|
|
96
91
|
export type FAQSerializable = {
|
|
97
92
|
id: string;
|
|
98
93
|
question: string;
|
|
@@ -301,8 +301,9 @@ exports.contactData = {
|
|
|
301
301
|
"Ask your questions in person",
|
|
302
302
|
"Receive the full prospectus",
|
|
303
303
|
],
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
ctaPrimaryLabel: "Book a Visit",
|
|
305
|
+
ctaSecondaryLabel: "Call Us Now",
|
|
306
|
+
ctaSecondaryHref: "tel:+924235961207",
|
|
306
307
|
};
|
|
307
308
|
// FAQs
|
|
308
309
|
exports.faqs = [
|
|
@@ -12,16 +12,16 @@ var link_1 = __importDefault(require("next/link"));
|
|
|
12
12
|
var lucide_react_1 = require("lucide-react");
|
|
13
13
|
var react_1 = __importDefault(require("react"));
|
|
14
14
|
var iconMap = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
'map-pin': lucide_react_1.MapPin,
|
|
16
|
+
'phone': lucide_react_1.Phone,
|
|
17
|
+
'mail': lucide_react_1.Mail,
|
|
18
|
+
'clock': lucide_react_1.Clock,
|
|
19
|
+
'facebook': lucide_react_1.Facebook,
|
|
20
|
+
'instagram': lucide_react_1.Instagram,
|
|
21
|
+
'twitter': lucide_react_1.Twitter,
|
|
22
22
|
};
|
|
23
23
|
var ContactSection = function (_a) {
|
|
24
|
-
var badge = _a.badge, contactDetails = _a.contactDetails, ctaBullets = _a.ctaBullets, ctaLead = _a.ctaLead,
|
|
24
|
+
var badge = _a.badge, contactDetails = _a.contactDetails, ctaBullets = _a.ctaBullets, ctaLead = _a.ctaLead, ctaPrimaryHref = _a.ctaPrimaryHref, ctaPrimaryLabel = _a.ctaPrimaryLabel, ctaSecondaryHref = _a.ctaSecondaryHref, ctaSecondaryLabel = _a.ctaSecondaryLabel, ctaTitle = _a.ctaTitle, heading = _a.heading, headingHighlight = _a.headingHighlight, lead = _a.lead, mapEmbedSrc = _a.mapEmbedSrc, mapOpenLink = _a.mapOpenLink, socialLinks = _a.socialLinks;
|
|
25
25
|
return (react_1.default.createElement("section", { id: "contact", className: "overflow-hidden bg-white py-24" },
|
|
26
26
|
react_1.default.createElement("div", { className: "container mx-auto px-4" },
|
|
27
27
|
react_1.default.createElement(framer_motion_1.motion.div, { className: "mb-16 text-center", initial: { opacity: 0, y: 30 }, whileInView: { opacity: 1, y: 0 }, transition: { duration: 0.6 }, viewport: { once: true } },
|
|
@@ -59,8 +59,9 @@ var ContactSection = function (_a) {
|
|
|
59
59
|
react_1.default.createElement("span", { className: "h-1.5 w-1.5 shrink-0 rounded-full bg-yellow-400" }),
|
|
60
60
|
item)); }))),
|
|
61
61
|
react_1.default.createElement("div", { className: "flex flex-col gap-3 sm:flex-row" },
|
|
62
|
-
react_1.default.createElement(button_1.Button, { className: "flex-1 bg-yellow-400 font-bold text-blue-900 hover:bg-yellow-300" },
|
|
62
|
+
react_1.default.createElement(button_1.Button, { className: "flex-1 bg-yellow-400 font-bold text-blue-900 hover:bg-yellow-300" },
|
|
63
|
+
react_1.default.createElement(link_1.default, { href: ctaPrimaryHref || "#" }, ctaPrimaryLabel)),
|
|
63
64
|
react_1.default.createElement(button_1.Button, { asChild: true, variant: "outline", className: "flex-1 border-white/40 bg-white/10 text-white hover:bg-white/20" },
|
|
64
|
-
react_1.default.createElement(link_1.default, { href:
|
|
65
|
+
react_1.default.createElement(link_1.default, { href: ctaSecondaryHref || "#" }, ctaSecondaryLabel))))))));
|
|
65
66
|
};
|
|
66
67
|
exports.ContactSection = ContactSection;
|