@appcorp/shadcn 1.1.61 → 1.1.63
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.63",
|
|
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",
|
|
@@ -72,19 +72,13 @@ export type ContactData = {
|
|
|
72
72
|
socialLinks: SocialLink[];
|
|
73
73
|
mapEmbedSrc: string;
|
|
74
74
|
mapOpenLink: string;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
};
|
|
83
|
-
secondary: {
|
|
84
|
-
label: string;
|
|
85
|
-
href?: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
75
|
+
ctaTitle: string;
|
|
76
|
+
ctaLead: string;
|
|
77
|
+
ctaBullets: string[];
|
|
78
|
+
ctaPrimaryLabel: string;
|
|
79
|
+
ctaPrimaryHref?: string;
|
|
80
|
+
ctaSecondaryLabel: string;
|
|
81
|
+
ctaSecondaryHref?: string;
|
|
88
82
|
};
|
|
89
83
|
export type ContactDetail = {
|
|
90
84
|
icon: ContactIcon;
|
|
@@ -293,18 +293,17 @@ exports.contactData = {
|
|
|
293
293
|
],
|
|
294
294
|
mapEmbedSrc: "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d13608.254854601666!2d74.24767285761207!3d31.494932487606487!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3919025657a33827%3A0x4c94438286d20882!2sLahore%20Garrison%20Grammar%20School%20(Boys%20Campus)!5e0!3m2!1sen!2s!4v1772957143271!5m2!1sen!2s",
|
|
295
295
|
mapOpenLink: "https://maps.google.com/?q=Lahore+Garrison+Grammar+School+Awan+Town+Multan+Road+Lahore",
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
},
|
|
296
|
+
ctaTitle: "Book a Campus Tour",
|
|
297
|
+
ctaLead: "There is no better way to experience LGGS than visiting in person. Walk our campus, meet our teachers, and see the warm, nurturing environment your child will call home.",
|
|
298
|
+
ctaBullets: [
|
|
299
|
+
"Meet our Principal and faculty",
|
|
300
|
+
"Tour both campuses",
|
|
301
|
+
"Ask your questions in person",
|
|
302
|
+
"Receive the full prospectus",
|
|
303
|
+
],
|
|
304
|
+
ctaPrimaryLabel: "Book a Visit",
|
|
305
|
+
ctaSecondaryLabel: "Call Us Now",
|
|
306
|
+
ctaSecondaryHref: "tel:+924235961207",
|
|
308
307
|
};
|
|
309
308
|
// FAQs
|
|
310
309
|
exports.faqs = [
|
|
@@ -21,7 +21,7 @@ var iconMap = {
|
|
|
21
21
|
Twitter: lucide_react_1.Twitter,
|
|
22
22
|
};
|
|
23
23
|
var ContactSection = function (_a) {
|
|
24
|
-
var
|
|
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 } },
|
|
@@ -53,14 +53,15 @@ var ContactSection = function (_a) {
|
|
|
53
53
|
react_1.default.createElement(link_1.default, { href: mapOpenLink, className: "text-xs font-medium text-blue-700 hover:underline" }, "Open in Google Maps")))),
|
|
54
54
|
react_1.default.createElement(framer_motion_1.motion.div, { className: "flex flex-col justify-between rounded-3xl bg-linear-to-br from-blue-800 via-blue-700 to-blue-600 p-8 text-white", initial: { opacity: 0, x: 30 }, whileInView: { opacity: 1, x: 0 }, transition: { duration: 0.5, delay: 0.1 }, viewport: { once: true } },
|
|
55
55
|
react_1.default.createElement("div", null,
|
|
56
|
-
react_1.default.createElement("h3", { className: "mb-4 text-2xl font-bold" },
|
|
57
|
-
react_1.default.createElement("p", { className: "mb-6 leading-relaxed text-blue-200" },
|
|
58
|
-
react_1.default.createElement("ul", { className: "mb-8 space-y-2" },
|
|
56
|
+
react_1.default.createElement("h3", { className: "mb-4 text-2xl font-bold" }, ctaTitle),
|
|
57
|
+
react_1.default.createElement("p", { className: "mb-6 leading-relaxed text-blue-200" }, ctaLead),
|
|
58
|
+
react_1.default.createElement("ul", { className: "mb-8 space-y-2" }, ctaBullets.map(function (item) { return (react_1.default.createElement("li", { key: item, className: "flex items-center gap-2 text-sm text-blue-100" },
|
|
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;
|