150024b6ac
更新next.config.ts文件以支持静态导出功能,并添加了多个新的依赖项到package.json中,包括UI组件库和动画库。同时生成了构建相关的文件和配置。
3 lines
9.9 KiB
JavaScript
3 lines
9.9 KiB
JavaScript
module.exports=[67769,a=>{"use strict";var b=a.i(15974),c=a.i(12334),d=a.i(54065),e=a.i(76722);let f=(0,d.cva)("inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline"}},defaultVariants:{variant:"default"}});function g({className:a,variant:d="default",asChild:g=!1,...h}){let i=g?c.Slot:"span";return(0,b.jsx)(i,{"data-slot":"badge","data-variant":d,className:(0,e.cn)(f({variant:d}),a),...h})}a.s(["Badge",()=>g])},22939,a=>{"use strict";var b=a.i(15974),c=a.i(76722);function d({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card",className:(0,c.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),...d})}function e({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("leading-none font-semibold",a),...d})}function g({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-muted-foreground text-sm",a),...d})}function h({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-6",a),...d})}a.s(["Card",()=>d,"CardContent",()=>h,"CardDescription",()=>g,"CardHeader",()=>e,"CardTitle",()=>f])},93477,a=>{"use strict";var b=a.i(15974),c=a.i(72826),d=a.i(99426),e=a.i(67769),f=a.i(48970),g=a.i(76722);function h({className:a,type:c,...d}){return(0,b.jsx)("input",{type:c,"data-slot":"input",className:(0,g.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a),...d})}function i({className:a,...c}){return(0,b.jsx)("textarea",{"data-slot":"textarea",className:(0,g.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),...c})}var j=a.i(22939),k=a.i(33574);let l=(0,k.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),m=(0,k.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),n=(0,k.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),o=(0,k.default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]),p=(0,k.default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);function q(){let[a,g]=(0,c.useState)(!1),[k,q]=(0,c.useState)(!1);async function r(a){g(!0),await new Promise(a=>setTimeout(a,1500)),g(!1),q(!0)}return(0,b.jsx)("div",{className:"pt-32 pb-20",children:(0,b.jsxs)("div",{className:"container-custom",children:[(0,b.jsxs)("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[(0,b.jsx)(e.Badge,{variant:"outline",className:"mb-4",children:"联系我们"}),(0,b.jsx)("h1",{className:"text-4xl sm:text-5xl font-bold text-black mb-6",children:"与我们取得联系"}),(0,b.jsx)("p",{className:"text-lg text-gray-600",children:"无论您有任何问题或合作意向,我们都很乐意与您交流"})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 max-w-6xl mx-auto",children:[(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)(j.Card,{children:[(0,b.jsx)(j.CardHeader,{children:(0,b.jsx)(j.CardTitle,{children:"联系方式"})}),(0,b.jsxs)(j.CardContent,{className:"space-y-6",children:[(0,b.jsxs)("div",{className:"flex items-start gap-4",children:[(0,b.jsx)("div",{className:"w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0",children:(0,b.jsx)(n,{className:"w-5 h-5 text-white"})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"font-semibold text-black",children:"公司地址"}),(0,b.jsx)("p",{className:"text-gray-600",children:d.COMPANY_INFO.address})]})]}),(0,b.jsxs)("div",{className:"flex items-start gap-4",children:[(0,b.jsx)("div",{className:"w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0",children:(0,b.jsx)(m,{className:"w-5 h-5 text-white"})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"font-semibold text-black",children:"联系电话"}),(0,b.jsx)("p",{className:"text-gray-600",children:d.COMPANY_INFO.phone})]})]}),(0,b.jsxs)("div",{className:"flex items-start gap-4",children:[(0,b.jsx)("div",{className:"w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0",children:(0,b.jsx)(l,{className:"w-5 h-5 text-white"})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"font-semibold text-black",children:"电子邮箱"}),(0,b.jsx)("p",{className:"text-gray-600",children:d.COMPANY_INFO.email})]})]})]})]}),(0,b.jsxs)(j.Card,{children:[(0,b.jsx)(j.CardHeader,{children:(0,b.jsx)(j.CardTitle,{children:"工作时间"})}),(0,b.jsx)(j.CardContent,{children:(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("span",{className:"text-gray-600",children:"周一至周五"}),(0,b.jsx)("span",{className:"text-black font-medium",children:"9:00 - 18:00"})]}),(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("span",{className:"text-gray-600",children:"周六"}),(0,b.jsx)("span",{className:"text-black font-medium",children:"9:00 - 12:00"})]}),(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("span",{className:"text-gray-600",children:"周日"}),(0,b.jsx)("span",{className:"text-gray-400",children:"休息"})]})]})})]})]}),(0,b.jsxs)(j.Card,{children:[(0,b.jsx)(j.CardHeader,{children:(0,b.jsx)(j.CardTitle,{children:"发送消息"})}),(0,b.jsx)(j.CardContent,{children:k?(0,b.jsxs)("div",{className:"text-center py-12",children:[(0,b.jsx)("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,b.jsx)(o,{className:"w-8 h-8 text-green-600"})}),(0,b.jsx)("h3",{className:"text-xl font-semibold text-black mb-2",children:"消息已发送"}),(0,b.jsx)("p",{className:"text-gray-600",children:"感谢您的留言,我们会尽快与您联系!"})]}):(0,b.jsxs)("form",{action:r,className:"space-y-6",children:[(0,b.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-2",children:"姓名 *"}),(0,b.jsx)(h,{id:"name",name:"name",placeholder:"请输入您的姓名",required:!0})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{htmlFor:"phone",className:"block text-sm font-medium text-gray-700 mb-2",children:"电话"}),(0,b.jsx)(h,{id:"phone",name:"phone",type:"tel",placeholder:"请输入您的电话"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"邮箱 *"}),(0,b.jsx)(h,{id:"email",name:"email",type:"email",placeholder:"请输入您的邮箱",required:!0})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{htmlFor:"subject",className:"block text-sm font-medium text-gray-700 mb-2",children:"主题 *"}),(0,b.jsx)(h,{id:"subject",name:"subject",placeholder:"请输入消息主题",required:!0})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700 mb-2",children:"消息内容 *"}),(0,b.jsx)(i,{id:"message",name:"message",placeholder:"请输入您想要咨询的内容",rows:5,required:!0})]}),(0,b.jsx)(f.Button,{type:"submit",className:"w-full",disabled:a,children:a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(p,{className:"mr-2 h-4 w-4 animate-spin"}),"发送中..."]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{className:"mr-2 h-4 w-4"}),"发送消息"]})})]})})]})]})]})})}a.s(["default",()=>q],93477)}];
|
|
|
|
//# sourceMappingURL=ruixin-website-react_src_06d726a0._.js.map
|