diff --git a/.nojekyll b/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/assets/About-DWwpUMJ4.js b/assets/About-DQuU5Mgk.js similarity index 94% rename from assets/About-DWwpUMJ4.js rename to assets/About-DQuU5Mgk.js index d137c64..4847891 100644 --- a/assets/About-DWwpUMJ4.js +++ b/assets/About-DQuU5Mgk.js @@ -1 +1 @@ -import{j as e}from"./index-C9S0c2Ry.js";import{s as n}from"./constants-DQsjZwwx.js";import{F as a}from"./Footer-_9IWcWO4.js";const i=({url:t,text:r,padding:s})=>e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:`transition ease-in-out duration-300 ${s} rounded-md text-white border-2 hover:bg-white hover:text-black hover:scale-110 hover:-translate-y-1 cursor-pointer`,children:r}),o=({service:t})=>e.jsx("div",{className:"sm:w-[250px] w-full",children:e.jsx("div",{className:"w-full green-pink-gradient p-[1px] rounded-[20px]",children:e.jsxs("div",{className:"rounded-[20px] py-5 px-12 min-h-[280px] flex justify-evenly items-center flex-col",style:{background:"#151030"},children:[e.jsx("img",{src:t.icon,alt:"service_icon",className:"w-16 h-16 object-contain"}),e.jsx("h3",{className:"text-white text-[20px] font-bold text-center",children:t.title})]})})}),x=()=>e.jsxs("div",{children:[e.jsx("div",{className:"bg-black min-h-screen w-full text-white sm:flex sm:justify-around about py-12 mt-8 overflow-x-hidden",id:"about",children:e.jsxs("div",{className:"flex flex-col justify-around",children:[e.jsxs("div",{className:"sm:px-16 px-2",children:[e.jsx("h2",{className:"text-4xl sm:text-5xl font-extrabold m-2",children:"Introduction"}),e.jsxs("p",{className:"mt-3 mb-6 text-[17px] max-w-3xl leading-[30px]",children:["• Hi, I'm Ratan Gulati 👨‍💻",e.jsx("br",{}),"• I am currently in my third year of Bachelor of Computer Applications. As an aspiring ",e.jsx("a",{className:"text-green-300 hover:text-green-500 duration-300",href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",children:"Software developer"})," I specialize in both MERN stack, Cloud and DevOps technologies 🚀",e.jsx("br",{}),"• Beyond coding, I love sharing my learnings and experiences on various platforms, where I delve into the intricacies of software development and technology trends."]}),e.jsx(i,{url:"https://drive.google.com/file/d/17xGLOTO1SkyxWEroFg9Wqbrd8WmYolte/view?usp=sharing",text:"View Resume →",padding:"p-3"})]}),e.jsx("div",{className:"mt-5 flex justify-center flex-wrap gap-7",children:n.map((t,r)=>e.jsx(o,{service:t},r))})]})}),e.jsx(a,{})]});export{x as default}; +import{j as e}from"./index-BrZUcVzy.js";import{s as n}from"./constants-BvORooUw.js";import{F as a}from"./Footer-Dg6-ZpDx.js";const i=({url:t,text:r,padding:s})=>e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:`transition ease-in-out duration-300 ${s} rounded-md text-white border-2 hover:bg-white hover:text-black hover:scale-110 hover:-translate-y-1 cursor-pointer`,children:r}),o=({service:t})=>e.jsx("div",{className:"sm:w-[250px] w-full",children:e.jsx("div",{className:"w-full green-pink-gradient p-[1px] rounded-[20px]",children:e.jsxs("div",{className:"rounded-[20px] py-5 px-12 min-h-[280px] flex justify-evenly items-center flex-col",style:{background:"#151030"},children:[e.jsx("img",{src:t.icon,alt:"service_icon",className:"w-16 h-16 object-contain"}),e.jsx("h3",{className:"text-white text-[20px] font-bold text-center",children:t.title})]})})}),x=()=>e.jsxs("div",{children:[e.jsx("div",{className:"bg-black min-h-screen w-full text-white sm:flex sm:justify-around about py-12 mt-8 overflow-x-hidden",id:"about",children:e.jsxs("div",{className:"flex flex-col justify-around",children:[e.jsxs("div",{className:"sm:px-16 px-2",children:[e.jsx("h2",{className:"text-4xl sm:text-5xl font-extrabold m-2",children:"Introduction"}),e.jsxs("p",{className:"mt-3 mb-6 text-[17px] max-w-3xl leading-[30px]",children:["• Hi, I'm Ratan Gulati 👨‍💻",e.jsx("br",{}),"• I am currently in my third year of Bachelor of Computer Applications. As an aspiring ",e.jsx("a",{className:"text-green-300 hover:text-green-500 duration-300",href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",children:"Software developer"})," I specialize in both MERN stack, Cloud and DevOps technologies 🚀",e.jsx("br",{}),"• Beyond coding, I love sharing my learnings and experiences on various platforms, where I delve into the intricacies of software development and technology trends."]}),e.jsx(i,{url:"https://drive.google.com/file/d/17xGLOTO1SkyxWEroFg9Wqbrd8WmYolte/view?usp=sharing",text:"View Resume →",padding:"p-3"})]}),e.jsx("div",{className:"mt-5 flex justify-center flex-wrap gap-7",children:n.map((t,r)=>e.jsx(o,{service:t},r))})]})}),e.jsx(a,{})]});export{x as default}; diff --git a/assets/Contact-MYCsWwq3.js b/assets/Contact-DB28wHhh.js similarity index 99% rename from assets/Contact-MYCsWwq3.js rename to assets/Contact-DB28wHhh.js index 9f2f1e7..6793fe5 100644 --- a/assets/Contact-MYCsWwq3.js +++ b/assets/Contact-DB28wHhh.js @@ -1,4 +1,4 @@ -import{r as de,j as M}from"./index-C9S0c2Ry.js";import{E as Be,a as Ge,b as Ye}from"./constants-DQsjZwwx.js";class me{constructor(t=0,e="Network Error"){this.status=t,this.text=e}}const Je=()=>{if(!(typeof localStorage>"u"))return{get:r=>Promise.resolve(localStorage.getItem(r)),set:(r,t)=>Promise.resolve(localStorage.setItem(r,t)),remove:r=>Promise.resolve(localStorage.removeItem(r))}},S={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:Je()},Pe=r=>r?typeof r=="string"?{publicKey:r}:r.toString()==="[object Object]"?r:{}:{},We=(r,t="https://api.emailjs.com")=>{if(!r)return;const e=Pe(r);S.publicKey=e.publicKey,S.blockHeadless=e.blockHeadless,S.storageProvider=e.storageProvider,S.blockList=e.blockList,S.limitRate=e.limitRate,S.origin=e.origin||t},De=async(r,t,e={})=>{const l=await fetch(S.origin+r,{method:"POST",headers:e,body:t}),v=await l.text(),a=new me(l.status,v);if(l.ok)return a;throw a},Ee=(r,t,e)=>{if(!r||typeof r!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||typeof t!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!e||typeof e!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},$e=r=>{if(r&&r.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Re=r=>r.webdriver||!r.languages||r.languages.length===0,Ce=()=>new me(451,"Unavailable For Headless Browser"),Xe=(r,t)=>{if(!Array.isArray(r))throw"The BlockList list has to be an array";if(typeof t!="string")throw"The BlockList watchVariable has to be a string"},Ze=r=>{var t;return!((t=r.list)!=null&&t.length)||!r.watchVariable},Qe=(r,t)=>r instanceof FormData?r.get(t):r[t],Oe=(r,t)=>{if(Ze(r))return!1;Xe(r.list,r.watchVariable);const e=Qe(t,r.watchVariable);return typeof e!="string"?!1:r.list.includes(e)},Ae=()=>new me(403,"Forbidden"),er=(r,t)=>{if(typeof r!="number"||r<0)throw"The LimitRate throttle has to be a positive number";if(t&&typeof t!="string")throw"The LimitRate ID has to be a string"},rr=async(r,t,e)=>{const l=Number(await e.get(r)||0);return t-Date.now()+l},He=async(r,t,e)=>{if(!t.throttle||!e)return!1;er(t.throttle,t.id);const l=t.id||r;return await rr(l,t.throttle,e)>0?!0:(await e.set(l,Date.now().toString()),!1)},qe=()=>new me(429,"Too Many Requests"),tr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};return b&&Re(navigator)?Promise.reject(Ce()):(Ee(a,r,t),$e(e),e&&Oe(k,e)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):De("/api/v1.0/email/send",JSON.stringify({lib_version:"4.3.3",user_id:a,service_id:r,template_id:t,template_params:e}),{"Content-type":"application/json"}))},ar=r=>{if(!r||r.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},or=r=>typeof r=="string"?document.querySelector(r):r,sr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};if(b&&Re(navigator))return Promise.reject(Ce());const j=or(e);Ee(a,r,t),ar(j);const c=new FormData(j);return Oe(k,c)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):(c.append("lib_version","4.3.3"),c.append("service_id",r),c.append("template_id",t),c.append("user_id",a),De("/api/v1.0/email/send-form",c))},nr={init:We,send:tr,sendForm:sr,EmailJSResponseStatus:me};var Ie={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.makeNoise2D=void 0;var ue=(3-Math.sqrt(3))/6,Me=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[1,0],[-1,0],[0,1],[0,-1],[0,1],[0,-1]];function ir(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k){var x=(y+k)*.5*(Math.sqrt(3)-1),j=Math.floor(y+x),c=Math.floor(k+x),E=(j+c)*ue,U=j-E,V=c-E,T=y-U,N=k-V,W=T>N?1:0,i=T>N?0:1,s=T-W+ue,h=N-i+ue,d=T-1+2*ue,n=N-1+2*ue,u=j&255,m=c&255,w=Me[b[u+a[m]]],p=Me[b[u+W+a[m+i]]],_=Me[b[u+1+a[m+1]]],L=.5-T*T-N*N,K=L<0?0:Math.pow(L,4)*(w[0]*T+w[1]*N),I=.5-s*s-h*h,B=I<0?0:Math.pow(I,4)*(p[0]*s+p[1]*h),z=.5-d*d-n*n,G=z<0?0:Math.pow(z,4)*(_[0]*d+_[1]*n);return 70.14805770653952*(K+B+G)}}ke.makeNoise2D=ir;var xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.makeNoise3D=void 0;var J=1/6,ye=[[1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],[0,1,1],[0,-1,-1],[0,1,-1],[0,-1,-1]];function lr(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x){var j=(y+k+x)/3,c=Math.floor(y+j),E=Math.floor(k+j),U=Math.floor(x+j),V=(c+E+U)*J,T=c-V,N=E-V,W=U-V,i=y-T,s=k-N,h=x-W,d,n,u,m,w,p;i>=s?s>=h?(d=m=w=1,n=u=p=0):i>=h?(d=m=p=1,n=u=w=0):(u=m=p=1,d=n=w=0):s0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x,j){var c=(y+k+x+j)*(Math.sqrt(5)-1)/4,E=Math.floor(y+c),U=Math.floor(k+c),V=Math.floor(x+c),T=Math.floor(j+c),N=(E+U+V+T)*P,W=E-N,i=U-N,s=V-N,h=T-N,d=y-W,n=k-i,u=x-s,m=j-h,w=0,p=0,_=0,L=0;d>n?w++:p++,d>u?w++:_++,d>m?w++:L++,n>u?p++:_++,n>m?p++:L++,u>m?_++:L++;var K=w>=3?1:0,I=p>=3?1:0,B=_>=3?1:0,z=L>=3?1:0,G=w>=2?1:0,oe=p>=2?1:0,$=_>=2?1:0,R=L>=2?1:0,X=w>=1?1:0,Z=p>=1?1:0,Q=_>=1?1:0,o=L>=1?1:0,f=d-K+P,g=n-I+P,D=u-B+P,C=m-z+P,O=d-G+2*P,q=n-oe+2*P,A=u-$+2*P,Y=m-R+2*P,H=d-X+3*P,F=n-Z+3*P,ee=u-Q+3*P,ie=m-o+3*P,le=d-1+4*P,re=n-1+4*P,ce=u-1+4*P,ve=m-1+4*P,te=E&255,ae=U&255,se=V&255,ne=T&255,he=fe[a[te+a[ae+a[se+a[ne]]]]%32],pe=fe[a[te+K+a[ae+I+a[se+B+a[ne+z]]]]%32],ge=fe[a[te+G+a[ae+oe+a[se+$+a[ne+R]]]]%32],be=fe[a[te+X+a[ae+Z+a[se+Q+a[ne+o]]]]%32],we=fe[a[te+1+a[ae+1+a[se+1+a[ne+1]]]]%32],Se=.5-d*d-n*n-u*u-m*m,ze=Se<0?0:Math.pow(Se,4)*(he[0]*d+he[1]*n+he[2]*u+he[3]*m),Ne=.5-f*f-g*g-D*D-C*C,Fe=Ne<0?0:Math.pow(Ne,4)*(pe[0]*f+pe[1]*g+pe[2]*D+pe[3]*C),_e=.5-O*O-q*q-A*A-Y*Y,Ue=_e<0?0:Math.pow(_e,4)*(ge[0]*O+ge[1]*q+ge[2]*A+ge[3]*Y),Le=.5-H*H-F*F-ee*ee-ie*ie,Ve=Le<0?0:Math.pow(Le,4)*(be[0]*H+be[1]*F+be[2]*ee+be[3]*ie),Te=.5-le*le-re*re-ce*ce-ve*ve,Ke=Te<0?0:Math.pow(Te,4)*(we[0]*le+we[1]*re+we[2]*ce+we[3]*ve);return 72.37855765153665*(ze+Fe+Ue+Ve+Ke)}}je.makeNoise4D=cr;(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.makeNoise4D=r.makeNoise3D=r.makeNoise2D=void 0;var t=ke;Object.defineProperty(r,"makeNoise2D",{enumerable:!0,get:function(){return t.makeNoise2D}});var e=xe;Object.defineProperty(r,"makeNoise3D",{enumerable:!0,get:function(){return e.makeNoise3D}});var l=je;Object.defineProperty(r,"makeNoise4D",{enumerable:!0,get:function(){return l.makeNoise4D}})})(Ie);function vr(){const N="hsla(260,40%,5%,1)";let W,i,s,h,d,n,u;function m(){w(),p(),K(),$()}function w(){W=document.querySelector(".content--canvas"),i={a:document.createElement("canvas"),b:document.createElement("canvas")},i.b.style=` +import{r as de,j as M}from"./index-BrZUcVzy.js";import{E as Be,a as Ge,b as Ye}from"./constants-BvORooUw.js";class me{constructor(t=0,e="Network Error"){this.status=t,this.text=e}}const Je=()=>{if(!(typeof localStorage>"u"))return{get:r=>Promise.resolve(localStorage.getItem(r)),set:(r,t)=>Promise.resolve(localStorage.setItem(r,t)),remove:r=>Promise.resolve(localStorage.removeItem(r))}},S={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:Je()},Pe=r=>r?typeof r=="string"?{publicKey:r}:r.toString()==="[object Object]"?r:{}:{},We=(r,t="https://api.emailjs.com")=>{if(!r)return;const e=Pe(r);S.publicKey=e.publicKey,S.blockHeadless=e.blockHeadless,S.storageProvider=e.storageProvider,S.blockList=e.blockList,S.limitRate=e.limitRate,S.origin=e.origin||t},De=async(r,t,e={})=>{const l=await fetch(S.origin+r,{method:"POST",headers:e,body:t}),v=await l.text(),a=new me(l.status,v);if(l.ok)return a;throw a},Ee=(r,t,e)=>{if(!r||typeof r!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||typeof t!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!e||typeof e!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},$e=r=>{if(r&&r.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Re=r=>r.webdriver||!r.languages||r.languages.length===0,Ce=()=>new me(451,"Unavailable For Headless Browser"),Xe=(r,t)=>{if(!Array.isArray(r))throw"The BlockList list has to be an array";if(typeof t!="string")throw"The BlockList watchVariable has to be a string"},Ze=r=>{var t;return!((t=r.list)!=null&&t.length)||!r.watchVariable},Qe=(r,t)=>r instanceof FormData?r.get(t):r[t],Oe=(r,t)=>{if(Ze(r))return!1;Xe(r.list,r.watchVariable);const e=Qe(t,r.watchVariable);return typeof e!="string"?!1:r.list.includes(e)},Ae=()=>new me(403,"Forbidden"),er=(r,t)=>{if(typeof r!="number"||r<0)throw"The LimitRate throttle has to be a positive number";if(t&&typeof t!="string")throw"The LimitRate ID has to be a string"},rr=async(r,t,e)=>{const l=Number(await e.get(r)||0);return t-Date.now()+l},He=async(r,t,e)=>{if(!t.throttle||!e)return!1;er(t.throttle,t.id);const l=t.id||r;return await rr(l,t.throttle,e)>0?!0:(await e.set(l,Date.now().toString()),!1)},qe=()=>new me(429,"Too Many Requests"),tr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};return b&&Re(navigator)?Promise.reject(Ce()):(Ee(a,r,t),$e(e),e&&Oe(k,e)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):De("/api/v1.0/email/send",JSON.stringify({lib_version:"4.3.3",user_id:a,service_id:r,template_id:t,template_params:e}),{"Content-type":"application/json"}))},ar=r=>{if(!r||r.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},or=r=>typeof r=="string"?document.querySelector(r):r,sr=async(r,t,e,l)=>{const v=Pe(l),a=v.publicKey||S.publicKey,b=v.blockHeadless||S.blockHeadless,y=S.storageProvider||v.storageProvider,k={...S.blockList,...v.blockList},x={...S.limitRate,...v.limitRate};if(b&&Re(navigator))return Promise.reject(Ce());const j=or(e);Ee(a,r,t),ar(j);const c=new FormData(j);return Oe(k,c)?Promise.reject(Ae()):await He(location.pathname,x,y)?Promise.reject(qe()):(c.append("lib_version","4.3.3"),c.append("service_id",r),c.append("template_id",t),c.append("user_id",a),De("/api/v1.0/email/send-form",c))},nr={init:We,send:tr,sendForm:sr,EmailJSResponseStatus:me};var Ie={},ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.makeNoise2D=void 0;var ue=(3-Math.sqrt(3))/6,Me=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[1,0],[-1,0],[0,1],[0,-1],[0,1],[0,-1]];function ir(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k){var x=(y+k)*.5*(Math.sqrt(3)-1),j=Math.floor(y+x),c=Math.floor(k+x),E=(j+c)*ue,U=j-E,V=c-E,T=y-U,N=k-V,W=T>N?1:0,i=T>N?0:1,s=T-W+ue,h=N-i+ue,d=T-1+2*ue,n=N-1+2*ue,u=j&255,m=c&255,w=Me[b[u+a[m]]],p=Me[b[u+W+a[m+i]]],_=Me[b[u+1+a[m+1]]],L=.5-T*T-N*N,K=L<0?0:Math.pow(L,4)*(w[0]*T+w[1]*N),I=.5-s*s-h*h,B=I<0?0:Math.pow(I,4)*(p[0]*s+p[1]*h),z=.5-d*d-n*n,G=z<0?0:Math.pow(z,4)*(_[0]*d+_[1]*n);return 70.14805770653952*(K+B+G)}}ke.makeNoise2D=ir;var xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.makeNoise3D=void 0;var J=1/6,ye=[[1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],[0,1,1],[0,-1,-1],[0,1,-1],[0,-1,-1]];function lr(r){r===void 0&&(r=Math.random);for(var t=new Uint8Array(256),e=0;e<256;e++)t[e]=e;for(var l,v,e=255;e>0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x){var j=(y+k+x)/3,c=Math.floor(y+j),E=Math.floor(k+j),U=Math.floor(x+j),V=(c+E+U)*J,T=c-V,N=E-V,W=U-V,i=y-T,s=k-N,h=x-W,d,n,u,m,w,p;i>=s?s>=h?(d=m=w=1,n=u=p=0):i>=h?(d=m=p=1,n=u=w=0):(u=m=p=1,d=n=w=0):s0;e--)l=Math.floor((e+1)*r()),v=t[e],t[e]=t[l],t[l]=v;for(var a=new Uint8Array(512),b=new Uint8Array(512),e=0;e<512;e++)a[e]=t[e&255],b[e]=a[e]%12;return function(y,k,x,j){var c=(y+k+x+j)*(Math.sqrt(5)-1)/4,E=Math.floor(y+c),U=Math.floor(k+c),V=Math.floor(x+c),T=Math.floor(j+c),N=(E+U+V+T)*P,W=E-N,i=U-N,s=V-N,h=T-N,d=y-W,n=k-i,u=x-s,m=j-h,w=0,p=0,_=0,L=0;d>n?w++:p++,d>u?w++:_++,d>m?w++:L++,n>u?p++:_++,n>m?p++:L++,u>m?_++:L++;var K=w>=3?1:0,I=p>=3?1:0,B=_>=3?1:0,z=L>=3?1:0,G=w>=2?1:0,oe=p>=2?1:0,$=_>=2?1:0,R=L>=2?1:0,X=w>=1?1:0,Z=p>=1?1:0,Q=_>=1?1:0,o=L>=1?1:0,f=d-K+P,g=n-I+P,D=u-B+P,C=m-z+P,O=d-G+2*P,q=n-oe+2*P,A=u-$+2*P,Y=m-R+2*P,H=d-X+3*P,F=n-Z+3*P,ee=u-Q+3*P,ie=m-o+3*P,le=d-1+4*P,re=n-1+4*P,ce=u-1+4*P,ve=m-1+4*P,te=E&255,ae=U&255,se=V&255,ne=T&255,he=fe[a[te+a[ae+a[se+a[ne]]]]%32],pe=fe[a[te+K+a[ae+I+a[se+B+a[ne+z]]]]%32],ge=fe[a[te+G+a[ae+oe+a[se+$+a[ne+R]]]]%32],be=fe[a[te+X+a[ae+Z+a[se+Q+a[ne+o]]]]%32],we=fe[a[te+1+a[ae+1+a[se+1+a[ne+1]]]]%32],Se=.5-d*d-n*n-u*u-m*m,ze=Se<0?0:Math.pow(Se,4)*(he[0]*d+he[1]*n+he[2]*u+he[3]*m),Ne=.5-f*f-g*g-D*D-C*C,Fe=Ne<0?0:Math.pow(Ne,4)*(pe[0]*f+pe[1]*g+pe[2]*D+pe[3]*C),_e=.5-O*O-q*q-A*A-Y*Y,Ue=_e<0?0:Math.pow(_e,4)*(ge[0]*O+ge[1]*q+ge[2]*A+ge[3]*Y),Le=.5-H*H-F*F-ee*ee-ie*ie,Ve=Le<0?0:Math.pow(Le,4)*(be[0]*H+be[1]*F+be[2]*ee+be[3]*ie),Te=.5-le*le-re*re-ce*ce-ve*ve,Ke=Te<0?0:Math.pow(Te,4)*(we[0]*le+we[1]*re+we[2]*ce+we[3]*ve);return 72.37855765153665*(ze+Fe+Ue+Ve+Ke)}}je.makeNoise4D=cr;(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.makeNoise4D=r.makeNoise3D=r.makeNoise2D=void 0;var t=ke;Object.defineProperty(r,"makeNoise2D",{enumerable:!0,get:function(){return t.makeNoise2D}});var e=xe;Object.defineProperty(r,"makeNoise3D",{enumerable:!0,get:function(){return e.makeNoise3D}});var l=je;Object.defineProperty(r,"makeNoise4D",{enumerable:!0,get:function(){return l.makeNoise4D}})})(Ie);function vr(){const N="hsla(260,40%,5%,1)";let W,i,s,h,d,n,u;function m(){w(),p(),K(),$()}function w(){W=document.querySelector(".content--canvas"),i={a:document.createElement("canvas"),b:document.createElement("canvas")},i.b.style=` position: fixed; top: 0; left: 0; diff --git a/assets/Experience-Bxbe0ua_.js b/assets/Experience-BAAI3xpb.js similarity index 98% rename from assets/Experience-Bxbe0ua_.js rename to assets/Experience-BAAI3xpb.js index b565cf1..6241c1e 100644 --- a/assets/Experience-Bxbe0ua_.js +++ b/assets/Experience-BAAI3xpb.js @@ -1,4 +1,4 @@ -import{r as y,g as Y,j as d}from"./index-C9S0c2Ry.js";import{e as G}from"./constants-DQsjZwwx.js";import{F as J}from"./Footer-_9IWcWO4.js";var N={},W={exports:{}},Q="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",X=Q,Z=X;function D(){}function L(){}L.resetWarningCache=D;var ee=function(){function e(o,t,n,l,a,c){if(c!==Z){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function r(){return e}var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:L,resetWarningCache:D};return i.PropTypes=i,i};W.exports=ee();var U=W.exports,q={exports:{}};/*! +import{r as y,g as Y,j as d}from"./index-BrZUcVzy.js";import{e as G}from"./constants-BvORooUw.js";import{F as J}from"./Footer-Dg6-ZpDx.js";var N={},W={exports:{}},Q="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",X=Q,Z=X;function D(){}function L(){}L.resetWarningCache=D;var ee=function(){function e(o,t,n,l,a,c){if(c!==Z){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function r(){return e}var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:L,resetWarningCache:D};return i.PropTypes=i,i};W.exports=ee();var U=W.exports,q={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames diff --git a/assets/Footer-_9IWcWO4.js b/assets/Footer-Dg6-ZpDx.js similarity index 99% rename from assets/Footer-_9IWcWO4.js rename to assets/Footer-Dg6-ZpDx.js index 7b57245..eadff2e 100644 --- a/assets/Footer-_9IWcWO4.js +++ b/assets/Footer-Dg6-ZpDx.js @@ -1 +1 @@ -import{R as o,j as a}from"./index-C9S0c2Ry.js";var v={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},m=o.createContext&&o.createContext(v),x=["attr","size","title"];function b(t,e){if(t==null)return{};var r=j(t,e),n,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function j(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;eo.createElement(e.tag,h({key:r},e.attr),g(e.child)))}function s(t){return e=>o.createElement(z,u({attr:h({},t.attr)},e),g(t.child))}function z(t){var e=r=>{var{attr:n,size:i,title:l}=t,p=b(t,x),d=i||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),o.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,p,{className:c,style:h(h({color:t.color||r.color},r.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&o.createElement("title",null,l),t.children)};return m!==void 0?o.createElement(m.Consumer,null,r=>e(r)):e(v)}function N(t){return s({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M120.12 208.29c-3.88-2.9-7.77-4.35-11.65-4.35H91.03v104.47h17.45c3.88 0 7.77-1.45 11.65-4.35 3.88-2.9 5.82-7.25 5.82-13.06v-69.65c-.01-5.8-1.96-10.16-5.83-13.06zM404.1 32H43.9C19.7 32 .06 51.59 0 75.8v360.4C.06 460.41 19.7 480 43.9 480h360.2c24.21 0 43.84-19.59 43.9-43.8V75.8c-.06-24.21-19.7-43.8-43.9-43.8zM154.2 291.19c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28l.01 70.93zm100.68-88.66H201.6v38.42h32.57v29.57H201.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19l-.01 29.52zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58l-38.46 144.8z"},child:[]}]})(t)}function P(t){return s({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(t)}function C(t){return s({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(t)}function _(t){return s({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1 1 68.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"},child:[]}]})(t)}function E(t){return s({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"},child:[]},{tag:"polyline",attr:{points:"22,6 12,13 2,6"},child:[]}]})(t)}const H=()=>{const t=new Date().getFullYear();return a.jsx("div",{className:"bg-slate-900 p-4",style:{cursor:"default"},children:a.jsxs("div",{className:"flex justify-between flex-wrap gap-4",children:[a.jsxs("p",{className:"text-white text-center w-full sm:w-auto font-light",children:["© ",t," Ratan Gulati. All rights reserved."]}),a.jsxs("div",{className:"text-white flex justify-around sm:w-[250px] w-full",children:[a.jsx("a",{href:"mailto:i.ratangulati@gmail.com",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(E,{className:"text-xl"})}),a.jsx("a",{href:"https://twitter.com/ratanstwt",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(C,{className:"text-xl"})}),a.jsx("a",{href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(_,{className:"text-xl"})}),a.jsx("a",{href:"https://github.com/Ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(P,{className:"text-xl"})}),a.jsx("a",{href:"https://dev.to/ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(N,{className:"text-xl"})})]})]})})};export{H as F}; +import{R as o,j as a}from"./index-BrZUcVzy.js";var v={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},m=o.createContext&&o.createContext(v),x=["attr","size","title"];function b(t,e){if(t==null)return{};var r=j(t,e),n,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function j(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;eo.createElement(e.tag,h({key:r},e.attr),g(e.child)))}function s(t){return e=>o.createElement(z,u({attr:h({},t.attr)},e),g(t.child))}function z(t){var e=r=>{var{attr:n,size:i,title:l}=t,p=b(t,x),d=i||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),o.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,p,{className:c,style:h(h({color:t.color||r.color},r.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&o.createElement("title",null,l),t.children)};return m!==void 0?o.createElement(m.Consumer,null,r=>e(r)):e(v)}function N(t){return s({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M120.12 208.29c-3.88-2.9-7.77-4.35-11.65-4.35H91.03v104.47h17.45c3.88 0 7.77-1.45 11.65-4.35 3.88-2.9 5.82-7.25 5.82-13.06v-69.65c-.01-5.8-1.96-10.16-5.83-13.06zM404.1 32H43.9C19.7 32 .06 51.59 0 75.8v360.4C.06 460.41 19.7 480 43.9 480h360.2c24.21 0 43.84-19.59 43.9-43.8V75.8c-.06-24.21-19.7-43.8-43.9-43.8zM154.2 291.19c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28l.01 70.93zm100.68-88.66H201.6v38.42h32.57v29.57H201.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19l-.01 29.52zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58l-38.46 144.8z"},child:[]}]})(t)}function P(t){return s({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(t)}function C(t){return s({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(t)}function _(t){return s({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1 1 68.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z"},child:[]}]})(t)}function E(t){return s({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"},child:[]},{tag:"polyline",attr:{points:"22,6 12,13 2,6"},child:[]}]})(t)}const H=()=>{const t=new Date().getFullYear();return a.jsx("div",{className:"bg-slate-900 p-4",style:{cursor:"default"},children:a.jsxs("div",{className:"flex justify-between flex-wrap gap-4",children:[a.jsxs("p",{className:"text-white text-center w-full sm:w-auto font-light",children:["© ",t," Ratan Gulati. All rights reserved."]}),a.jsxs("div",{className:"text-white flex justify-around sm:w-[250px] w-full",children:[a.jsx("a",{href:"mailto:i.ratangulati@gmail.com",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(E,{className:"text-xl"})}),a.jsx("a",{href:"https://twitter.com/ratanstwt",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(C,{className:"text-xl"})}),a.jsx("a",{href:"https://www.linkedin.com/in/ratangulati/",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(_,{className:"text-xl"})}),a.jsx("a",{href:"https://github.com/Ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(P,{className:"text-xl"})}),a.jsx("a",{href:"https://dev.to/ratangulati",target:"_blank",rel:"noopener noreferrer",className:"transition ease-in-out duration-300 rounded-md hover:scale-110 cursor-pointer hover:-translate-y-1",children:a.jsx(N,{className:"text-xl"})})]})]})})};export{H as F}; diff --git a/assets/Home-DPcKL0Xv.js b/assets/Home-zJjOItMZ.js similarity index 87% rename from assets/Home-DPcKL0Xv.js rename to assets/Home-zJjOItMZ.js index 8dec9c9..293b7ed 100644 --- a/assets/Home-DPcKL0Xv.js +++ b/assets/Home-zJjOItMZ.js @@ -1 +1 @@ -import{r,j as e}from"./index-C9S0c2Ry.js";import{n as a}from"./constants-DQsjZwwx.js";import{F as o}from"./Footer-_9IWcWO4.js";const d=()=>{console.log("Home component rendered");const t=r.useRef(0),[c,n]=r.useState("");return r.useEffect(()=>{const l=setInterval(()=>{t.currents+a[t.current-1]))},250);return()=>clearInterval(l)},[]),e.jsxs("div",{className:"area relative z-0 bg-black w-screen h-screen",children:[e.jsx("ul",{className:"circles",children:[...Array(10)].map((l,s)=>e.jsx("li",{},s))}),e.jsx("div",{className:"hero relative h-[calc(100vh)] flex justify-center items-center text-white",id:"hero",children:e.jsxs("div",{className:"pt-4 h-36 backdrop-blur-sm rounded-3xl",children:[e.jsxs("h1",{className:"text-6xl sm:text-7xl font-extrabold mt-2",children:["Hi, I'm ",e.jsx("span",{className:"text-yellow-200 font-extrabold",children:c})]}),e.jsx("p",{className:"mt-3 text-xl",children:"I love to build projects using MERN, Cloud & DevOps."})]})}),e.jsx(o,{})]})};export{d as default}; +import{r,j as e}from"./index-BrZUcVzy.js";import{n as a}from"./constants-BvORooUw.js";import{F as o}from"./Footer-Dg6-ZpDx.js";const d=()=>{console.log("Home component rendered");const t=r.useRef(0),[c,n]=r.useState("");return r.useEffect(()=>{const l=setInterval(()=>{t.currents+a[t.current-1]))},250);return()=>clearInterval(l)},[]),e.jsxs("div",{className:"area relative z-0 bg-black w-screen h-screen",children:[e.jsx("ul",{className:"circles",children:[...Array(10)].map((l,s)=>e.jsx("li",{},s))}),e.jsx("div",{className:"hero relative h-[calc(100vh)] flex justify-center items-center text-white",id:"hero",children:e.jsxs("div",{className:"pt-4 h-36 backdrop-blur-sm rounded-3xl",children:[e.jsxs("h1",{className:"text-6xl sm:text-7xl font-extrabold mt-2",children:["Hi, I'm ",e.jsx("span",{className:"text-yellow-200 font-extrabold",children:c})]}),e.jsx("p",{className:"mt-3 text-xl",children:"I love to build projects using MERN, Cloud & DevOps."})]})}),e.jsx(o,{})]})};export{d as default}; diff --git a/assets/Projects-IqitnVaW.js b/assets/Projects-CuD0rW5m.js similarity index 95% rename from assets/Projects-IqitnVaW.js rename to assets/Projects-CuD0rW5m.js index c7e79e9..c0f2190 100644 --- a/assets/Projects-IqitnVaW.js +++ b/assets/Projects-CuD0rW5m.js @@ -1 +1 @@ -import{j as e}from"./index-C9S0c2Ry.js";import{F as n}from"./Footer-_9IWcWO4.js";const c="/ratangulati/assets/classroom-B9W-LDqR.png",d="/ratangulati/assets/compilex-DLxgW9-i.png",g="/ratangulati/assets/quicksend-DEm1V0Qx.png",m=({image:t,title:s,description:a,git:i,technologies:r})=>e.jsxs("div",{className:"flex flex-col bg-gray-900 border border-neutral-100 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700 overflow-hidden transition-all duration-300 hover:scale-105 hover:shadow-lg",children:[e.jsx("div",{className:"h-48 overflow-hidden",children:e.jsx("img",{className:"w-full h-full object-cover",src:t,alt:s})}),e.jsxs("div",{className:"p-6 flex flex-col flex-grow",children:[e.jsx("h5",{className:"text-2xl font-bold mb-3 tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-yellow-200 to-pink-500",children:s}),e.jsx("p",{className:"text-sm text-gray-300 dark:text-gray-400 mb-4 flex-grow",children:a}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:r.map((o,l)=>e.jsxs("span",{className:"px-2 py-1 text-xs font-semibold text-blue-500 bg-blue-100 rounded-full",children:["#",o]},`${l}-${o}`))}),e.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"text-center py-2 px-4 bg-gradient-to-r from-purple-500 to-pink-500 text-white font-semibold rounded-lg shadow-md hover:from-purple-600 hover:to-pink-600 transition-all duration-300",children:"View on GitHub"})]})]}),u=()=>e.jsxs("div",{className:"min-h-screen flex flex-col bg-black",children:[e.jsxs("div",{className:"flex-grow container mx-auto px-4 py-16",children:[e.jsx("h2",{className:"text-4xl sm:text-5xl font-extrabold text-center text-white mt-8 mb-12",children:"My Projects"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:x.map((t,s)=>e.jsx(m,{image:t.image,title:t.title,description:t.description,git:t.git,technologies:t.technologies},s))})]}),e.jsx(n,{})]}),x=[{title:"Classroom",description:"A School Management System that streamlines administrative tasks, improves communication, and enhances overall efficiency in educational institutions.",image:c,git:"https://github.com/Ratangulati/Classroom",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]},{title:"CompileX",description:"A real-time collaborative code editor/compiler that helps users connect, share, code & debug together seamlessly.",image:d,git:"https://github.com/Ratangulati/CompileX",technologies:["ReactJS","NodeJS","ExpressJS","Socket.io"]},{title:"QuickSend",description:"An easy, fast, reliable, and secure money transfer web application for sending money to friends and family with just a few clicks.",image:g,git:"https://github.com/Ratangulati/QuickSend",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]}];export{u as default}; +import{j as e}from"./index-BrZUcVzy.js";import{F as n}from"./Footer-Dg6-ZpDx.js";const c="/ratangulati/assets/classroom-B9W-LDqR.png",d="/ratangulati/assets/compilex-DLxgW9-i.png",g="/ratangulati/assets/quicksend-DEm1V0Qx.png",m=({image:t,title:s,description:a,git:i,technologies:r})=>e.jsxs("div",{className:"flex flex-col bg-gray-900 border border-neutral-100 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700 overflow-hidden transition-all duration-300 hover:scale-105 hover:shadow-lg",children:[e.jsx("div",{className:"h-48 overflow-hidden",children:e.jsx("img",{className:"w-full h-full object-cover",src:t,alt:s})}),e.jsxs("div",{className:"p-6 flex flex-col flex-grow",children:[e.jsx("h5",{className:"text-2xl font-bold mb-3 tracking-tight text-transparent bg-clip-text bg-gradient-to-r from-yellow-200 to-pink-500",children:s}),e.jsx("p",{className:"text-sm text-gray-300 dark:text-gray-400 mb-4 flex-grow",children:a}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:r.map((o,l)=>e.jsxs("span",{className:"px-2 py-1 text-xs font-semibold text-blue-500 bg-blue-100 rounded-full",children:["#",o]},`${l}-${o}`))}),e.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"text-center py-2 px-4 bg-gradient-to-r from-purple-500 to-pink-500 text-white font-semibold rounded-lg shadow-md hover:from-purple-600 hover:to-pink-600 transition-all duration-300",children:"View on GitHub"})]})]}),u=()=>e.jsxs("div",{className:"min-h-screen flex flex-col bg-black",children:[e.jsxs("div",{className:"flex-grow container mx-auto px-4 py-16",children:[e.jsx("h2",{className:"text-4xl sm:text-5xl font-extrabold text-center text-white mt-8 mb-12",children:"My Projects"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:x.map((t,s)=>e.jsx(m,{image:t.image,title:t.title,description:t.description,git:t.git,technologies:t.technologies},s))})]}),e.jsx(n,{})]}),x=[{title:"Classroom",description:"A School Management System that streamlines administrative tasks, improves communication, and enhances overall efficiency in educational institutions.",image:c,git:"https://github.com/Ratangulati/Classroom",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]},{title:"CompileX",description:"A real-time collaborative code editor/compiler that helps users connect, share, code & debug together seamlessly.",image:d,git:"https://github.com/Ratangulati/CompileX",technologies:["ReactJS","NodeJS","ExpressJS","Socket.io"]},{title:"QuickSend",description:"An easy, fast, reliable, and secure money transfer web application for sending money to friends and family with just a few clicks.",image:g,git:"https://github.com/Ratangulati/QuickSend",technologies:["MongoDB","React JS","ExpressJS","NodeJS","Tailwind CSS"]}];export{u as default}; diff --git a/assets/constants-BvORooUw.js b/assets/constants-BvORooUw.js new file mode 100644 index 0000000..e29bf8d --- /dev/null +++ b/assets/constants-BvORooUw.js @@ -0,0 +1 @@ +const e=[{title:"Technology Enthusiast",icon:"https://csgeeek.github.io/web.png"},{title:"Software Engineer",icon:"https://csgeeek.github.io/web.png"},{title:"F1 enthusiast",icon:"https://csgeeek.github.io/web.png"}],t="Ratan",n=[{company:"GirlScript Summer Of Code",role:"Open Source Contributor",duration:"May 2024 - Present",logo:"https://cdn-images-1.medium.com/max/1200/1*ZfYWXN0zA6TqQQ7wGNJUOg.jpeg",points:["Demonstrated strong technical skills in Docker, UI/UX design, and the MERN stack.","Made significant contributions that improved project performance, usability, and deployment processes.","Actively engaged in collaborative development, enhancing team productivity and project quality.","Implemented effective workflows and automation, resulting in more efficient and reliable project development."],url:"https://gssoc.girlscript.tech/",showContributionsLink:!0,contributionsLink:"https://nosy-heaven-3bd.notion.site/GSSOC-be6bc7a97f814e33930a279c9f476fcc"},{company:"Code Social",role:"Community Manager",duration:"Oct 2023 - March 2024",logo:"https://media.licdn.com/dms/image/D4D0BAQGEPFXXgxJNNg/company-logo_200_200/0/1692017597076/code_social_logo?e=1727913600&v=beta&t=91437LP1e7e1pbLMNABnm4Ecsm9wPgRO1P8uHMdRV4s",points:["Planned and executed various community events, ensuring smooth operations and high engagement.","Designed and implemented engaging contests to boost community participation and enthusiasm.","Facilitated collaborations between community members, helping to build connections.","Built and maintained strong, positive relationships with community members, fostering a collaborative and supportive environment."],url:"https://www.linkedin.com/company/code-social/?originalSubdomain=in"},{company:"Hacktoberfest",role:"Open Source Contributor",duration:"Oct 2023 - Oct 2023",logo:"https://pbs.twimg.com/profile_images/1697628838983778304/tz9etEGO_400x400.jpg",points:["Started my journey in open source during Hacktoberfest, gaining initial experience in collaborative coding.","Created clear guides and practical examples for ArgoCD, helping users understand and use the platform effectively.","Managed code versions using Git, ensuring smooth integration of changes and maintaining project consistency."],url:"https://hacktoberfest.com/",showContributionsLink:!0,contributionsLink:"https://brick-manicure-182.notion.site/Hacktoberfest-2023-495439c489d44fa482afa3ffba5a415a"}],i="service_4uuphya",o="template_9i38w1t",a="X8hAhTwOxBWAye7tA";export{i as E,o as a,a as b,n as e,t as n,e as s}; diff --git a/assets/constants-DQsjZwwx.js b/assets/constants-DQsjZwwx.js deleted file mode 100644 index 7345286..0000000 --- a/assets/constants-DQsjZwwx.js +++ /dev/null @@ -1 +0,0 @@ -var e={BASE_URL:"/ratangulati/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const t=[{title:"Technology Enthusiast",icon:"https://csgeeek.github.io/web.png"},{title:"Software Engineer",icon:"https://csgeeek.github.io/web.png"},{title:"F1 enthusiast",icon:"https://csgeeek.github.io/web.png"}],n="Ratan",i=[{company:"GirlScript Summer Of Code",role:"Open Source Contributor",duration:"May 2024 - Present",logo:"https://cdn-images-1.medium.com/max/1200/1*ZfYWXN0zA6TqQQ7wGNJUOg.jpeg",points:["Demonstrated strong technical skills in Docker, UI/UX design, and the MERN stack.","Made significant contributions that improved project performance, usability, and deployment processes.","Actively engaged in collaborative development, enhancing team productivity and project quality.","Implemented effective workflows and automation, resulting in more efficient and reliable project development."],url:"https://gssoc.girlscript.tech/",showContributionsLink:!0,contributionsLink:"https://nosy-heaven-3bd.notion.site/GSSOC-be6bc7a97f814e33930a279c9f476fcc"},{company:"Code Social",role:"Community Manager",duration:"Oct 2023 - March 2024",logo:"https://media.licdn.com/dms/image/D4D0BAQGEPFXXgxJNNg/company-logo_200_200/0/1692017597076/code_social_logo?e=1727913600&v=beta&t=91437LP1e7e1pbLMNABnm4Ecsm9wPgRO1P8uHMdRV4s",points:["Planned and executed various community events, ensuring smooth operations and high engagement.","Designed and implemented engaging contests to boost community participation and enthusiasm.","Facilitated collaborations between community members, helping to build connections.","Built and maintained strong, positive relationships with community members, fostering a collaborative and supportive environment."],url:"https://www.linkedin.com/company/code-social/?originalSubdomain=in"},{company:"Hacktoberfest",role:"Open Source Contributor",duration:"Oct 2023 - Oct 2023",logo:"https://pbs.twimg.com/profile_images/1697628838983778304/tz9etEGO_400x400.jpg",points:["Started my journey in open source during Hacktoberfest, gaining initial experience in collaborative coding.","Created clear guides and practical examples for ArgoCD, helping users understand and use the platform effectively.","Managed code versions using Git, ensuring smooth integration of changes and maintaining project consistency."],url:"https://hacktoberfest.com/",showContributionsLink:!0,contributionsLink:"https://brick-manicure-182.notion.site/Hacktoberfest-2023-495439c489d44fa482afa3ffba5a415a"}],o=e.VITE_EMAIL_JS_SERVICE_ID,a=e.VITE_EMAIL_JS_TEMPLATE_ID,s=e.VITE_EMAIL_JS_PUBLIC_KEY;export{o as E,a,s as b,i as e,n,t as s}; diff --git a/assets/index-C9S0c2Ry.js b/assets/index-BrZUcVzy.js similarity index 99% rename from assets/index-C9S0c2Ry.js rename to assets/index-BrZUcVzy.js index 1382ce5..daa9e2e 100644 --- a/assets/index-C9S0c2Ry.js +++ b/assets/index-BrZUcVzy.js @@ -1,4 +1,4 @@ -const __vite__fileDeps=["assets/Home-DPcKL0Xv.js","assets/constants-DQsjZwwx.js","assets/Footer-_9IWcWO4.js","assets/Experience-Bxbe0ua_.js","assets/Experience-CnZtrC8p.css","assets/Projects-IqitnVaW.js","assets/About-DWwpUMJ4.js","assets/Contact-MYCsWwq3.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +const __vite__fileDeps=["assets/Home-zJjOItMZ.js","assets/constants-BvORooUw.js","assets/Footer-Dg6-ZpDx.js","assets/Experience-BAAI3xpb.js","assets/Experience-CnZtrC8p.css","assets/Projects-CuD0rW5m.js","assets/About-DQuU5Mgk.js","assets/Contact-DB28wHhh.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); function Qc(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zh(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),n}var Es={exports:{}},vl={},xs={exports:{}},j={};/** * @license React * react.production.min.js @@ -65,4 +65,4 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function oi(){return oi=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="6";try{window.__reactRouterVersion=vh}catch{}const yh="startTransition",ws=af[yh];function gh(e){let{basename:t,children:n,future:r,window:l}=e,o=C.useRef();o.current==null&&(o.current=xp({window:l,v5Compat:!0}));let i=o.current,[u,s]=C.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=C.useCallback(p=>{a&&ws?ws(()=>s(p)):s(p)},[s,a]);return C.useLayoutEffect(()=>i.listen(h),[i,h]),C.createElement(ch,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}const wh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ve=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:h,unstable_viewTransition:p}=t,m=dh(t,mh),{basename:y}=C.useContext(Ut),g,w=!1;if(typeof a=="string"&&Sh.test(a)&&(g=a,wh))try{let d=new URL(window.location.href),v=a.startsWith("//")?new URL(d.protocol+a):new URL(a),k=tu(v.pathname,y);v.origin===d.origin&&k!=null?a=k+v.search+v.hash:w=!0}catch{}let E=Gp(a,{relative:l}),f=kh(a,{replace:i,state:u,target:s,preventScrollReset:h,relative:l,unstable_viewTransition:p});function c(d){r&&r(d),d.defaultPrevented||f(d)}return C.createElement("a",oi({},m,{href:g||E,onClick:w||o?r:c,ref:n,target:s}))});var Ss;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ss||(Ss={}));var ks;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ks||(ks={}));function kh(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Zp(),a=dr(),h=Ac(e,{relative:i});return C.useCallback(p=>{if(hh(p,n)){p.preventDefault();let m=r!==void 0?r:hl(a)===hl(h);s(e,{replace:m,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,h,r,l,n,e,o,i,u])}const Eh=()=>{const[e,t]=C.useState(!1),{pathname:n}=dr();C.useEffect(()=>{window.scrollTo(0,0)},[n]);const r=()=>{t(!e)},l=()=>{t(!1)};return L.jsx("nav",{className:"bg-gray-800 p-4 text-white fixed w-full z-10 top-0",style:{cursor:"default"},children:L.jsxs("div",{className:"mx-auto text-center flex w-5/6 justify-between",children:[L.jsx("div",{className:"text-3xl sm:text-2xl font-extrabold",children:L.jsx(ve,{to:"/",children:"Ratan Gulati"})}),L.jsxs("div",{className:"hidden sm:flex space-x-6 items-center text-sm",children:[L.jsx(ve,{to:"/",children:"Home"}),L.jsx(ve,{to:"/about",children:"About"}),L.jsx(ve,{to:"/projects",children:"Projects"}),L.jsx(ve,{to:"/experience",children:"Experience"}),L.jsx(ve,{to:"https://bento.me/ratangulati",target:"_blank",rel:"noopener noreferrer",children:"Links"}),L.jsx(ve,{to:"/contact",children:"Contact"})]}),L.jsx("div",{className:"sm:hidden",children:L.jsx("button",{onClick:r,className:"text-xl focus:outline-none",children:e?"✕":"☰"})}),L.jsxs("div",{className:`sm:hidden fixed top-0 left-0 w-full h-full bg-gray-800 text-center ${e?"flex flex-col items-center justify-center":"hidden"}`,children:[L.jsx("button",{onClick:l,className:"text-xl absolute top-4 right-4 focus:outline-none",children:"✕"}),L.jsxs("ul",{className:"font-medium text-2xl space-y-4",children:[L.jsx("li",{children:L.jsx(ve,{to:"/",onClick:l,children:"Home"})}),L.jsx("li",{children:L.jsx(ve,{to:"/about",onClick:l,children:"About"})}),L.jsx("li",{children:L.jsx(ve,{to:"/projects",onClick:l,children:"Projects"})}),L.jsx("li",{children:L.jsx(ve,{to:"/experience",onClick:l,children:"Experience"})}),L.jsx(ve,{to:"https://bento.me/ratangulati",children:"Links"}),L.jsx("li",{children:L.jsx(ve,{to:"/contact",onClick:l,children:"Contact"})})]})]})]})})},xh=()=>L.jsx("div",{className:"flex justify-center items-center h-screen bg-gray-900",children:L.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-white"})}),Ch=It.lazy(()=>cr(()=>import("./Home-DPcKL0Xv.js"),__vite__mapDeps([0,1,2]))),_h=It.lazy(()=>cr(()=>import("./Experience-Bxbe0ua_.js"),__vite__mapDeps([3,1,2,4]))),Ph=It.lazy(()=>cr(()=>import("./Projects-IqitnVaW.js"),__vite__mapDeps([5,2]))),Nh=It.lazy(()=>cr(()=>import("./About-DWwpUMJ4.js"),__vite__mapDeps([6,1,2]))),Rh=It.lazy(()=>cr(()=>import("./Contact-MYCsWwq3.js"),__vite__mapDeps([7,1]))),Lh=()=>(console.log("App component rendered"),L.jsxs(gh,{children:[L.jsx(Eh,{}),L.jsx(C.Suspense,{fallback:L.jsx(xh,{}),children:L.jsxs(fh,{children:[L.jsx(At,{path:"/",element:L.jsx(Ch,{})}),L.jsx(At,{path:"/experience",element:L.jsx(_h,{})}),L.jsx(At,{path:"/projects",element:L.jsx(Ph,{})}),L.jsx(At,{path:"/about",element:L.jsx(Nh,{})}),L.jsx(At,{path:"/contact",element:L.jsx(Rh,{})})]})})]}));ao.createRoot(document.getElementById("root")).render(L.jsx(It.StrictMode,{children:L.jsx(Lh,{})}));export{It as R,zh as g,L as j,C as r}; + */function oi(){return oi=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="6";try{window.__reactRouterVersion=vh}catch{}const yh="startTransition",ws=af[yh];function gh(e){let{basename:t,children:n,future:r,window:l}=e,o=C.useRef();o.current==null&&(o.current=xp({window:l,v5Compat:!0}));let i=o.current,[u,s]=C.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=C.useCallback(p=>{a&&ws?ws(()=>s(p)):s(p)},[s,a]);return C.useLayoutEffect(()=>i.listen(h),[i,h]),C.createElement(ch,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}const wh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ve=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:h,unstable_viewTransition:p}=t,m=dh(t,mh),{basename:y}=C.useContext(Ut),g,w=!1;if(typeof a=="string"&&Sh.test(a)&&(g=a,wh))try{let d=new URL(window.location.href),v=a.startsWith("//")?new URL(d.protocol+a):new URL(a),k=tu(v.pathname,y);v.origin===d.origin&&k!=null?a=k+v.search+v.hash:w=!0}catch{}let E=Gp(a,{relative:l}),f=kh(a,{replace:i,state:u,target:s,preventScrollReset:h,relative:l,unstable_viewTransition:p});function c(d){r&&r(d),d.defaultPrevented||f(d)}return C.createElement("a",oi({},m,{href:g||E,onClick:w||o?r:c,ref:n,target:s}))});var Ss;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ss||(Ss={}));var ks;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ks||(ks={}));function kh(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Zp(),a=dr(),h=Ac(e,{relative:i});return C.useCallback(p=>{if(hh(p,n)){p.preventDefault();let m=r!==void 0?r:hl(a)===hl(h);s(e,{replace:m,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,h,r,l,n,e,o,i,u])}const Eh=()=>{const[e,t]=C.useState(!1),{pathname:n}=dr();C.useEffect(()=>{window.scrollTo(0,0)},[n]);const r=()=>{t(!e)},l=()=>{t(!1)};return L.jsx("nav",{className:"bg-gray-800 p-4 text-white fixed w-full z-10 top-0",style:{cursor:"default"},children:L.jsxs("div",{className:"mx-auto text-center flex w-5/6 justify-between",children:[L.jsx("div",{className:"text-3xl sm:text-2xl font-extrabold",children:L.jsx(ve,{to:"/",children:"Ratan Gulati"})}),L.jsxs("div",{className:"hidden sm:flex space-x-6 items-center text-sm",children:[L.jsx(ve,{to:"/",children:"Home"}),L.jsx(ve,{to:"/about",children:"About"}),L.jsx(ve,{to:"/projects",children:"Projects"}),L.jsx(ve,{to:"/experience",children:"Experience"}),L.jsx(ve,{to:"https://bento.me/ratangulati",target:"_blank",rel:"noopener noreferrer",children:"Links"}),L.jsx(ve,{to:"/contact",children:"Contact"})]}),L.jsx("div",{className:"sm:hidden",children:L.jsx("button",{onClick:r,className:"text-xl focus:outline-none",children:e?"✕":"☰"})}),L.jsxs("div",{className:`sm:hidden fixed top-0 left-0 w-full h-full bg-gray-800 text-center ${e?"flex flex-col items-center justify-center":"hidden"}`,children:[L.jsx("button",{onClick:l,className:"text-xl absolute top-4 right-4 focus:outline-none",children:"✕"}),L.jsxs("ul",{className:"font-medium text-2xl space-y-4",children:[L.jsx("li",{children:L.jsx(ve,{to:"/",onClick:l,children:"Home"})}),L.jsx("li",{children:L.jsx(ve,{to:"/about",onClick:l,children:"About"})}),L.jsx("li",{children:L.jsx(ve,{to:"/projects",onClick:l,children:"Projects"})}),L.jsx("li",{children:L.jsx(ve,{to:"/experience",onClick:l,children:"Experience"})}),L.jsx(ve,{to:"https://bento.me/ratangulati",children:"Links"}),L.jsx("li",{children:L.jsx(ve,{to:"/contact",onClick:l,children:"Contact"})})]})]})]})})},xh=()=>L.jsx("div",{className:"flex justify-center items-center h-screen bg-gray-900",children:L.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-white"})}),Ch=It.lazy(()=>cr(()=>import("./Home-zJjOItMZ.js"),__vite__mapDeps([0,1,2]))),_h=It.lazy(()=>cr(()=>import("./Experience-BAAI3xpb.js"),__vite__mapDeps([3,1,2,4]))),Ph=It.lazy(()=>cr(()=>import("./Projects-CuD0rW5m.js"),__vite__mapDeps([5,2]))),Nh=It.lazy(()=>cr(()=>import("./About-DQuU5Mgk.js"),__vite__mapDeps([6,1,2]))),Rh=It.lazy(()=>cr(()=>import("./Contact-DB28wHhh.js"),__vite__mapDeps([7,1]))),Lh=()=>(console.log("App component rendered"),L.jsxs(gh,{children:[L.jsx(Eh,{}),L.jsx(C.Suspense,{fallback:L.jsx(xh,{}),children:L.jsxs(fh,{children:[L.jsx(At,{path:"/",element:L.jsx(Ch,{})}),L.jsx(At,{path:"/experience",element:L.jsx(_h,{})}),L.jsx(At,{path:"/projects",element:L.jsx(Ph,{})}),L.jsx(At,{path:"/about",element:L.jsx(Nh,{})}),L.jsx(At,{path:"/contact",element:L.jsx(Rh,{})})]})})]}));ao.createRoot(document.getElementById("root")).render(L.jsx(It.StrictMode,{children:L.jsx(Lh,{})}));export{It as R,zh as g,L as j,C as r}; diff --git a/index.html b/index.html index 1a944c0..194b51c 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Ratan Gulati - +