(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[32],{8576:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/[id]",function(){return a(2904)}])},2904:function(e,s,a){"use strict";a.r(s);var i=a(5893),t=a(7294),l=a(1163),n=a(9008),c=a.n(n),d=a(1664),r=a.n(d),m=a(7777);s.default=function(){var e=(0,l.useRouter)(),s=e.query.id,a=(0,t.useState)(null),n=a[0],d=a[1];(0,t.useEffect)((function(){if(e.isReady&&s){var a=m.eventsData.find((function(e){return e.id.toString()===s.toString()}));d(a)}}),[e.isReady,s]);return n?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c(),{children:(0,i.jsxs)("title",{children:[n.title," | Event Details"]})}),(0,i.jsx)("div",{className:"py-5 text-white text-center",style:{backgroundColor:"#002855"},children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsx)("span",{className:"badge bg-warning text-dark mb-3 text-uppercase",children:n.type}),(0,i.jsx)("h1",{className:"display-5 fw-bold font-serif px-lg-5",children:n.title})]})}),(0,i.jsx)("div",{className:"py-5 bg-light",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"row g-4",children:[(0,i.jsxs)("div",{className:"col-lg-8",children:[(0,i.jsxs)("div",{className:"bg-white p-4 shadow-sm rounded mb-4",children:[(0,i.jsx)("h3",{className:"mb-3 border-bottom pb-2",children:"About the Event"}),(0,i.jsxs)("p",{className:"text-muted lead",children:["Join us for this exclusive session on ",(0,i.jsx)("strong",{children:n.title}),". Our experts will dive deep into the legal nuances and provide actionable insights."]}),(0,i.jsx)("p",{className:"text-muted",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."})]}),(0,i.jsxs)("div",{className:"bg-white p-4 shadow-sm rounded",children:[(0,i.jsx)("h4",{className:"mb-3",children:"Featured Speakers"}),(0,i.jsx)("div",{className:"d-flex gap-3",children:n.professionals.map((function(e,s){return(0,i.jsxs)("div",{className:"d-flex align-items-center bg-light p-2 rounded border pe-3",children:[(0,i.jsx)("div",{className:"bg-secondary rounded-circle d-flex align-items-center justify-content-center text-white me-2",style:{width:"40px",height:"40px"},children:e.charAt(0)}),(0,i.jsx)("span",{className:"fw-bold",children:e})]},s)}))})]})]}),(0,i.jsx)("div",{className:"col-lg-4",children:(0,i.jsxs)("div",{className:"card border-0 shadow-sm",children:[(0,i.jsx)("div",{className:"card-header bg-dark text-white fw-bold py-3",children:"Event Summary"}),(0,i.jsxs)("div",{className:"card-body p-4",children:[(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)("label",{className:"text-muted small fw-bold text-uppercase",children:"Date"}),(0,i.jsxs)("div",{className:"fs-5 fw-bold",children:[(0,i.jsx)("i",{className:"bi bi-calendar-event me-2 text-warning"}),n.date]})]}),(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)("label",{className:"text-muted small fw-bold text-uppercase",children:"Time"}),(0,i.jsxs)("div",{className:"fs-5",children:[(0,i.jsx)("i",{className:"bi bi-clock me-2 text-warning"}),n.time]})]}),(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)("label",{className:"text-muted small fw-bold text-uppercase",children:"Location"}),(0,i.jsxs)("div",{className:"fs-5",children:[(0,i.jsx)("i",{className:"bi bi-geo-alt-fill me-2 text-warning"}),n.location]})]}),(0,i.jsx)("hr",{}),(0,i.jsx)(r(),{href:"/contact",children:(0,i.jsx)("a",{className:"btn btn-primary w-100 mb-2",style:{backgroundColor:"#cfa144",border:"none"},children:"Register Now"})}),(0,i.jsxs)("div",{className:"row g-2 mt-2",children:[(0,i.jsx)("div",{className:"col-6",children:(0,i.jsxs)("button",{onClick:function(){window.print()},className:"btn btn-outline-dark w-100 btn-sm",children:[(0,i.jsx)("i",{className:"bi bi-printer me-1"})," Print"]})}),(0,i.jsx)("div",{className:"col-6",children:(0,i.jsx)(r(),{href:"/events",children:(0,i.jsx)("a",{className:"btn btn-outline-secondary w-100 btn-sm",children:"Back"})})})]}),(0,i.jsxs)("div",{className:"mt-4 text-center",children:[(0,i.jsx)("small",{className:"text-muted",children:"Share this event"}),(0,i.jsxs)("div",{className:"d-flex justify-content-center gap-3 mt-2 fs-5",children:[(0,i.jsx)("a",{href:"#",className:"text-secondary",children:(0,i.jsx)("i",{className:"bi bi-facebook"})}),(0,i.jsx)("a",{href:"#",className:"text-secondary",children:(0,i.jsx)("i",{className:"bi bi-twitter"})}),(0,i.jsx)("a",{href:"#",className:"text-secondary",children:(0,i.jsx)("i",{className:"bi bi-linkedin"})})]})]})]})]})})]})})})]}):(0,i.jsx)("div",{className:"text-center py-5",children:"Loading Details..."})}}},function(e){e.O(0,[777,774,888,179],(function(){return s=8576,e(e.s=s);var s}));var s=e.O();_N_E=s}]);