@appcorp/shadcn 1.1.61 → 1.1.62

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.61",
3
+ "version": "1.1.62",
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,18 +72,16 @@ export type ContactData = {
72
72
  socialLinks: SocialLink[];
73
73
  mapEmbedSrc: string;
74
74
  mapOpenLink: string;
75
- cta: {
76
- title: string;
77
- lead: string;
78
- bullets: string[];
79
- primary: {
80
- label: string;
81
- href?: string;
82
- };
83
- secondary: {
84
- label: string;
85
- href?: string;
86
- };
75
+ ctaTitle: string;
76
+ ctaLead: string;
77
+ ctaBullets: string[];
78
+ ctaPrimary: {
79
+ label: string;
80
+ href?: string;
81
+ };
82
+ ctaSecondary: {
83
+ label: string;
84
+ href?: string;
87
85
  };
88
86
  };
89
87
  export type ContactDetail = {
@@ -293,18 +293,16 @@ 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
- cta: {
297
- title: "Book a Campus Tour",
298
- lead: "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.",
299
- bullets: [
300
- "Meet our Principal and faculty",
301
- "Tour both campuses",
302
- "Ask your questions in person",
303
- "Receive the full prospectus",
304
- ],
305
- primary: { label: "Book a Visit" },
306
- secondary: { label: "Call Us Now", href: "tel:+924235961207" },
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
+ ctaPrimary: { label: "Book a Visit" },
305
+ ctaSecondary: { label: "Call Us Now", href: "tel:+924235961207" },
308
306
  };
309
307
  // FAQs
310
308
  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 heading = _a.heading, headingHighlight = _a.headingHighlight, lead = _a.lead, badge = _a.badge, contactDetails = _a.contactDetails, socialLinks = _a.socialLinks, cta = _a.cta, mapEmbedSrc = _a.mapEmbedSrc, mapOpenLink = _a.mapOpenLink;
24
+ var badge = _a.badge, contactDetails = _a.contactDetails, ctaBullets = _a.ctaBullets, ctaLead = _a.ctaLead, ctaPrimary = _a.ctaPrimary, ctaSecondary = _a.ctaSecondary, 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,14 @@ 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" }, cta.title),
57
- react_1.default.createElement("p", { className: "mb-6 leading-relaxed text-blue-200" }, cta.lead),
58
- react_1.default.createElement("ul", { className: "mb-8 space-y-2" }, cta.bullets.map(function (item) { return (react_1.default.createElement("li", { key: item, className: "flex items-center gap-2 text-sm text-blue-100" },
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" }, cta.primary.label),
62
+ react_1.default.createElement(button_1.Button, { className: "flex-1 bg-yellow-400 font-bold text-blue-900 hover:bg-yellow-300" }, ctaPrimary.label),
63
63
  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: cta.secondary.href || "#" }, cta.secondary.label))))))));
64
+ react_1.default.createElement(link_1.default, { href: ctaSecondary.href || "#" }, ctaSecondary.label))))))));
65
65
  };
66
66
  exports.ContactSection = ContactSection;