1import{j as e,F as G,f as X,a as re,b as ae,c as ie,d as Q,e as se,g as oe,h as le,i as ce}from"./index-C1H3nW7_.js";import{r as ne,L as K}from"./router-DMtWev7q.js";import{r as ue,g as de}from"./vendor-Bzgz95E1.js";import{t as fe,S as me}from"./Seo-TNDspeOI.js";import{p as he}from"./projects-V2TvRrFA.js";var Z={exports:{}},te;function pe(){return te||(te=1,(function($){$.exports=(function(x){var f={};function s(y){if(f[y])return f[y].exports;var j=f[y]={exports:{},id:y,loaded:!1};return x[y].call(j.exports,j,j.exports,s),j.loaded=!0,j.exports}return s.m=x,s.c=f,s.p="",s(0)})([(function(x,f,s){Object.defineProperty(f,"__esModule",{value:!0});var y=Object.assign||function(c){for(var u=1;u<arguments.length;u++){var T=arguments[u];for(var a in T)Object.prototype.hasOwnProperty.call(T,a)&&(c[a]=T[a])}return c},j=(function(){function c(u,T){for(var a=0;a<T.length;a++){var m=T[a];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(u,m.key,m)}}return function(u,T,a){return T&&c(u.prototype,T),a&&c(u,a),u}})(),S=s(1),r=o(S),d=s(2),p=o(d),E=s(10),z=o(E),B=s(12),H=o(B),w=s(13),h=o(w),L=s(14),l=n(L);function n(c){if(c&&c.__esModule)return c;var u={};if(c!=null)for(var T in c)Object.prototype.hasOwnProperty.call(c,T)&&(u[T]=c[T]);return u.default=c,u}function o(c){return c&&c.__esModule?c:{default:c}}function v(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}function g(c,u){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:c}function A(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);c.prototype=Object.create(u&&u.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(c,u):c.__proto__=u)}var I=["ð","â°"],W=(function(c){A(u,c);function u(T){v(this,u);var a=g(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,T));return a.state={textLines:[],isDone:!1},a.onTypingDone=function(){a.mounted&&(a.setState({isDone:!0}),a.props.onTypingDone())},a.delayGenerator=function(m,M,C,F){var J=a.props.avgTypingDelay,Y=a.props.stdTypingDelay;return a.props.delayGenerator(J,Y,{line:m,lineIdx:M,character:C,charIdx:F,defDelayGenerator:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Y;return l.gaussianRnd(i,k)}})},a.typeLine=function(m,M){if(!a.mounted)return Promise.resolve();var C=m,F=a.props.onLineTyped;return l.isBackspaceElement(m)?(m.props.delay>0&&(a.introducedDelay=m.props.delay),C="ð".repeat(m.props.count)):l.isDelayElement(m)&&(a.introducedDelay=m.props.ms,C="â°"),new Promise(function(J,Y){a.setState({textLines:a.state.textLines.concat([""])},function(){l.eachPromise(C,a.typeCharacter,C,M).then(function(){return F(C,M)}).then(J).catch(Y)})})},a.typeCharacter=function(m,M,C,F){if(!a.mounted)return Promise.resolve();var J=a.props.onCharacterTyped;return new Promise(function(Y){var t=a.state.textLines.slice();l.sleep(a.introducedDelay).then(function(){a.introducedDelay=null;var i=m==="ð",k=m==="â°";if(k){Y();return}if(i&&F>0){for(var N=F-1,b=t[N],R=N;R>=0&&!(b.length>0&&!I.includes(b[0]));R--)N=R,b=t[N];t[N]=b.substr(0,b.length-1)}else t[F]+=m;a.setState({textLines:t},function(){var D=a.delayGenerator(C,F,m,M);J(m,M),setTimeout(Y,D)})})})},a.mounted=!1,a.linesToType=[],a.introducedDelay=null,T.children&&(a.linesToType=l.extractTextFromElement(T.children)),a}return j(u,[{key:"componentDidMount",value:function(){this.mounted=!0;var a=this.props,m=a.children,M=a.startDelay;m?M>0&&typeof window<"u"?setTimeout(this.typeAllLines.bind(this),M):this.typeAllLines():this.onTypingDone()}},{key:"shouldComponentUpdate",value:function(a,m){if(m.textLines.length!==this.state.textLines.length)return!0;for(var M=0;M<m.textLines.length;M++){var C=this.state.textLines[M],F=m.textLines[M];if(C!==F)return!0}return this.state.isDone!==m.isDone}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"typeAllLines",value:function(){var a=this,m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.linesToType;return l.eachPromise(m,this.typeLine).then(function(){return a.onTypingDone()})}},{key:"render",value:function(){var a=this.props,m=a.className,M=a.cursor,C=this.state.isDone,F=l.cloneElementWithSpecifiedText({element:this.props.children,textLines:this.state.textLines});return r.default.createElement("div",{className:"Typist "+m},F,r.default.createElement(z.default,y({isDone:C},M)))}}]),u})(S.Component);W.propTypes={children:p.default.node,className:p.default.string,avgTypingDelay:p.default.number,stdTypingDelay:p.default.number,startDelay:p.default.number,cursor:p.default.object,onCharacterTyped:p.default.func,onLineTyped:p.default.func,onTypingDone:p.default.func,delayGenerator:p.default.func},W.defaultProps={className:"",avgTypingDelay:70,stdTypingDelay:25,startDelay:0,cursor:{},onCharacterTyped:function(){},onLineTyped:function(){},onTypingDone:function(){},delayGenerator:l.gaussianRnd},f.default=W,W.Backspace=H.default,W.Delay=h.default}),(function(x,f){x.exports=ue()}),(function(x,f,s){x.exports=s(9)()}),(function(x,f,s){var y=s(4),j=s(5),S=s(6),r=s(7),d=s(8);x.exports=function(p,E){var z=typeof Symbol=="function"&&Symbol.iterator,B="@@
1iterator";function H(t){var i=t&&(z&&t[z]||t[B]);if(typeof i=="function")return i}var w="<<anonymous>>",h={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),symbol:o("symbol"),any:v(),arrayOf:g,element:A(),instanceOf:I,node:T(),objectOf:c,oneOf:W,oneOfType:u,shape:a};function L(t,i){return t===i?t!==0||1/t===1/i:t!==t&&i!==i}function l(t){this.message=t,this.stack=""}l.prototype=Error.prototype;function n(t){function i(N,b,R,D,P,O,_){return D=D||w,O=O||R,_!==r&&E&&j(!1,"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"),b[R]==null?N?b[R]===null?new l("The "+P+" `"+O+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new l("The "+P+" `"+O+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:t(b,R,D,P,O)}var k=i.bind(null,!1);return k.isRequired=i.bind(null,!0),k}function o(t){function i(k,N,b,R,D,P){var O=k[N],_=C(O);if(_!==t){var q=F(O);return new l("Invalid "+R+" `"+D+"` of type "+("`"+q+"` supplied to `"+b+"`, expected ")+("`"+t+"`."))}return null}return n(i)}function v(){return n(y.thatReturnsNull)}function g(t){function i(k,N,b,R,D){if(typeof t!="function")return new l("Property `"+D+"` of component `"+b+"` has invalid PropType notation inside arrayOf.");var P=k[N];if(!Array.isArray(P)){var O=C(P);return new l("Invalid "+R+" `"+D+"` of type "+("`"+O+"` supplied to `"+b+"`, expected an array."))}for(var _=0;_<P.length;_++){var q=t(P,_,b,R,D+"["+_+"]",r);if(q instanceof Error)return q}return null}return n(i)}function A(){function t(i,k,N,b,R){var D=i[k];if(!p(D)){var P=C(D);return new l("Invalid "+b+" `"+R+"` of type "+("`"+P+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return n(t)}function I(t){function i(k,N,b,R,D){if(!(k[N]instanceof t)){var P=t.name||w,O=Y(k[N]);return new l("Invalid "+R+" `"+D+"` of type "+("`"+O+"` supplied to `"+b+"`, expected ")+("instance of `"+P+"`."))}return null}return n(i)}function W(t){if(!Array.isArray(t))return y.thatReturnsNull;function i(k,N,b,R,D){for(var P=k[N],O=0;O<t.length;O++)if(L(P,t[O]))return null;var _=JSON.stringify(t);return new l("Invalid "+R+" `"+D+"` of value `"+P+"` "+("supplied to `"+b+"`, expected one of "+_+"."))}return n(i)}function c(t){function i(k,N,b,R,D){if(typeof t!="function")return new l("Property `"+D+"` of component `"+b+"` has invalid PropType notation inside objectOf.");var P=k[N],O=C(P);if(O!=="object")return new l("Invalid "+R+" `"+D+"` of type "+("`"+O+"` supplied to `"+b+"`, expected an object."));for(var _ in P)if(P.hasOwnProperty(_)){var q=t(P,_,b,R,D+"."+_,r);if(q instanceof Error)return q}return null}return n(i)}function u(t){if(!Array.isArray(t))return y.thatReturnsNull;for(var i=0;i<t.length;i++){var k=t[i];if(typeof k!="function")return S(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",J(k),i),y.thatReturnsNull}function N(b,R,D,P,O){for(var _=0;_<t.length;_++){var q=t[_];if(q(b,R,D,P,O,r)==null)return null}return new l("Invalid "+P+" `"+O+"` supplied to "+("`"+D+"`."))}return n(N)}function T(){function t(i,k,N,b,R){return m(i[k])?null:new l("Invalid "+b+" `"+R+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return n(t)}function a(t){function i(k,N,b,R,D){var P=k[N],O=C(P);if(O!=="object")return new l("Invalid "+R+" `"+D+"` of type `"+O+"` "+("supplied to `"+b+"`, expected `object`."));for(var _ in t){var q=t[_];if(q){var ee=q(P,_,b,R,D+"."+_,r);if(ee)return ee}}return null}return n(i)}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(t===null||p(t))return!0;var i=H(t);if(i){var k=i.call(t),N;if(i!==t.entries){for(;!(N=k.next()).done;)if(!m(N.value))return!1}else for(;!(N=k.next()).done;){var b=N.value;if(b&&!m(b[1]))return!1}}else return!1;return!0;default:return!1}}function M(t,i){return t==="symbol"||i["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&i instanceof Symbol}function C(t){var i=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":M(i,t)?"symbol":i}function F(t){if(typeof t>"u"||t===null)return""+t;var i=C(t);if(i==="object"){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return i}function J(t){var i=F(t);switch(i){case"array":case"object":return"an "+i;case"boolean":case"date":case"regexp":return"a "+i;default:return i}}function Y(t){return!t.constructor||!t.constructor.name?w:t.constructor.name}return h.checkPropTypes=d,h.PropTypes=h,h}}),(function(x,f){function s(j){return function(){return j}}var y=function(){};y.thatReturns=s,y.thatReturnsFalse=s(!1),y.thatReturnsTrue=s(!0),y.thatReturnsNull=s(null),y.thatReturnsThis=function(){return this},y.thatReturnsArgument=function(j){return j},x.exports=y}),(function(x,f){function s(y,j,S,r,d,p,E,z){if(!y){var B;if(j===void 0)B=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var H=[S,r,d,p,E,z],w=0;B=new Error(j.replace(/%s/g,function(){return H[w++]})),B.name="Invariant Violation"}throw B.framesToPop=1,B}}x.exports=s}),(function(x,f,s){var y=s(4),j=y;x.exports=j}),(function(x,f){var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";x.exports=s}),(function(x,f,s){function y(j,S,r,d,p){}x.exports=y}),(function(x,f,s){var y=s(4),j=s(5),S=s(7);x.exports=function(){function r(E,z,B,H,w,h){h!==S&&j(!1,"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")}r.isRequired=r;function d(){return r}var p={array:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:d,element:r,instanceOf:d,node:r,objectOf:d,oneOf:d,oneOfType:d,shape:d};return p.checkPropTypes=y,p.PropTypes=p,p}}
1),(function(x,f,s){Object.defineProperty(f,"__esModule",{value:!0});var y=(function(){function w(h,L){for(var l=0;l<L.length;l++){var n=L[l];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}return function(h,L,l){return L&&w(h.prototype,L),l&&w(h,l),h}})(),j=s(1),S=p(j),r=s(2),d=p(r);s(11);function p(w){return w&&w.__esModule?w:{default:w}}function E(w,h){if(!(w instanceof h))throw new TypeError("Cannot call a class as a function")}function z(w,h){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:w}function B(w,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);w.prototype=Object.create(h&&h.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(w,h):w.__proto__=h)}var H=(function(w){B(h,w);function h(L){E(this,h);var l=z(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,L));return l._isReRenderingCursor=!1,l.state={shouldRender:l.props.show},l}return y(h,[{key:"componentWillReceiveProps",value:function(l){var n=this,o=!this.props.isDone&&l.isDone&&this.props.hideWhenDone;o&&setTimeout(function(){return n.setState({shouldRender:!1})},this.props.hideWhenDoneDelay)}},{key:"componentDidUpdate",value:function(){var l=this.props,n=l.show,o=l.isDone;n&&(o||this._isReRenderingCursor||this._reRenderCursor())}},{key:"_reRenderCursor",value:function(){var l=this;this._isReRenderingCursor=!0,this.setState({shouldRender:!1},function(){l.setState({shouldRender:!0},function(){l._isReRenderingCursor=!1})})}},{key:"render",value:function(){if(this.state.shouldRender){var l=this.props.blink?" Cursor--blinking":"";return S.default.createElement("span",{className:"Cursor"+l},this.props.element)}return null}}]),h})(j.Component);H.propTypes={blink:d.default.bool,show:d.default.bool,element:d.default.node,hideWhenDone:d.default.bool,hideWhenDoneDelay:d.default.number,isDone:d.default.bool},H.defaultProps={blink:!0,show:!0,element:"|",hideWhenDone:!1,hideWhenDoneDelay:1e3,isDone:!1},f.default=H}),(function(x,f){}),(function(x,f,s){Object.defineProperty(f,"__esModule",{value:!0});var y=s(1),j=d(y),S=s(2),r=d(S);function d(E){return E&&E.__esModule?E:{default:E}}var p=function(){return j.default.createElement("noscript",null)};p.componentName="Backspace",p.propTypes={count:r.default.number,delay:r.default.number},p.defaultProps={count:1,delay:0},f.default=p}),(function(x,f,s){Object.defineProperty(f,"__esModule",{value:!0});var y=s(1),j=d(y),S=s(2),r=d(S);function d(E){return E&&E.__esModule?E:{default:E}}var p=function(){return j.default.createElement("noscript",null)};p.componentName="Delay",p.propTypes={ms:r.default.number.isRequired},f.default=p}),(function(x,f,s){Object.defineProperty(f,"__esModule",{value:!0}),f.sleep=void 0;var y=(function(){function n(o,v){var g=[],A=!0,I=!1,W=void 0;try{for(var c=o[Symbol.iterator](),u;!(A=(u=c.next()).done)&&(g.push(u.value),!(v&&g.length===v));A=!0);}catch(T){I=!0,W=T}finally{try{!A&&c.return&&c.return()}finally{if(I)throw W}}return g}return function(o,v){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return n(o,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();f.gaussianRnd=p,f.eachPromise=E,f.exclude=z,f.isBackspaceElement=B,f.isDelayElement=H,f.extractTextFromElement=w,f.cloneElement=h,f.cloneElementWithSpecifiedText=l;var j=s(1),S=r(j);function r(n){return n&&n.__esModule?n:{default:n}}function d(n){if(Array.isArray(n)){for(var o=0,v=Array(n.length);o<n.length;o++)v[o]=n[o];return v}else return Array.from(n)}f.sleep=function(o){return new Promise(function(v){return o!=null?setTimeout(v,o):v()})};function p(n,o){for(var v=12,g=0,A=0;A<v;A++)g+=Math.random();return g-=v/2,Math.round(g*o)+n}function E(n,o){for(var v=arguments.length,g=Array(v>2?v-2:0),A=2;A<v;A++)g[A-2]=arguments[A];var I=function(c,u,T){return c.then(function(){return o.apply(void 0,[u,T].concat(g))})};return Array.from(n).reduce(I,Promise.resolve())}function z(n,o){var v={};for(var g in n)o.indexOf(g)===-1&&(v[g]=n[g]);return v}function B(n){return n&&n.type&&n.type.componentName==="Backspace"}function H(n){return n&&n.type&&n.type.componentName==="Delay"}function w(n){for(var o=n?[n]:[],v=[];o.length>0;){var g=o.pop();if(S.default.isValidElement(g))B(g)||H(g)?v.unshift(g):S.default.Children.forEac
1h(g.props.children,function(a){o.push(a)});else if(Array.isArray(g)){var A=!0,I=!1,W=void 0;try{for(var c=g[Symbol.iterator](),u;!(A=(u=c.next()).done);A=!0){var T=u.value;o.push(T)}}catch(a){I=!0,W=a}finally{try{!A&&c.return&&c.return()}finally{if(I)throw W}}}else v.unshift(g)}return v}function h(n,o){var v=n.type,g=z(n.props,["children"]),A=new Date().getUTCMilliseconds(),I=A+Math.random()+Math.random();return g.key="Typist-element-"+v+"-"+I,S.default.createElement.apply(S.default,[v,g].concat(d(o)))}function L(n,o,v){if(v>=o.length)return[null,v];var g=v,A=function(T){var a=L(T,o,g),m=y(a,2),M=m[0],C=m[1];return g=C,M},I=S.default.isValidElement(n)&&!(B(n)||H(n));if(I){var W=S.default.Children.map(n.props.children,A)||[];return[h(n,W),g]}if(Array.isArray(n)){var c=n.map(A);return[c,g]}return[o[g],g+1]}function l(n){var o=n.element,v=n.textLines;if(o)return L(o,v,0)[0]}})])})(Z)),Z.exports}var ye=pe();const V=de(ye);function ve({texts:$}){const[x,f]=ne.useState(0),s=()=>{x>=$.length-1?f(0):f(x+1)};return e.jsxs(V,{className:"typist",typeSpeed:60,backSpeed:40,startDelay:500,backDelay:1e3,onTypingDone:()=>s(),children:[$[x],e.jsx(V.Delay,{ms:500}),e.jsx(V.Backspace,{count:$[x].length,delay:500})]},x)}const ge="NIKHIL BHATT",be=["Full Stack Developer !! ","Programmer !! ","Open Source Contributor !! ","Tech Blogger !! ","Devops Engineer !! ","Chess Enthusiastic !! "],xe="Iâm a software engineer building useful stuff on the web with Ruby on Rails and React. Exploring and documenting my tech journey",je=[{title:"Frontend",technologies:["HTML","CSS","Javascript","React"]},{title:"Middleware / Devops",technologies:["Mysql","Git","Github","Docker","Chef"]},{title:"Backend",technologies:["C","C++","Ruby","RubyOnRails"]}],Te=[{title:"Mastering Multi Tenancy",date:"17 December 2023",summary:"Setting up multi tenant app with rails",link:"https://www.elitmus.com/blog/technology/mastering-multi-tenant-setup-with-rails-part-1",slug:"mastering-multi-tenant-setup-with-rails-part-1"},{title:"Puma Daemonization",date:"21 October 2023",summary:"Daemonizing puma using systemctl and monit",link:"https://www.elitmus.com/blog/technology/puma-from-daemonization-to-process-control-with-systemctl-and-monit/",slug:"puma-from-daemonization-to-process-control-with-systemctl-and-monit"},{title:"Mysql Deadlocks",summary:"Debuggin and fixing mysql deadlock issue",date:"12 June 2023",link:"https://www.elitmus.com/blog/technology/debugging-and-fixing-mysql-deadlock-issue/",slug:"debugging-and-fixing-mysql-deadlock-issue"}],U={name:ge,typistAnimationText:be,description:xe,skills:je,blogs:Te};function Pe(){ne.useEffect(()=>{fe("home")},[]);const $=r=>{const d=document.getElementById(r);d&&d.scrollIntoView({behavior:"smooth"})},x=he.projects.filter(r=>r.displayHome===!0).slice(0,3),f=U.blogs.slice(0,3),s=U.skills.slice(0,6),y=({project:r,index:d})=>e.jsx("div",{className:"col-lg-4 col-md-6 mb-4 animate-fade-in",style:{animationDelay:`${d*.1}s`},children:e.jsxs("div",{className:"card project-card h-100 glass-effect",children:[e.jsxs("div",{className:"card-img-wrapper",children:[e.jsx("img",{src:r.img||"https://avatars.githubusercontent.com/u/9919?s=200&v=4",alt:r.name,className:"card-img-top",loading:"lazy"}),e.jsx("div",{className:"card-img-overlay d-flex align-items-end",children:e.jsxs("div",{className:"card-actions",children:[r.link&&e.jsxs("a",{href:r.link,target:"_blank",rel:"noopener noreferrer",className:"btn btn-primary btn-sm me-2",children:[e.jsx(G,{icon:le,className:"me-1"}),"View"]}
1),r.github&&e.jsxs("a",{href:r.github,target:"_blank",rel:"noopener noreferrer",className:"btn btn-outline-light btn-sm",children:[e.jsx(G,{icon:X,className:"me-1"}),"Code"]})]})})]}),e.jsxs("div",{className:"card-body",children:[e.jsx("h5",{className:"card-title text-gradient",children:r.name}),e.jsx("p",{className:"card-text text-secondary",children:r.description}),e.jsxs("div",{className:"project-tech",children:[r.technologies&&r.technologies.slice(0,3).map((p,E)=>e.jsx("span",{className:"tech-badge",children:p},E)),r.technologies&&r.technologies.length>3&&e.jsxs("span",{className:"tech-badge",children:["+",r.technologies.length-3]})]})]})]})}),j=({blog:r,index:d})=>e.jsx("div",{className:"col-md-4 mb-4 animate-fade-in",style:{animationDelay:`${d*.15}s`},children:e.jsx("div",{className:"card blog-card h-100",children:e.jsxs("div",{className:"card-body",children:[e.jsx("div",{className:"blog-meta mb-3",children:e.jsxs("span",{className:"blog-date",children:[e.jsx(G,{icon:ce,className:"me-2"}),r.date]})}),e.jsx("h5",{className:"card-title",children:e.jsx(K,{to:`/blogs/${r.slug}`,className:"blog-title",children:r.title})}),e.jsx("p",{className:"card-text text-secondary",children:r.description}),e.jsxs(K,{to:`/blogs/${r.slug}`,className:"btn btn-outline-primary btn-sm",children:["Read More ",e.jsx(G,{icon:Q,className:"ms-1"})]})]})})}),S=({skill:r,index:d})=>e.jsx("div",{className:"col-lg-4 col-md-6 mb-4 animate-fade-in",style:{animationDelay:`${d*.1}s`},children:e.jsx("div",{className:"card skill-card h-100 text-center",children:e.jsxs("div",{className:"card-body",children:[e.jsx("div",{className:"skill-icon mb-3",children:e.jsx("div",{className:"skill-icon-circle",children:e.jsx(G,{icon:r.icon||X,size:"2x"})})}),e.jsx("h5",{className:"card-title mb-3",children:r.title}),e.jsx("div",{className:"skill-tech",children:r.technologies.map((p,E)=>e.jsx("span",{className:"tech-badge",children:p},E))})]})})});return e.jsxs(e.Fragment,{children:[e.jsx(me,{page:"home"}),e.jsxs("section",{className:"hero-section",role:"banner","aria-labelledby":"hero-title",children:[e.jsx("div",{className:"hero-background",children:e.jsx("div",{className:"hero-overlay"})}),e.jsx("div",{className:"hero-content",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"row align-items-center min-vh-100",children:[e.jsx("div",{className:"col-lg-6",children:e.jsxs("div",{className:"hero-text animate-slide-up",children:[e.jsx("p",{className:"hero-greeting",id:"hero-greeting",children:"HEY THERE! ð"}),e.jsxs("h1",{className:"hero-title",id:"hero-title",children:["I AM ",e.jsx("span",{className:"text-gradient",children:U.name})]}),e.jsx("div",{className:"hero-typist mb-4",role:"text","aria-live":"polite",children:e.jsx(ve,{texts:U.typistAnimationText})}),e.jsx("p",{className:"hero-description",id:"hero-description",children:U.description}),e.jsxs("div",{className:"hero-cta mt-5",children:[e.jsx("button",{className:"btn btn-primary btn-lg me-3",onClick:()=>$("featured-projects"),"aria-describedby":"view-work-desc",children:"View My Work"}),e.jsx("span",{id:"view-work-desc",className:"sr-only",children:"Scroll down to see featured projects section"}),e.jsx("button",{className:"btn btn-outline-primary btn-lg",onClick:()=>$("contact"),"aria-describedby":"contact-desc",children:"Get In Touch"}),e.jsx("span",{id:"contact-desc",className:"sr-only",children:"Scroll down to contact section"})]}),e.jsxs("div",{className:"hero-social mt-5",role:"list","aria-label":"Social media links",children:[e.jsx("a",{href:U.social&&U.social.github,target:"_blank",rel:"noopener noreferrer",className:"social-link me-3","aria-label":"Visit my GitHub profile",role:"listitem",children:e.jsx(G,{icon:X,size:"lg"})}),e.jsx("a",{href:U.social&&U.social.linkedin,target:"_blank",rel:"noopener noreferrer",className:"social-link me-3","aria-label":"Visit my LinkedIn profile",role:"listitem",children:e.jsx(G,{icon:re,size:"lg"})}),e.jsx("a",{href:U.social&&U.social.twitter,target:"_blank",rel:"noopener noreferrer",className:"social-link me-3","aria-label":"Visit my Twitter profile",role:"listitem",children:e.jsx(G,{icon:ae,size:"lg"})}),e.jsx("a",{href:U.social&&U.social.stackoverflow,target:"_blank",rel:"noopener noreferrer",className:"social-link","aria-label":"Visit my Stack Overflow profile",role:"listitem",children:e.jsx(G,{icon:ie,size:"lg"})})]})]})}),e.jsx("div",{className:"col-lg-6",children:e.jsx("div",{className:"hero-image animate-fade-in",children:e.jsxs("div",{className:"hero-avatar",children:[e.jsx("img",{src:"/profile.jpg",alt:"Professional headshot of Nikhil Bhatt, Full Stack Developer",className:"avatar-image",loading:"eager"}),e.jsx("div",{className:"avatar-glow"})]})})})]})})})]}),e.jsx("section",{id:"featured-projects",className:"section-padding","aria-labelledby":"projects-title",children:e.jsxs("div",{className:"container",children:[e.jsxs("div",{className:"section-header text-center mb-5",children:[e.jsx("h2",{className:"section-title",id:"projects-title",children:"Featured Projects"}),e.jsx("p",{className:"section-subtitle",children:"Here are some of my recent projects that showcase my skills and passion for development"})]}),e.jsx("div",{className:"row",role:"list","aria-label":"Featured projects",children:x.map((r,d)=>e.jsx(y,{project:r,index:d},d))}),e.jsx("div",{className:"text-center mt-4",children:e.jsxs(K,{to:"/projects",className:"btn btn-outline-primary","aria-label":"View all projects",children:["View All Projects ",e.jsx(G,{icon:Q,className:"ms-2"})]})})]})}),e.jsx("section",{className:"section-padding bg-tertiary","aria-labelledby":"blogs-title",children:e.jsxs("div",{className:"container",children:[e.jsxs("div",{className:"section-header text-center mb-5",children:[e.jsx("h2",{className:"section-title",id:"blogs-title",children:"Latest Blog Posts"}),e.jsx("p",{className:"section-subtitle",children:"Thoughts, tutorials, and insights on web development and technology"})]}),e.jsx("div",{className:"row",role:"list","aria-label":"Latest blog posts",children:f.map((r,d)=>e.jsx(j,{blog:r,index:d},d))}),e.jsx("div",{className:"text-center mt-4",children:e.jsxs(K,{to:"/blogs",className:"btn btn-primary","aria-label":"Read more blog posts",children:["Read More Posts ",e.jsx(G,{icon:Q,className:"ms-2"})]})})]})}),e.jsx("section",{className:"section-padding","aria-labelledby":"skills-title",children:e.jsxs("div",{className:"container",children:[e.jsxs("div",{className:"section-header text-center mb-5",children:[e.jsx("h2",{className:"section-title",id:"skills-title",children:"Skills & Technologies"}),e.jsx("p",{className:"section-subtitle",children:"The tools and technologies I use to bring ideas to life"})]}),e.jsx("div",{className:"row",role:"list","aria-label":"Technical skills",children:s.map((r,d)=>e.jsx(S,{skill:r,index:d},d))})]})}),e.jsx("section",{className:"section-padding bg-tertiary","aria-labelledby":"about-title",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"row align-items-center",children:[e.jsxs("div",{className:"col-lg-6",children:[e.jsx("h2",{className:"section-title mb-4",id:"about-title",children:"Beyond Code"}),e.jsx("p",{className:"mb-4",children:"When I'm not coding, you'll find me playing chess, reading books, solving puzzles, or exploring new technologies. I love to dig deep dive into tech problems"}),e.jsxs("div",{className:"hobbies",role:"list","aria-label":"Personal interests",children:[e.jsx("div",{className:"hobby-item mb-3",children:e.jsxs(K,{to:"https://www.chess.com/member/nikhil-bhatt",target:"_blank",className:"text-decoration-none","aria-label":"Visit my Chess.com profile",children:[e.jsx(G,{icon:se,className:"me-2 text-primary","aria-hidden":"true"}),e.jsx("span",{children:"Playing Chess"})]})}),e.jsxs("div",{className:"hobby-item",children:[e.jsx(G,{icon:oe,className:"me-2 text-primary","aria-hidden":"true"}),e.jsx("span",{children:"Reading Books"})]})]})]}),e.jsx("div",{className:"col-lg-6",children:e.jsxs("div",{className:"stats-grid",role:"list","aria-label":"Career statistics",children:[e.jsxs("div",{className:"stat-item text-center",children:[e.jsx("div",{className:"stat-number","aria-label":"Over 50 projects completed",children:"50+"}),e.jsx("div",{className:"stat-label",children:"Projects"})]}),e.jsxs("div",{className:"stat-item text-center",children:[e.jsx("div",{className:"stat-number","aria-label":"Over 5 years of experience",children:"5+"}),e.jsx("div",{className:"stat-label",children:"Years Experience"})]}),e.jsxs("div",{className:"stat-item text-center",children:[e.jsx("div",{className:"stat-number","aria-label":"Over 20 blog posts written",children:"20+"}),e.jsx("div",{className:"stat-label",children:"Blog Posts"})]})]})})]})})}),e.jsx("section",{className:"section-padding","aria-labelledby":"
1cta-title",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"cta-section text-center",children:[e.jsx("h2",{className:"section-title mb-4",id:"cta-title",children:"Let's Work Together"}),e.jsx("p",{className:"section-subtitle mb-5",children:"Have a project in mind or want to discuss opportunities? I'd love to hear from you."}),e.jsxs("div",{className:"cta-buttons",children:[e.jsx(K,{to:"/contact",className:"btn btn-primary btn-lg me-3","aria-label":"Navigate to contact page",children:"Get In Touch"}),e.jsx("a",{href:"/resume.pdf",target:"_blank",className:"btn btn-outline-primary btn-lg","aria-label":"Download my resume (PDF)",rel:"noopener noreferrer",children:"Download Resume"})]})]})})})]})}export{Pe as default}; 2//# sourceMappingURL=Home-CO-iCwg8.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.