diff --git a/assets/index-9b5fe079.js b/assets/index-294ffaae.js similarity index 99% rename from assets/index-9b5fe079.js rename to assets/index-294ffaae.js index c3d3a838..c23b23dd 100644 --- a/assets/index-9b5fe079.js +++ b/assets/index-294ffaae.js @@ -64,4 +64,4 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ii(){return ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function ph(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hh(e,t){return e.button===0&&(!t||t==="_self")&&!ph(e)}const mh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],vh="startTransition",ys=df[vh];function gh(e){let{basename:t,children:n,future:r,window:l}=e,o=C.useRef();o.current==null&&(o.current=Ep({window:l,v5Compat:!0}));let i=o.current,[u,s]=C.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},p=C.useCallback(m=>{a&&ys?ys(()=>s(m)):s(m)},[s,a]);return C.useLayoutEffect(()=>i.listen(p),[i,p]),C.createElement(ch,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}const yh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rr=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:p,unstable_viewTransition:m}=t,h=dh(t,mh),{basename:S}=C.useContext(mn),y,g=!1;if(typeof a=="string"&&wh.test(a)&&(y=a,yh))try{let d=new URL(window.location.href),v=a.startsWith("//")?new URL(d.protocol+a):new URL(a),k=nu(v.pathname,S);v.origin===d.origin&&k!=null?a=k+v.search+v.hash:g=!0}catch{}let z=Yp(a,{relative:l}),f=Sh(a,{replace:i,state:u,target:s,preventScrollReset:p,relative:l,unstable_viewTransition:m});function c(d){r&&r(d),d.defaultPrevented||f(d)}return C.createElement("a",ii({},h,{href:y||z,onClick:g||o?r:c,ref:n,target:s}))});var ws;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ws||(ws={}));var Ss;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ss||(Ss={}));function Sh(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Jp(),a=jl(),p=Hc(e,{relative:i});return C.useCallback(m=>{if(hh(m,n)){m.preventDefault();let h=r!==void 0?r:dl(a)===dl(p);s(e,{replace:h,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,p,r,l,n,e,o,i,u])}const kh="_home_5xggm_1",xh="_background_5xggm_3",Eh="_topGradient_5xggm_11",Ch="_bottomDesign_5xggm_23",_h="_header_5xggm_33",Ph="_content_5xggm_42",Nh="_mottoText_5xggm_66",Rh="_headerButtons_5xggm_87",zh="_alien_5xggm_125",be={home:kh,background:xh,topGradient:Eh,bottomDesign:Ch,header:_h,content:Ph,mottoText:Nh,headerButtons:Rh,alien:zh},Th="/vijnana24/assets/dehill-spacelove-1-dribble-6410a74c.gif",Lh=({})=>_.jsxs("div",{className:be.home,children:[_.jsxs("div",{className:be.background,children:[_.jsx("div",{className:be.topGradient}),_.jsxs("svg",{className:be.bottomDesign,xmlns:"http://www.w3.org/2000/svg",width:"598",height:"488",viewBox:"0 0 598 488",fill:"none",children:[_.jsx("path",{d:"M-2.13721 2.60027C50.9325 15.2771 71.6006 73.2347 90.7836 127.027C111.703 185.69 130.856 239.399 188.339 224.029C217.184 216.316 231.421 196.464 246.058 176.053C259.085 157.887 272.429 139.279 296.672 128.394C463.654 53.4164 597.863 487.521 597.863 487.521H-2.13721C-2.13721 487.521 -186.328 -41.3976 -2.13721 2.60027Z",fill:"url(#paint0_linear_2_21)"}),_.jsx("path",{d:"M-2.13721 2.60027C50.9325 15.2771 71.6006 73.2347 90.7836 127.027C111.703 185.69 130.856 239.399 188.339 224.029C217.184 216.316 231.421 196.464 246.058 176.053C259.085 157.887 272.429 139.279 296.672 128.394C463.654 53.4164 597.863 487.521 597.863 487.521H-2.13721C-2.13721 487.521 -186.328 -41.3976 -2.13721 2.60027Z",stroke:"black"}),_.jsx("defs",{children:_.jsxs("linearGradient",{id:"paint0_linear_2_21",x1:"-2.13722",y1:"2.60029",x2:"297.863",y2:"487.521",gradientUnits:"userSpaceOnUse",children:[_.jsx("stop",{"stop-color":"#2F6838"}),_.jsx("stop",{offset:"1","stop-color":"#072F0D","stop-opacity":"0.89"})]})})]})]}),_.jsxs("div",{className:be.header,children:[_.jsxs("div",{className:be.content,children:[_.jsxs("h1",{children:["Vijnana ",_.jsx("span",{children:"2.0"})]}),_.jsx("span",{className:be.mottoText,children:"KBM Government College"})]}),_.jsx("img",{className:be.alien,src:Th})]})]}),jh="_about_4cgib_1",Oh={about:jh},Ih=({})=>_.jsx("div",{className:Oh.about,children:"About"}),Mh="_error_1ny46_1",Dh={error:Mh},Fh=({})=>_.jsx("div",{className:Dh.error,children:"You are lost on the realm! : 404"}),Uh="_loginButton_14omb_1",Bh="_icon_14omb_10",Ah="_text_14omb_18",ao={loginButton:Uh,icon:Bh,text:Ah},$h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVfSURBVHgBtVd9bFNVFP+91/fabt3aAevKGNsYKpvCRlHUqBCFP1wQNRGDssSMLI6IYHSKiuEf5jRgxGhUYnAimmjIHMmMJpCYiA50DmRBEze2ublPxj5KR78/X9/zvAFl3XulrZu/5rS9956e+3vnnHvuKYMkIUkSSx/rSJ4kySexkphJdCRekm6SAZLzwWDwmF6v/xtzBdo8i6RWFMXLUmpoFgShErNFKBTaTsac0ixA5PsCgcCtSBUej2chPcW30tzi1aQJ+P3+JUSgT/ofEIlE3lPbk5s+GBkZydfpdMcZhimKR1ISBITPtiDUdgai3w/J5wXD8WBNWeBXlEG7Zh0YnU71tyzL7gqHw26e59+cPs9MH1BWN2m12idUNw8G4W/8Gv6moxDdbsQDYzBAt74cGdteBJOerqpD3q5IT09vUJCgPKgxGAwfqP1I6OmCq3Y3IuOjSBbsAjOMe94Cv/JOxRolq5O8sow8PjGlK791d3fnEbPdqgQ6O+B4ZXtKBGRIQhhSKKi6RgRMFJb918dTnvD5fO+mpaW9NlNZpI2v7NwK0eFQGGI4DprCpWAtCyG5XRAu/AXKvOha1oFPwJVaEQ/kDXi93hKj0dg9lZgcx21WU3TueVlBgGFZpD/zLNI2bQGTkRmdj9gmEG49Be8X9TDWHbgpAVz1hrxvFX19g5mYmNhgNptPKJgOf4crNXshOrU3CGSaMO/gEWjy8uNblyRSZJAMqBRcpJOSz1IyPqJqy3YQxupuaK2T0TnT3v03JzDFNDkCMsgbi6kslHAajWaZYlUMQnKdA6ONwLBhCJyZ6gFfDd66GnMJOSRUEh7iqJDdNnNRcrVRkH3RsW61DZrSMlVDzZ0CGlrDSIT5GQz2PaVXzBOJ2+XEXKxYCU0oregLoQa7R0LPmIhEiBclioSRJU9wihXRr9TmTJgN5HxVg3xUWXpzKVa0OUpt7wXMBrxGfZ4utYicmHIpjHlMJlMutbL/rtLvFzLRedmOx81KI3cv5fD6o0pfN50Lo3f8RphusbBQAx3TSxwR+Z2+l8TSnk9ErFQJ/8DxQAE+9C6H1NmMB4o2YYE+K0a1YAFDooxo/U+hmHHxIiUJSgW5ap5lXS5XD1QQtlTgfW8p3vZY4ZZ4eMI+7DxVh6CY+CR83hyEwxebBOWlvEKPOje5zWhh6VptlAczFZjFO3BSjC29/ziGsPnES+hxDEINbiL60c8jOPqbEDNfaGZQnKv0BO19vqioyDEVTIfD0WwymR6cqXR6pA27fn1HdcN7LWUoyy6GVsMjHBFgC0zix6FWeIIC9PYt4F3ro7qHt6WhyKwkMTY2VpWbm/vlFInBwcHH8vLyvqckVSh+2v4NDnccQ6rQOsqJTAW2rtWicq1WsU79y3Bvb2/ZqlWrHNG0ttlsv2RnZ69RM/hZeyPqOxqRKp67owrVpRsV83QiMDk5+bzFYjkkj6Mk+vr6ynJyclrpQlPtyeQ82Nd2CO32HiRCybylqLFW4q6cFarrdru9lR74/uvjmAM+PDz8ArH7mK7XePZxZuxP/DDYgl7nIMkQBFGAhmGRa8iBNbsEDxeswX258XsJt9s9QCTWUUIOxFWiq7Xu2tFJCJFe/nBAioiRpPSpHFwij69EMhgdHa2l4yPNJZxOp408fQ9SwcDAwEZifpHuFmk2oL8REj1UM3mgEP8FXV1diyg8R+g4hSijU9pcDimdgEl6mB2J9kmqF+vv719CXVBVRkbG09SEFJNATl5mWpMgX8m0sSwCyWnq4Bto7itKwEAi+8k3hNdAcS0lryynwraIiBXITQmNx+l/RD+N7eSEk3IpTsXmvwJWaHtz0A8aAAAAAElFTkSuQmCC",ks=({})=>_.jsxs("div",{className:ao.loginButton,children:[_.jsx("div",{className:ao.icon,children:_.jsx("img",{src:$h})}),_.jsx("div",{className:ao.text,children:_.jsx("span",{children:"Register"})})]}),Wh="_topbar_17e7g_1",Vh="_account_17e7g_9",Hh="_mobile_17e7g_16",Qh="_desktop_17e7g_21",Kh="_menuItems_17e7g_26",Xh="_menuButton_17e7g_32",Gh="_loginButton_17e7g_51",Yh="_themeButton_17e7g_57",ve={topbar:Wh,account:Vh,mobile:Hh,desktop:Qh,menuItems:Kh,menuButton:Xh,loginButton:Gh,themeButton:Yh},Jh=({setTheme:e,theme:t})=>_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:ve.topbar+" "+ve.mobile,children:[_.jsx("div",{className:ve.menuButton}),_.jsx("div",{className:ve.account,children:_.jsx(ks,{})})]}),_.jsxs("div",{className:ve.topbar+" "+ve.desktop,children:[_.jsxs("div",{className:ve.menuItems,children:[_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/",children:"Home"})}),_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/events",children:"Events"})}),_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/about",children:"About"})}),_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/contact",children:"Contact"})})]}),_.jsxs("div",{className:ve.loginButton,children:[_.jsx("span",{className:ve.themeButton,onClick:()=>{t=="light"?e("dark"):e("light")},children:t=="light"?_.jsx("i",{className:"bi bi-brightness-high-fill"}):_.jsx("i",{className:"bi bi-sun"})}),_.jsx(ks,{})]})]})]}),xs=({children:e,setTheme:t,theme:n})=>_.jsxs(_.Fragment,{children:[_.jsx(Jh,{setTheme:t,theme:n}),e]});function Zh(){const[e,t]=C.useState("light");return _.jsx("div",{className:"app "+e,children:_.jsxs(fh,{children:[_.jsx($r,{path:"/",element:_.jsx(xs,{setTheme:t,theme:e,children:_.jsx(Lh,{})})}),_.jsx($r,{path:"/about",element:_.jsx(xs,{setTheme:t,theme:e,children:_.jsx(Ih,{})})}),_.jsx($r,{path:"*",element:_.jsx(Fh,{})})]})})}co.createRoot(document.getElementById("root")).render(_.jsx(js.StrictMode,{children:_.jsx(gh,{children:_.jsx(Zh,{})})})); + */function ii(){return ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function ph(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hh(e,t){return e.button===0&&(!t||t==="_self")&&!ph(e)}const mh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],vh="startTransition",ys=df[vh];function gh(e){let{basename:t,children:n,future:r,window:l}=e,o=C.useRef();o.current==null&&(o.current=Ep({window:l,v5Compat:!0}));let i=o.current,[u,s]=C.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},p=C.useCallback(m=>{a&&ys?ys(()=>s(m)):s(m)},[s,a]);return C.useLayoutEffect(()=>i.listen(p),[i,p]),C.createElement(ch,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}const yh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rr=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:p,unstable_viewTransition:m}=t,h=dh(t,mh),{basename:S}=C.useContext(mn),y,g=!1;if(typeof a=="string"&&wh.test(a)&&(y=a,yh))try{let d=new URL(window.location.href),v=a.startsWith("//")?new URL(d.protocol+a):new URL(a),k=nu(v.pathname,S);v.origin===d.origin&&k!=null?a=k+v.search+v.hash:g=!0}catch{}let z=Yp(a,{relative:l}),f=Sh(a,{replace:i,state:u,target:s,preventScrollReset:p,relative:l,unstable_viewTransition:m});function c(d){r&&r(d),d.defaultPrevented||f(d)}return C.createElement("a",ii({},h,{href:y||z,onClick:g||o?r:c,ref:n,target:s}))});var ws;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ws||(ws={}));var Ss;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ss||(Ss={}));function Sh(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Jp(),a=jl(),p=Hc(e,{relative:i});return C.useCallback(m=>{if(hh(m,n)){m.preventDefault();let h=r!==void 0?r:dl(a)===dl(p);s(e,{replace:h,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,p,r,l,n,e,o,i,u])}const kh="_home_5xggm_1",xh="_background_5xggm_3",Eh="_topGradient_5xggm_11",Ch="_bottomDesign_5xggm_23",_h="_header_5xggm_33",Ph="_content_5xggm_42",Nh="_mottoText_5xggm_66",Rh="_headerButtons_5xggm_87",zh="_alien_5xggm_125",be={home:kh,background:xh,topGradient:Eh,bottomDesign:Ch,header:_h,content:Ph,mottoText:Nh,headerButtons:Rh,alien:zh},Th="/Vijnana24/assets/dehill-spacelove-1-dribble-6410a74c.gif",Lh=({})=>_.jsxs("div",{className:be.home,children:[_.jsxs("div",{className:be.background,children:[_.jsx("div",{className:be.topGradient}),_.jsxs("svg",{className:be.bottomDesign,xmlns:"http://www.w3.org/2000/svg",width:"598",height:"488",viewBox:"0 0 598 488",fill:"none",children:[_.jsx("path",{d:"M-2.13721 2.60027C50.9325 15.2771 71.6006 73.2347 90.7836 127.027C111.703 185.69 130.856 239.399 188.339 224.029C217.184 216.316 231.421 196.464 246.058 176.053C259.085 157.887 272.429 139.279 296.672 128.394C463.654 53.4164 597.863 487.521 597.863 487.521H-2.13721C-2.13721 487.521 -186.328 -41.3976 -2.13721 2.60027Z",fill:"url(#paint0_linear_2_21)"}),_.jsx("path",{d:"M-2.13721 2.60027C50.9325 15.2771 71.6006 73.2347 90.7836 127.027C111.703 185.69 130.856 239.399 188.339 224.029C217.184 216.316 231.421 196.464 246.058 176.053C259.085 157.887 272.429 139.279 296.672 128.394C463.654 53.4164 597.863 487.521 597.863 487.521H-2.13721C-2.13721 487.521 -186.328 -41.3976 -2.13721 2.60027Z",stroke:"black"}),_.jsx("defs",{children:_.jsxs("linearGradient",{id:"paint0_linear_2_21",x1:"-2.13722",y1:"2.60029",x2:"297.863",y2:"487.521",gradientUnits:"userSpaceOnUse",children:[_.jsx("stop",{"stop-color":"#2F6838"}),_.jsx("stop",{offset:"1","stop-color":"#072F0D","stop-opacity":"0.89"})]})})]})]}),_.jsxs("div",{className:be.header,children:[_.jsxs("div",{className:be.content,children:[_.jsxs("h1",{children:["Vijnana ",_.jsx("span",{children:"2.0"})]}),_.jsx("span",{className:be.mottoText,children:"KBM Government College"})]}),_.jsx("img",{className:be.alien,src:Th})]})]}),jh="_about_4cgib_1",Oh={about:jh},Ih=({})=>_.jsx("div",{className:Oh.about,children:"About"}),Mh="_error_1ny46_1",Dh={error:Mh},Fh=({})=>_.jsx("div",{className:Dh.error,children:"You are lost on the realm! : 404"}),Uh="_loginButton_14omb_1",Bh="_icon_14omb_10",Ah="_text_14omb_18",ao={loginButton:Uh,icon:Bh,text:Ah},$h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVfSURBVHgBtVd9bFNVFP+91/fabt3aAevKGNsYKpvCRlHUqBCFP1wQNRGDssSMLI6IYHSKiuEf5jRgxGhUYnAimmjIHMmMJpCYiA50DmRBEze2ublPxj5KR78/X9/zvAFl3XulrZu/5rS9956e+3vnnHvuKYMkIUkSSx/rSJ4kySexkphJdCRekm6SAZLzwWDwmF6v/xtzBdo8i6RWFMXLUmpoFgShErNFKBTaTsac0ixA5PsCgcCtSBUej2chPcW30tzi1aQJ+P3+JUSgT/ofEIlE3lPbk5s+GBkZydfpdMcZhimKR1ISBITPtiDUdgai3w/J5wXD8WBNWeBXlEG7Zh0YnU71tyzL7gqHw26e59+cPs9MH1BWN2m12idUNw8G4W/8Gv6moxDdbsQDYzBAt74cGdteBJOerqpD3q5IT09vUJCgPKgxGAwfqP1I6OmCq3Y3IuOjSBbsAjOMe94Cv/JOxRolq5O8sow8PjGlK791d3fnEbPdqgQ6O+B4ZXtKBGRIQhhSKKi6RgRMFJb918dTnvD5fO+mpaW9NlNZpI2v7NwK0eFQGGI4DprCpWAtCyG5XRAu/AXKvOha1oFPwJVaEQ/kDXi93hKj0dg9lZgcx21WU3TueVlBgGFZpD/zLNI2bQGTkRmdj9gmEG49Be8X9TDWHbgpAVz1hrxvFX19g5mYmNhgNptPKJgOf4crNXshOrU3CGSaMO/gEWjy8uNblyRSZJAMqBRcpJOSz1IyPqJqy3YQxupuaK2T0TnT3v03JzDFNDkCMsgbi6kslHAajWaZYlUMQnKdA6ONwLBhCJyZ6gFfDd66GnMJOSRUEh7iqJDdNnNRcrVRkH3RsW61DZrSMlVDzZ0CGlrDSIT5GQz2PaVXzBOJ2+XEXKxYCU0oregLoQa7R0LPmIhEiBclioSRJU9wihXRr9TmTJgN5HxVg3xUWXpzKVa0OUpt7wXMBrxGfZ4utYicmHIpjHlMJlMutbL/rtLvFzLRedmOx81KI3cv5fD6o0pfN50Lo3f8RphusbBQAx3TSxwR+Z2+l8TSnk9ErFQJ/8DxQAE+9C6H1NmMB4o2YYE+K0a1YAFDooxo/U+hmHHxIiUJSgW5ap5lXS5XD1QQtlTgfW8p3vZY4ZZ4eMI+7DxVh6CY+CR83hyEwxebBOWlvEKPOje5zWhh6VptlAczFZjFO3BSjC29/ziGsPnES+hxDEINbiL60c8jOPqbEDNfaGZQnKv0BO19vqioyDEVTIfD0WwymR6cqXR6pA27fn1HdcN7LWUoyy6GVsMjHBFgC0zix6FWeIIC9PYt4F3ro7qHt6WhyKwkMTY2VpWbm/vlFInBwcHH8vLyvqckVSh+2v4NDnccQ6rQOsqJTAW2rtWicq1WsU79y3Bvb2/ZqlWrHNG0ttlsv2RnZ69RM/hZeyPqOxqRKp67owrVpRsV83QiMDk5+bzFYjkkj6Mk+vr6ynJyclrpQlPtyeQ82Nd2CO32HiRCybylqLFW4q6cFarrdru9lR74/uvjmAM+PDz8ArH7mK7XePZxZuxP/DDYgl7nIMkQBFGAhmGRa8iBNbsEDxeswX258XsJt9s9QCTWUUIOxFWiq7Xu2tFJCJFe/nBAioiRpPSpHFwij69EMhgdHa2l4yPNJZxOp408fQ9SwcDAwEZifpHuFmk2oL8REj1UM3mgEP8FXV1diyg8R+g4hSijU9pcDimdgEl6mB2J9kmqF+vv719CXVBVRkbG09SEFJNATl5mWpMgX8m0sSwCyWnq4Bto7itKwEAi+8k3hNdAcS0lryynwraIiBXITQmNx+l/RD+N7eSEk3IpTsXmvwJWaHtz0A8aAAAAAElFTkSuQmCC",ks=({})=>_.jsxs("div",{className:ao.loginButton,children:[_.jsx("div",{className:ao.icon,children:_.jsx("img",{src:$h})}),_.jsx("div",{className:ao.text,children:_.jsx("span",{children:"Register"})})]}),Wh="_topbar_17e7g_1",Vh="_account_17e7g_9",Hh="_mobile_17e7g_16",Qh="_desktop_17e7g_21",Kh="_menuItems_17e7g_26",Xh="_menuButton_17e7g_32",Gh="_loginButton_17e7g_51",Yh="_themeButton_17e7g_57",ve={topbar:Wh,account:Vh,mobile:Hh,desktop:Qh,menuItems:Kh,menuButton:Xh,loginButton:Gh,themeButton:Yh},Jh=({setTheme:e,theme:t})=>_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:ve.topbar+" "+ve.mobile,children:[_.jsx("div",{className:ve.menuButton}),_.jsx("div",{className:ve.account,children:_.jsx(ks,{})})]}),_.jsxs("div",{className:ve.topbar+" "+ve.desktop,children:[_.jsxs("div",{className:ve.menuItems,children:[_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/",children:"Home"})}),_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/events",children:"Events"})}),_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/about",children:"About"})}),_.jsx("div",{className:ve.menuButton,children:_.jsx(Rr,{to:"/contact",children:"Contact"})})]}),_.jsxs("div",{className:ve.loginButton,children:[_.jsx("span",{className:ve.themeButton,onClick:()=>{t=="light"?e("dark"):e("light")},children:t=="light"?_.jsx("i",{className:"bi bi-brightness-high-fill"}):_.jsx("i",{className:"bi bi-sun"})}),_.jsx(ks,{})]})]})]}),xs=({children:e,setTheme:t,theme:n})=>_.jsxs(_.Fragment,{children:[_.jsx(Jh,{setTheme:t,theme:n}),e]});function Zh(){const[e,t]=C.useState("light");return _.jsx("div",{className:"app "+e,children:_.jsxs(fh,{children:[_.jsx($r,{path:"/",element:_.jsx(xs,{setTheme:t,theme:e,children:_.jsx(Lh,{})})}),_.jsx($r,{path:"/about",element:_.jsx(xs,{setTheme:t,theme:e,children:_.jsx(Ih,{})})}),_.jsx($r,{path:"*",element:_.jsx(Fh,{})})]})})}co.createRoot(document.getElementById("root")).render(_.jsx(js.StrictMode,{children:_.jsx(gh,{children:_.jsx(Zh,{})})})); diff --git a/index.html b/index.html index a2a794d9..de7be7c5 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@ Vijnana'24 - - + +