a-propos
: Affiche les informations me concernant","clear
: Nettoie le terminal","experiences
: Affiche la liste de mes expériences","get cv
: Télécharge le CV","help
: Affiche l\'aide","hobby
: Affiche la liste de mes passes temps","projets-perso
: Affiche la liste de mes projets personnels","dark/light
: Change le thème de la page","Vous pouvez utiliser la touche TAB afin de compléter une commande","Vous pouvez retrouver les anciennes commandes avec les flèches haut et bas."]},{"command":"a-propos","responseType":"code","value":["{"," \\"nom\\" : \\"Gregory Lebreton\\","," \\"poste\\" : \\"Formateur Devops\\","," \\"experience\\" : \\"6\\","," \\"ville\\" : \\"Paris, France\\"","}"]},{"command":"experiences","responseType":"table","headers":["Date","Client","Description","Tech"],"rows":[["maintenanthelp
command to display a list of available commands.");else if("list"===n.responseType&&Array.isArray(n.value))s="".concat(n.value.join("\n"),""));return s}(m),_&&(_.innerHTML=f,h.push(m),v(i.target.id))}}else if(9===i.keyCode){if(i.preventDefault(),""===m)this.value="help";else{var g=a.find((function(e){return e.startsWith(m)}));g&&(this.value=g)}d=!1}else 38!==i.keyCode&&40!==i.keyCode||(h.length>0&&(!1===d?l=h.length-1:38===i.keyCode&&0!==l?l--:40===i.keyCode&&l!==h.length-1&&l++,this.value=h[l]),d=!0)}window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&o(!0),document.body.addEventListener("click",(function(e){"INPUT"!==e.target.tagName&&document.querySelector("input[data-active]").focus()})),document.querySelector(".fake-close").addEventListener("click",(function(e){var t=document.querySelector(".terminal");t.parentElement.removeChild(t)}))}(); +//# sourceMappingURL=index.5c78f897.js.map diff --git a/dist/index.5c78f897.js.map b/dist/index.5c78f897.js.map new file mode 100644 index 0000000..3a39a4e --- /dev/null +++ b/dist/index.5c78f897.js.map @@ -0,0 +1 @@ +{"mappings":"mEAAAA,EAAiBC,KAAKC,MAAM,+pECC5B,IAAIC,EAAS,aAGHC,EAAKC,EAAQC,EAAQC,EAAUC,GACvC,IAAIC,KACFJ,EAAOK,QACPL,EAAOM,MACPN,EAAOO,SACPP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,IACRkX,EAAQ,qBAAkDnP,OAA9B+R,EAAQ,wBAA8B/R,OAARgS,EAAQ,wBAC7B,SAA5BX,EAAWK,eACpBvC,EAAQ,QAAmCnP,OAA5BqR,EAAWnO,MAAMjL,KAAK,MAAM,WAI/C,OAAOkX,EA6DM+C,CAAiB3B,GAEtBM,IACFA,EAAWM,UAAYhC,EACvBR,EAAgBjN,KAAK6O,GACrBxB,EAAW7W,EAAEsY,OAAOjZ,WAGnB,GAAkB,IAAdW,EAAEyY,QAAe,CAG1B,GADAzY,EAAEgW,iBACmB,KAAjBqC,EACF5N,KAAKO,MAAQ,WACR,CACL,IAAMiP,EAAkBjF,EAAaoE,MAAK,SAAC9M,GACzC,OAAAA,EAAE4N,WAAW7B,MAEX4B,IACFxP,KAAKO,MAAQiP,GAGjBvD,GAAc,OACS,KAAd1W,EAAEyY,SAAgC,KAAdzY,EAAEyY,UAG3BhC,EAAgBnT,OAAS,KACP,IAAhBoT,EACFC,EAAeF,EAAgBnT,OAAS,EAEtB,KAAdtD,EAAEyY,SAAmC,IAAjB9B,EAEtBA,IAEc,KAAd3W,EAAEyY,SACF9B,IAAiBF,EAAgBnT,OAAS,GAE1CqT,IAGJlM,KAAKO,MAAQyL,EAAgBE,IAE/BD,GAAc,GAzId9L,OAAOnC,YAAcmC,OAAOnC,WAAW,gCAAgCC,SACzEqC,GAAY,GA0LdlH,SAASmG,KAAK7I,iBAAiB,SAAS,SAAUnB,GACvB,UAArBA,EAAEsY,OAAO6B,SACStW,SAASgS,cAAc,sBAC/BuC,WAIhBvU,SAASgS,cAAc,eAAe1U,iBAAiB,SAAS,SAAUnB,GACxE,IAAMoa,EAAavW,SAASgS,cAAc,aAC1CuE,EAAWC,cAAchQ,YAAY+P","sources":["src/resources/commands.json","node_modules/canvas-confetti/dist/confetti.module.mjs","src/custom-comands.js","node_modules/fireworks-js/dist/fireworks.js","src/app.js","src/draggable.js"],"sourcesContent":["[\n {\n \"command\":\"help\",\n \"responseType\":\"list\",\n \"value\":[\n \"
a-propos
: Affiche les informations me concernant\",\n \"clear
: Nettoie le terminal\",\n \"experiences
: Affiche la liste de mes expériences\",\n \"get cv
: Télécharge le CV\",\n \"help
: Affiche l'aide\",\n \"hobby
: Affiche la liste de mes passes temps\",\n \"projets-perso
: Affiche la liste de mes projets personnels\",\n \"dark/light
: Change le thème de la page\",\n \"Vous pouvez utiliser la touche TAB afin de compléter une commande\",\n \"Vous pouvez retrouver les anciennes commandes avec les flèches haut et bas.\"\n ]\n },\n {\n \"command\":\"a-propos\",\n \"responseType\":\"code\",\n \"value\":[\n \"{\",\n \" \\\"nom\\\" : \\\"Gregory Lebreton\\\",\",\n \" \\\"poste\\\" : \\\"Formateur Devops\\\",\",\n \" \\\"experience\\\" : \\\"6\\\",\",\n \" \\\"ville\\\" : \\\"Paris, France\\\"\",\n \"}\"\n ]\n },\n {\n \"command\":\"experiences\",\n \"responseType\":\"table\",\n \"headers\":[\n \"Date\",\n \"Client\",\n \"Description\",\n \"Tech\"\n ],\n \"rows\":[\n [\n \"maintenanthelp
command to display a list of available commands.`;\n } else {\n if (commandObj.responseType === \"list\" && Array.isArray(commandObj.value)) {\n html = \"${commandObj.value.join(\"\\n\")}`;\n }\n }\n\n return html;\n}\n\n/**\n * Adds a new command input line and disables the previous one.\n * @param {string|null} previousUid uid de la ligne précédente.\n */\nfunction addNewLine(previousUid = null) {\n const uid = Math.random().toString(36).replace(\"0.\", \"\");\n // terminal__line\n const terminalLineEl = document.createElement(\"div\");\n terminalLineEl.classList.add(\"terminal__line\");\n\n // terminal__response\n const terminalResponseEl = document.createElement(\"div\");\n terminalResponseEl.classList.add(\"terminal__response\");\n terminalResponseEl.id = `response-${uid}`;\n\n // input text\n const inputEl = document.createElement(\"input\");\n inputEl.type = \"text\";\n inputEl.id = `input-${uid}`;\n inputEl.autocapitalize = \"off\";\n inputEl.dataset.uid = uid;\n inputEl.dataset.active = \"1\"; // Needed for focus\n inputEl.addEventListener(\"keydown\", onCommandInput);\n\n terminalLineEl.appendChild(inputEl);\n if (previousUid) {\n const previousInputEl = document.getElementById(previousUid);\n if (previousInputEl) {\n previousInputEl.setAttribute(\"disabled\", \"true\");\n previousInputEl.removeEventListener(\"keydown\", onCommandInput);\n delete previousInputEl.dataset.active;\n }\n }\n document.getElementById(\"terminal\").appendChild(terminalLineEl);\n document.getElementById(\"terminal\").appendChild(terminalResponseEl);\n\n inputEl.focus(); // Adds the focus as soon as the field is created\n}\n\n/**\n * Manages the keydown on the command input.\n * @param e\n */\nfunction onCommandInput(e) {\n const commandValue = e.target.value.trim().toLowerCase();\n if (e.keyCode === 13) {\n // ENTER\n if (commandValue !== \"\") {\n historyMode = false;\n const idResponse = `response-${e.target.dataset.uid}`;\n const responseEl = document.getElementById(idResponse);\n let html;\n if (\n hiddenCommands.includes(commandValue) ||\n customCommands.includes(commandValue)\n ) {\n html = handleCustomCommands(commandValue);\n } else {\n html = getDomForCommand(commandValue);\n }\n if (responseEl) {\n responseEl.innerHTML = html;\n commandsHistory.push(commandValue);\n addNewLine(e.target.id);\n }\n }\n } else if (e.keyCode === 9) {\n // TAB\n e.preventDefault();\n if (commandValue === \"\") {\n this.value = \"help\";\n } else {\n const matchingCommand = commandsList.find((c) =>\n c.startsWith(commandValue)\n );\n if (matchingCommand) {\n this.value = matchingCommand;\n }\n }\n historyMode = false;\n } else if (e.keyCode === 38 || e.keyCode === 40) {\n // UP / DOWN\n // History management\n if (commandsHistory.length > 0) {\n if (historyMode === false) {\n historyIndex = commandsHistory.length - 1;\n } else {\n if (e.keyCode === 38 && historyIndex !== 0) {\n // UP\n historyIndex--;\n } else if (\n e.keyCode === 40 &&\n historyIndex !== commandsHistory.length - 1\n ) {\n historyIndex++;\n }\n }\n this.value = commandsHistory[historyIndex];\n }\n historyMode = true;\n }\n}\n\n/**\n * Allows to manage hidden commands (not proposed in the autocompletion)\n * @param {string} command\n * @returns {string|void} Html to be displayed in the response of the command\n */\nfunction handleCustomCommands(command) {\n switch (command) {\n case \"pif\":\n pif();\n return \"Let's go !\";\n case \"light\":\n if (!document.body.classList.contains(\"dark-mode\"))\n return \"You are already in light mode.\";\n setDarkMode(false);\n return \"Your are now in light mode.\";\n case \"dark\":\n if (document.body.classList.contains(\"dark-mode\"))\n return \"You are already in dark mode.\";\n setDarkMode(true);\n return \"You are now in dark mode.\";\n case \"get cv\":\n getCV();\n return \"The CV will be downloaded.\";\n case \"rm -rf /\":\n rmRf();\n return \"🎆\";\n case \"clear\":\n terminalBody.innerHTML = ``;\n return;\n }\n}\n\n/**\n * Convert HTML to DOM object\n * @param html\n * @returns {DocumentFragment}\n */\nfunction stringToDom(html) {\n return document.createRange().createContextualFragment(html);\n}\n\n// ------------------------------------------------------------------------------------\n// EVENT LISTENNER\n// ------------------------------------------------------------------------------------\n\n// Added focus on the input even if you click on the body (to keep the cursor)\ndocument.body.addEventListener(\"click\", function (e) {\n if (e.target.tagName !== \"INPUT\") {\n const activeInput = document.querySelector(\"input[data-active]\");\n activeInput.focus();\n }\n});\n\ndocument.querySelector(\".fake-close\").addEventListener(\"click\", function (e) {\n const terminalEl = document.querySelector(\".terminal\");\n terminalEl.parentElement.removeChild(terminalEl);\n});\n","export function dragElement(elmnt) {\n var pos1 = 0,\n pos2 = 0,\n pos3 = 0,\n pos4 = 0;\n const element = document.querySelector(\".terminal__header\");\n if (element) {\n // if present, the header is where you move the DIV from:\n element.onmousedown = dragMouseDown;\n } else {\n // otherwise, move the DIV from anywhere inside the DIV:\n elmnt.onmousedown = dragMouseDown;\n }\n\n function dragMouseDown(e) {\n e = e || window.event;\n e.preventDefault();\n // get the mouse cursor position at startup:\n pos3 = e.clientX;\n pos4 = e.clientY;\n document.onmouseup = closeDragElement;\n // call a function whenever the cursor moves:\n document.onmousemove = elementDrag;\n }\n\n function elementDrag(e) {\n e = e || window.event;\n e.preventDefault();\n // calculate the new cursor position:\n pos1 = pos3 - e.clientX;\n pos2 = pos4 - e.clientY;\n pos3 = e.clientX;\n pos4 = e.clientY;\n // set the element's new position:\n elmnt.style.top = elmnt.offsetTop - pos2 + \"px\";\n elmnt.style.left = elmnt.offsetLeft - pos1 + \"px\";\n }\n\n function closeDragElement() {\n // stop moving when mouse button is released:\n document.onmouseup = null;\n document.onmousemove = null;\n }\n}\n"],"names":["$d92092a09195f7d1$exports","JSON","parse","$34c903c393c5d006$var$module","main","global","module","isWorker","workerSize","canUseWorker","Worker","Blob","Promise","OffscreenCanvas","OffscreenCanvasRenderingContext2D","HTMLCanvasElement","prototype","transferControlToOffscreen","URL","createObjectURL","noop","promise","func","ModulePromise","exports","Prom","frame","cancel","TIME","frames","lastFrameTime","worker","prom","resolves","defaultFire","raf","Math","floor","requestAnimationFrame","cancelAnimationFrame","cb","id","random","onFrame","time","setTimeout","timer","clearTimeout","getWorker","code","toString","join","e","console","warn","execute","options","callback","postMessage","init","canvas","offscreen","fire","size","done","slice","resolve","workerDone","msg","data","removeEventListener","addEventListener","bind","reset","decorate","defaults","particleCount","angle","spread","startVelocity","decay","gravity","drift","ticks","x","y","shapes","zIndex","colors","disableForReducedMotion","scalar","prop","name","transform","val","convert","onlyPositiveInt","number","toDecimal","str","parseInt","colorsToRgb","map","hexToRgb","String","replace","length","r","substring","g","b","setCanvasWindowSize","width","document","documentElement","clientWidth","height","clientHeight","setCanvasRectSize","rect","getBoundingClientRect","animate","fettis","resizer","animationFrame","destroy","animatingFettis","context","getContext","onDone","clearRect","update","filter","fetti","cos","angle2D","velocity","sin","wobble","wobbleSpeed","tiltAngle","tiltSin","tiltCos","wobbleX","wobbleY","progress","tick","totalTicks","x1","y1","x2","y2","fillStyle","color","beginPath","shape","ellipse","abs","ovalScalar","PI","radiusX","radiusY","rotation","startAngle","endAngle","antiClockwise","save","translate","rotate","scale","arc","restore","moveTo","lineTo","closePath","fill","updateFetti","addFettis","concat","confettiCannon","globalOpts","animationObj","isLibCanvas","allowResize","globalDisableForReducedMotion","Boolean","initialized","__confetti_initialized","preferLessMotion","matchMedia","matches","fireLocal","opts","radAngle","radSpread","min","max","Number","origin","Object","getOrigin","temp","startX","startY","push","createElement","style","position","top","left","pointerEvents","getCanvas","body","appendChild","onResize","obj","resize","removeChild","getDefaultFire","useWorker","apply","this","arguments","create","window","self","$34c903c393c5d006$export$2e2bcd8739ae039","$f36443a0b7a43964$export$faf76607d863714d","value","classList","add","remove","t","i","$96ebb6bf3d64fea6$exports","define","amd","s","t1","defineProperty","Explosion","ctx","h","hue","n","exp","o","a","friction","brightness","c","explosionLength","_","_coordinates","_alpha","_x","_y","_exp","_ctx","_gravity","_friction","_explosionLength","_angle","randomFloat","_speed","randomInt","_hue","_brightness","_decay","pop","unshift","draw","hsla","strokeStyle","stroke","getDistance","pow","sqrt","__awaiter","next","throw","then","Sound","_buffer","onInit","_audioContext","AudioContext","webkitAudioContext","assign","enabled","files","volume","load","fetch","arrayBuffer","decodeAudioData","catch","play","createBufferSource","createGain","buffer","gain","connect","destination","start","Trace","dx","dy","speed","traceLength","acceleration","_currentDistance","_sx","_sy","_dx","_dy","_traceLength","_acceleration","_totalDistance","atan2","call","t2","Fireworks","autoresize","boundaries","delay","mouse","sound","trace","explosion","d","u","opacity","l","particles","p","rocketsPoint","m","v","_tick","_version","_running","_randomRocketsPoint","_experimentals","_m","_container","_canvas","_sound","setSize","setBoundaries","visible","click","move","windowResize","mouseDown","mouseUp","mouseMove","isRunning","version","clear","render","stop","unmount","pause","_traces","_explosions","_width","_height","setOptions","entries","hasOwnProperty","Error","useMouse","_mx","pageX","offsetLeft","_my","pageY","offsetTop","globalCompositeOperation","fillRect","drawBoundaries","initTrace","drawTrace","drawExplosion","_ds","initExplosion","splice","$02a59f831d44c109$var$commandsList","$parcel$interopDefault","forEach","command","$02a59f831d44c109$var$customCommands","$02a59f831d44c109$var$hiddenCommands","innerWidth","elmnt","pos1","pos2","pos3","pos4","element","querySelector","dragMouseDown","event","preventDefault","clientX","clientY","onmouseup","closeDragElement","onmousemove","elementDrag","onmousedown","$83df960a9e28805f$export$69374dc2b307e4","$02a59f831d44c109$var$commandsHistory","$02a59f831d44c109$var$historyMode","$02a59f831d44c109$var$historyIndex","$02a59f831d44c109$var$terminalBody","$02a59f831d44c109$var$addNewLine","Date","getMonth","htmlFlakes","html","append","createRange","createContextualFragment","$02a59f831d44c109$var$stringToDom","param","previousUid","uid","terminalLineEl","terminalResponseEl","inputEl","type","autocapitalize","dataset","active","$02a59f831d44c109$var$onCommandInput","previousInputEl","getElementById","setAttribute","focus","commandValue","target","trim","toLowerCase","keyCode","idResponse","responseEl","includes","particleRatio","$f36443a0b7a43964$export$6de48e3f8be72096","contains","href","innerHTML","$02a59f831d44c109$var$handleCustomCommands","commandObj","find","el","undefined","split","responseType","Array","isArray","headers","rows","thsHtml","tdsHtml","rtd","$02a59f831d44c109$var$getDomForCommand","matchingCommand","startsWith","tagName","terminalEl","parentElement"],"version":3,"file":"index.5c78f897.js.map"} \ No newline at end of file diff --git a/dist/index.777834ac.css b/dist/index.777834ac.css new file mode 100644 index 0000000..9d7c1d7 --- /dev/null +++ b/dist/index.777834ac.css @@ -0,0 +1,2 @@ +:root{--text-color:#fff;--text-accent-color:#e9967a;--link-color:#ff8c00;--bg-1:#f27121;--bg-2:#e94057;--bg-3:#8a2387;--bg-1-social:#f3a183;--bg-2-social:#ec6f66;--username-color:#5f9ea0;--terminal-bg:rgba(56,4,40,0.9);--terminal-header-bg:#bbb}body{align-items:center;background:var(--bg-3);background:-webkit-linear-gradient(to right,var(--bg-1),var(--bg-2),var(--bg-3));background:linear-gradient(to right,var(--bg-1),var(--bg-2),var(--bg-3));box-sizing:border-box;display:flex;flex-direction:column;height:100vh;justify-content:space-around;margin:0}body.dark-mode{--text-accent-color:#ffca85;--link-color:#deb887;--bg-1:#211f20;--bg-2:#292d34;--bg-3:#213030;--bg-1-social:#414141;--bg-2-social:#485461;--username-color:#858585;--terminal-bg:rgb(0 0 0/90%);--terminal-header-bg:#585252}body.dark-mode.firework{--terminal-bg:rgb(0 0 0/15%)}ul{margin:0}.terminal{height:450px;overflow:hidden;position:absolute;resize:both;width:min(900px,90vw)}.terminal .terminal__header{background-color:var(--terminal-header-bg);border-top-left-radius:5px;border-top-right-radius:5px;cursor:move;height:25px;margin:0 auto;padding:0 8px}.terminal .terminal__header .fake-button{border:1px solid #000;border-radius:50%;cursor:pointer;display:inline-block;height:10px;left:6px;position:relative;top:6px;width:10px}.terminal .terminal__header .fake-button.fake-close{background-color:#ff3b47;border-color:#9d252b;left:6px}.terminal .terminal__header .fake-button.fake-minimize{background-color:#ffc100;border-color:#9d802c;left:11px}.terminal .terminal__header .fake-button.fake-zoom{background-color:#00d742;border-color:#049931;left:16px}.terminal .terminal__body{background:var(--terminal-bg);border-bottom-left-radius:5px;border-bottom-right-radius:5px;box-shadow:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1),inset 0 0 0 1px hsla(0,0%,100%,.05);color:var(--text-color);font-family:Ubuntu Mono,monospace;height:calc(100% - 41px);overflow-x:hidden;overflow-y:scroll;padding:8px}.terminal .terminal__body code{color:var(--text-accent-color);font-size:14px}.terminal .terminal__body .terminal__banner{color:var(--text-color);display:flex;flex-direction:column;justify-content:center}.terminal .terminal__body .terminal__banner .terminal__author{text-align:right}.terminal .terminal__body .terminal__line{margin-bottom:8px}.terminal .terminal__body .terminal__line:before{color:var(--username-color);content:"Greg LEBRETON ~$ "}.terminal .terminal__body .terminal__line input[type=text]{background:none;border:none;color:var(--text-color);font-family:Ubuntu Mono,monospace;font-size:15px;outline:none;width:calc(100% - 150px)}.terminal .terminal__body .terminal__response{margin:8px 0 16px}.terminal .terminal__body .terminal__response table{border:1px dashed;padding:4px;width:100%}.terminal .terminal__body .terminal__response table a{color:#ff8c00;text-decoration:none}.terminal .terminal__body .terminal__response table thead th{border-bottom:1px solid #fff;color:#5f9ea0;font-weight:400;padding-bottom:4px}.terminal .terminal__body .terminal__response table tbody td{padding:4px}.terminal .terminal__body .terminal__response table tbody tr:not(:last-child) td{border-bottom:1px solid #fff}.socials{bottom:16px;display:flex;gap:16px;position:absolute;right:16px}.socials a{background:var(--bg-2-social);background:-webkit-linear-gradient(to left,var(--bg-1-social),var(--bg-2-social));background:linear-gradient(to left,var(--bg-1-social),var(--bg-2-social));border-radius:50%}.socials a,.socials a:hover{align-items:center;box-shadow:0 2px 8px 0 rgba(99,99,99,.2);display:flex;height:4em;justify-content:center;text-decoration:none;width:4em}.socials a:hover{background:var(--bg-2-social);background:-webkit-linear-gradient(to right,var(--bg-1-social),var(--bg-2-social));background:linear-gradient(to right,var(--bg-1-social),var(--bg-2-social))}.socials a i{color:#fff;font-size:2em}#banner-github{position:absolute;right:0;top:0}@media (max-width:880px){.terminal .terminal__body .terminal__banner pre{font-size:10px}}@media (max-width:640px){body{align-items:center;flex-direction:column;justify-content:space-evenly}canvas{bottom:0;left:0;position:fixed;right:0;top:0;z-index:-1}.terminal{height:unset;position:unset;resize:none;width:unset}.terminal .terminal__body{height:70vh;max-width:unset;width:90vw}.terminal .terminal__body .terminal__banner pre{font-size:5px}.socials{bottom:unset;font-size:13px;position:relative;right:unset}#banner-github img{height:100px;width:100px}#version{font-size:13px;right:38px;top:38px}}.snowflake{color:#fff;font-family:Arial,sans-serif;font-size:1em;text-shadow:0 0 5px #000}@-webkit-keyframes snowflakes-fall{0%{top:-10%}to{top:100%}}@-webkit-keyframes snowflakes-shake{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}}@keyframes snowflakes-fall{0%{top:-10%}to{top:100%}}@keyframes snowflakes-shake{0%,to{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{-webkit-animation-duration:10s,3s;animation-duration:10s,3s;-webkit-animation-iteration-count:infinite,infinite;animation-iteration-count:infinite,infinite;-webkit-animation-name:snowflakes-fall,snowflakes-shake;animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-play-state:running,running;animation-play-state:running,running;-webkit-animation-timing-function:linear,ease-in-out;animation-timing-function:linear,ease-in-out;cursor:default;position:fixed;top:-10%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:9999}.snowflake:nth-of-type(0){-webkit-animation-delay:0s,0s;animation-delay:0s,0s;left:1%}.snowflake:first-of-type{-webkit-animation-delay:1s,1s;animation-delay:1s,1s;left:10%}.snowflake:nth-of-type(2){-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s;left:20%}.snowflake:nth-of-type(3){-webkit-animation-delay:4s,2s;animation-delay:4s,2s;left:30%}.snowflake:nth-of-type(4){-webkit-animation-delay:2s,2s;animation-delay:2s,2s;left:40%}.snowflake:nth-of-type(5){-webkit-animation-delay:8s,3s;animation-delay:8s,3s;left:50%}.snowflake:nth-of-type(6){-webkit-animation-delay:6s,2s;animation-delay:6s,2s;left:60%}.snowflake:nth-of-type(7){-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s;left:70%}.snowflake:nth-of-type(8){-webkit-animation-delay:1s,0s;animation-delay:1s,0s;left:80%}.snowflake:nth-of-type(9){-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s;left:90%}.snowflake:nth-of-type(10){-webkit-animation-delay:2s,0s;animation-delay:2s,0s;left:25%}.snowflake:nth-of-type(11){-webkit-animation-delay:4s,2.5s;animation-delay:4s,2.5s;left:65%} +/*# sourceMappingURL=index.777834ac.css.map */ diff --git a/dist/index.777834ac.css.map b/dist/index.777834ac.css.map new file mode 100644 index 0000000..c74d2e6 --- /dev/null +++ b/dist/index.777834ac.css.map @@ -0,0 +1 @@ +{"mappings":"AAEA,MACE,iBAAA,CACA,2BAAA,CACA,oBAAA,CACA,cAAA,CACA,cAAA,CACA,cAAA,CACA,qBAAA,CACA,qBAAA,CACA,wBAAA,CACA,+BAAA,CACA,yBCDF,CDIA,KAoBE,kBAAA,CAGA,sBAAA,CACA,gFAAA,CAMA,wEAAA,CAdA,qBAAA,CAEA,YAAA,CAGA,qBAAA,CACA,YAAA,CAHA,4BAAA,CAFA,QCLF,CDXE,eACI,2BAAA,CACA,oBAAA,CACA,cAAA,CACA,cAA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6BAAA,CACA,qBAAA,CAFA,QDmQF,CC9PA,0BAEE,8BAAA,CACA,sBAAA,CAFA,QDmQF,CC9PA,0BAEE,6BAAA,CACA,qBAAA,CAFA,QDmQF,CC9PA,0BAEE,6BAAA,CACA,qBAAA,CAFA,QDmQF,CC9PA,0BAEE,6BAAA,CACA,qBAAA,CAFA,QDmQF,CC9PA,0BAEE,6BAAA,CACA,qBAAA,CAFA,QDmQF,CC9PA,0BAEE,+BAAA,CACA,uBAAA,CAFA,QDmQF,CC9PA,0BAEE,6BAAA,CACA,qBAAA,CAFA,QDmQF,CC9PA,0BAEE,+BAAA,CACA,uBAAA,CAFA,QDmQF,CC9PA,2BAEE,6BAAA,CACA,qBAAA,CAFA,QDmQF,CC9PA,2BAEE,+BAAA,CACA,uBAAA,CAFA,QDmQF","sources":["src/scss/style.scss","%3Cinput%20css%209zLUgg%3E","src/scss/_snowflakes.scss"],"sourcesContent":["$border-radius: 5px;\n\n:root {\n --text-color: #fff;\n --text-accent-color: darksalmon;\n --link-color: darkorange;\n --bg-1: #f27121;\n --bg-2: #e94057;\n --bg-3: #8a2387;\n --bg-1-social: #f3a183;\n --bg-2-social: #ec6f66;\n --username-color: cadetblue;\n --terminal-bg: rgba(56, 4, 40, 0.9);\n --terminal-header-bg: #bbb;\n}\n\nbody {\n &.dark-mode {\n --text-accent-color: #ffca85;\n --link-color: burlywood;\n --bg-1: #211F20;\n --bg-2: #292D34;\n --bg-3: #213030;\n --bg-1-social: #414141;\n --bg-2-social: #485461;\n --username-color: #858585;\n --terminal-bg: rgb(0 0 0 / 90%);\n --terminal-header-bg: #585252;\n &.firework {\n --terminal-bg: rgb(0 0 0 / 15%);\n }\n }\n box-sizing: border-box;\n margin: 0;\n display: flex;\n justify-content: space-around;\n align-items: center;\n flex-direction: column;\n height: 100vh;\n background: var(--bg-3); /* fallback for old browsers */\n background: -webkit-linear-gradient(\n to right,\n var(--bg-1),\n var(--bg-2),\n var(--bg-3)\n ); /* Chrome 10-25, Safari 5.1-6 */\n background: linear-gradient(\n to right,\n var(--bg-1),\n var(--bg-2),\n var(--bg-3)\n ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */\n}\n\nul {\n margin: 0;\n}\n\n.terminal {\n position: absolute;\n resize: both;\n overflow: hidden;\n height: 450px;\n width: min(900px, 90vw);\n\n .terminal__header {\n height: 25px;\n padding: 0 8px;\n background-color: var(--terminal-header-bg);\n margin: 0 auto;\n border-top-right-radius: $border-radius;\n border-top-left-radius: $border-radius;\n cursor: move;\n\n .fake-button {\n height: 10px;\n width: 10px;\n border-radius: 50%;\n border: 1px solid #000;\n position: relative;\n top: 6px;\n left: 6px;\n display: inline-block;\n cursor: pointer;\n\n &.fake-close {\n left: 6px;\n background-color: #ff3b47;\n border-color: #9d252b;\n }\n\n &.fake-minimize {\n left: 11px;\n background-color: #ffc100;\n border-color: #9d802c;\n }\n\n &.fake-zoom {\n left: 16px;\n background-color: #00d742;\n border-color: #049931;\n }\n }\n }\n\n .terminal__body {\n font-family: \"Ubuntu Mono\", monospace;\n background: var(--terminal-bg);\n color: var(--text-color);\n padding: 8px;\n overflow-y: scroll;\n overflow-x: hidden;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,\n rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,\n rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;\n border-bottom-right-radius: $border-radius;\n border-bottom-left-radius: $border-radius;\n height: calc(100% - 41px);\n\n code {\n color: var(--text-accent-color);\n font-size: 14px;\n }\n\n .terminal__banner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n color: var(--text-color);\n\n .terminal__author {\n text-align: right;\n }\n }\n\n .terminal__line {\n margin-bottom: 8px;\n\n &::before {\n content: \"Greg LEBRETON ~$ \";\n color: var(--username-color);\n }\n\n input[type=\"text\"] {\n background: none;\n border: none;\n font-family: \"Ubuntu Mono\", monospace;\n color: var(--text-color);\n outline: none;\n font-size: 15px;\n width: calc(100% - 150px);\n }\n }\n\n .terminal__response {\n margin: 8px 0 16px 0;\n\n table {\n border: 1px dashed;\n padding: 4px;\n width: 100%;\n\n a {\n text-decoration: none;\n color: darkorange;\n }\n\n thead {\n th {\n font-weight: normal;\n color: cadetblue;\n border-bottom: 1px solid white;\n padding-bottom: 4px;\n }\n }\n\n tbody {\n td {\n padding: 4px;\n }\n\n tr:not(:last-child) {\n td {\n border-bottom: 1px solid white;\n }\n }\n }\n }\n }\n }\n}\n\n.socials {\n position: absolute;\n right: 16px;\n bottom: 16px;\n display: flex;\n gap: 16px;\n\n a {\n border-radius: 50%;\n background: var(--bg-2-social); /* fallback for old browsers */\n background: -webkit-linear-gradient(\n to left,\n var(--bg-1-social),\n var(--bg-2-social)\n ); /* Chrome 10-25, Safari 5.1-6 */\n background: linear-gradient(\n to left,\n var(--bg-1-social),\n var(--bg-2-social)\n ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */\n box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;\n width: 4em;\n height: 4em;\n display: flex;\n justify-content: center;\n align-items: center;\n text-decoration: none;\n &:hover {\n background: var(--bg-2-social); /* fallback for old browsers */\n background: -webkit-linear-gradient(\n to right,\n var(--bg-1-social),\n var(--bg-2-social)\n ); /* Chrome 10-25, Safari 5.1-6 */\n background: linear-gradient(\n to right,\n var(--bg-1-social),\n var(--bg-2-social)\n ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */\n box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;\n width: 4em;\n height: 4em;\n display: flex;\n justify-content: center;\n align-items: center;\n text-decoration: none;\n }\n i {\n color: white;\n font-size: 2em;\n }\n }\n}\n\n#banner-github {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n@media (max-width: 880px) {\n .terminal .terminal__body {\n .terminal__banner {\n pre {\n font-size: 10px;\n }\n }\n }\n}\n\n@media (max-width: 640px) {\n body {\n align-items: center;\n flex-direction: column;\n justify-content: space-evenly;\n }\n canvas {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: -1;\n }\n\n .terminal {\n position: unset;\n width: unset;\n height: unset;\n resize: none;\n .terminal__body {\n max-width: unset;\n width: 90vw;\n height: 70vh;\n\n .terminal__banner {\n pre {\n font-size: 5px;\n }\n }\n }\n }\n .socials {\n font-size: 13px;\n position: relative;\n bottom: unset;\n right: unset;\n }\n #banner-github {\n img {\n width: 100px;\n height: 100px;\n }\n }\n #version {\n top: 38px;\n right: 38px;\n font-size: 13px;\n }\n}\n\n@import \"snowflakes\";\n",":root {\n --text-color: #fff;\n --text-accent-color: darksalmon;\n --link-color: darkorange;\n --bg-1: #f27121;\n --bg-2: #e94057;\n --bg-3: #8a2387;\n --bg-1-social: #f3a183;\n --bg-2-social: #ec6f66;\n --username-color: cadetblue;\n --terminal-bg: rgba(56, 4, 40, 0.9);\n --terminal-header-bg: #bbb;\n}\n\nbody {\n box-sizing: border-box;\n margin: 0;\n display: flex;\n justify-content: space-around;\n align-items: center;\n flex-direction: column;\n height: 100vh;\n background: var(--bg-3);\n /* fallback for old browsers */\n background: -webkit-linear-gradient(to right, var(--bg-1), var(--bg-2), var(--bg-3));\n /* Chrome 10-25, Safari 5.1-6 */\n background: linear-gradient(to right, var(--bg-1), var(--bg-2), var(--bg-3));\n /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */\n}\nbody.dark-mode {\n --text-accent-color: #ffca85;\n --link-color: burlywood;\n --bg-1: #211F20;\n --bg-2: #292D34;\n --bg-3: #213030;\n --bg-1-social: #414141;\n --bg-2-social: #485461;\n --username-color: #858585;\n --terminal-bg: rgb(0 0 0 / 90%);\n --terminal-header-bg: #585252;\n}\nbody.dark-mode.firework {\n --terminal-bg: rgb(0 0 0 / 15%);\n}\n\nul {\n margin: 0;\n}\n\n.terminal {\n position: absolute;\n resize: both;\n overflow: hidden;\n height: 450px;\n width: min(900px, 90vw);\n}\n.terminal .terminal__header {\n height: 25px;\n padding: 0 8px;\n background-color: var(--terminal-header-bg);\n margin: 0 auto;\n border-top-right-radius: 5px;\n border-top-left-radius: 5px;\n cursor: move;\n}\n.terminal .terminal__header .fake-button {\n height: 10px;\n width: 10px;\n border-radius: 50%;\n border: 1px solid #000;\n position: relative;\n top: 6px;\n left: 6px;\n display: inline-block;\n cursor: pointer;\n}\n.terminal .terminal__header .fake-button.fake-close {\n left: 6px;\n background-color: #ff3b47;\n border-color: #9d252b;\n}\n.terminal .terminal__header .fake-button.fake-minimize {\n left: 11px;\n background-color: #ffc100;\n border-color: #9d802c;\n}\n.terminal .terminal__header .fake-button.fake-zoom {\n left: 16px;\n background-color: #00d742;\n border-color: #049931;\n}\n.terminal .terminal__body {\n font-family: \"Ubuntu Mono\", monospace;\n background: var(--terminal-bg);\n color: var(--text-color);\n padding: 8px;\n overflow-y: scroll;\n overflow-x: hidden;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;\n border-bottom-right-radius: 5px;\n border-bottom-left-radius: 5px;\n height: calc(100% - 41px);\n}\n.terminal .terminal__body code {\n color: var(--text-accent-color);\n font-size: 14px;\n}\n.terminal .terminal__body .terminal__banner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n color: var(--text-color);\n}\n.terminal .terminal__body .terminal__banner .terminal__author {\n text-align: right;\n}\n.terminal .terminal__body .terminal__line {\n margin-bottom: 8px;\n}\n.terminal .terminal__body .terminal__line::before {\n content: \"Greg LEBRETON ~$ \";\n color: var(--username-color);\n}\n.terminal .terminal__body .terminal__line input[type=text] {\n background: none;\n border: none;\n font-family: \"Ubuntu Mono\", monospace;\n color: var(--text-color);\n outline: none;\n font-size: 15px;\n width: calc(100% - 150px);\n}\n.terminal .terminal__body .terminal__response {\n margin: 8px 0 16px 0;\n}\n.terminal .terminal__body .terminal__response table {\n border: 1px dashed;\n padding: 4px;\n width: 100%;\n}\n.terminal .terminal__body .terminal__response table a {\n text-decoration: none;\n color: darkorange;\n}\n.terminal .terminal__body .terminal__response table thead th {\n font-weight: normal;\n color: cadetblue;\n border-bottom: 1px solid white;\n padding-bottom: 4px;\n}\n.terminal .terminal__body .terminal__response table tbody td {\n padding: 4px;\n}\n.terminal .terminal__body .terminal__response table tbody tr:not(:last-child) td {\n border-bottom: 1px solid white;\n}\n\n.socials {\n position: absolute;\n right: 16px;\n bottom: 16px;\n display: flex;\n gap: 16px;\n}\n.socials a {\n border-radius: 50%;\n background: var(--bg-2-social);\n /* fallback for old browsers */\n background: -webkit-linear-gradient(to left, var(--bg-1-social), var(--bg-2-social));\n /* Chrome 10-25, Safari 5.1-6 */\n background: linear-gradient(to left, var(--bg-1-social), var(--bg-2-social));\n /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */\n box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;\n width: 4em;\n height: 4em;\n display: flex;\n justify-content: center;\n align-items: center;\n text-decoration: none;\n}\n.socials a:hover {\n background: var(--bg-2-social);\n /* fallback for old browsers */\n background: -webkit-linear-gradient(to right, var(--bg-1-social), var(--bg-2-social));\n /* Chrome 10-25, Safari 5.1-6 */\n background: linear-gradient(to right, var(--bg-1-social), var(--bg-2-social));\n /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */\n box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;\n width: 4em;\n height: 4em;\n display: flex;\n justify-content: center;\n align-items: center;\n text-decoration: none;\n}\n.socials a i {\n color: white;\n font-size: 2em;\n}\n\n#banner-github {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n@media (max-width: 880px) {\n .terminal .terminal__body .terminal__banner pre {\n font-size: 10px;\n }\n}\n@media (max-width: 640px) {\n body {\n align-items: center;\n flex-direction: column;\n justify-content: space-evenly;\n }\n\n canvas {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: -1;\n }\n\n .terminal {\n position: unset;\n width: unset;\n height: unset;\n resize: none;\n }\n .terminal .terminal__body {\n max-width: unset;\n width: 90vw;\n height: 70vh;\n }\n .terminal .terminal__body .terminal__banner pre {\n font-size: 5px;\n }\n\n .socials {\n font-size: 13px;\n position: relative;\n bottom: unset;\n right: unset;\n }\n\n #banner-github img {\n width: 100px;\n height: 100px;\n }\n\n #version {\n top: 38px;\n right: 38px;\n font-size: 13px;\n }\n}\n.snowflake {\n color: #fff;\n font-size: 1em;\n font-family: Arial, sans-serif;\n text-shadow: 0 0 5px #000;\n}\n\n@-webkit-keyframes snowflakes-fall {\n 0% {\n top: -10%;\n }\n 100% {\n top: 100%;\n }\n}\n@-webkit-keyframes snowflakes-shake {\n 0%, 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 50% {\n -webkit-transform: translateX(80px);\n transform: translateX(80px);\n }\n}\n@keyframes snowflakes-fall {\n 0% {\n top: -10%;\n }\n 100% {\n top: 100%;\n }\n}\n@keyframes snowflakes-shake {\n 0%, 100% {\n transform: translateX(0);\n }\n 50% {\n transform: translateX(80px);\n }\n}\n.snowflake {\n position: fixed;\n top: -10%;\n z-index: 9999;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: default;\n -webkit-animation-name: snowflakes-fall, snowflakes-shake;\n -webkit-animation-duration: 10s, 3s;\n -webkit-animation-timing-function: linear, ease-in-out;\n -webkit-animation-iteration-count: infinite, infinite;\n -webkit-animation-play-state: running, running;\n animation-name: snowflakes-fall, snowflakes-shake;\n animation-duration: 10s, 3s;\n animation-timing-function: linear, ease-in-out;\n animation-iteration-count: infinite, infinite;\n animation-play-state: running, running;\n}\n\n.snowflake:nth-of-type(0) {\n left: 1%;\n -webkit-animation-delay: 0s, 0s;\n animation-delay: 0s, 0s;\n}\n\n.snowflake:nth-of-type(1) {\n left: 10%;\n -webkit-animation-delay: 1s, 1s;\n animation-delay: 1s, 1s;\n}\n\n.snowflake:nth-of-type(2) {\n left: 20%;\n -webkit-animation-delay: 6s, 0.5s;\n animation-delay: 6s, 0.5s;\n}\n\n.snowflake:nth-of-type(3) {\n left: 30%;\n -webkit-animation-delay: 4s, 2s;\n animation-delay: 4s, 2s;\n}\n\n.snowflake:nth-of-type(4) {\n left: 40%;\n -webkit-animation-delay: 2s, 2s;\n animation-delay: 2s, 2s;\n}\n\n.snowflake:nth-of-type(5) {\n left: 50%;\n -webkit-animation-delay: 8s, 3s;\n animation-delay: 8s, 3s;\n}\n\n.snowflake:nth-of-type(6) {\n left: 60%;\n -webkit-animation-delay: 6s, 2s;\n animation-delay: 6s, 2s;\n}\n\n.snowflake:nth-of-type(7) {\n left: 70%;\n -webkit-animation-delay: 2.5s, 1s;\n animation-delay: 2.5s, 1s;\n}\n\n.snowflake:nth-of-type(8) {\n left: 80%;\n -webkit-animation-delay: 1s, 0s;\n animation-delay: 1s, 0s;\n}\n\n.snowflake:nth-of-type(9) {\n left: 90%;\n -webkit-animation-delay: 3s, 1.5s;\n animation-delay: 3s, 1.5s;\n}\n\n.snowflake:nth-of-type(10) {\n left: 25%;\n -webkit-animation-delay: 2s, 0s;\n animation-delay: 2s, 0s;\n}\n\n.snowflake:nth-of-type(11) {\n left: 65%;\n -webkit-animation-delay: 4s, 2.5s;\n animation-delay: 4s, 2.5s;\n}\n/*# sourceMappingURL=index.777834ac.css.map */\n",".snowflake {\n color: #fff;\n font-size: 1em;\n font-family: Arial, sans-serif;\n text-shadow: 0 0 5px #000;\n}\n\n@-webkit-keyframes snowflakes-fall {\n 0% {\n top: -10%\n }\n 100% {\n top: 100%\n }\n}\n\n@-webkit-keyframes snowflakes-shake {\n 0%, 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0)\n }\n 50% {\n -webkit-transform: translateX(80px);\n transform: translateX(80px)\n }\n}\n\n@keyframes snowflakes-fall {\n 0% {\n top: -10%\n }\n 100% {\n top: 100%\n }\n}\n\n@keyframes snowflakes-shake {\n 0%, 100% {\n transform: translateX(0)\n }\n 50% {\n transform: translateX(80px)\n }\n}\n\n.snowflake {\n position: fixed;\n top: -10%;\n z-index: 9999;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: default;\n -webkit-animation-name: snowflakes-fall, snowflakes-shake;\n -webkit-animation-duration: 10s, 3s;\n -webkit-animation-timing-function: linear, ease-in-out;\n -webkit-animation-iteration-count: infinite, infinite;\n -webkit-animation-play-state: running, running;\n animation-name: snowflakes-fall, snowflakes-shake;\n animation-duration: 10s, 3s;\n animation-timing-function: linear, ease-in-out;\n animation-iteration-count: infinite, infinite;\n animation-play-state: running, running\n}\n\n.snowflake:nth-of-type(0) {\n left: 1%;\n -webkit-animation-delay: 0s, 0s;\n animation-delay: 0s, 0s\n}\n\n.snowflake:nth-of-type(1) {\n left: 10%;\n -webkit-animation-delay: 1s, 1s;\n animation-delay: 1s, 1s\n}\n\n.snowflake:nth-of-type(2) {\n left: 20%;\n -webkit-animation-delay: 6s, .5s;\n animation-delay: 6s, .5s\n}\n\n.snowflake:nth-of-type(3) {\n left: 30%;\n -webkit-animation-delay: 4s, 2s;\n animation-delay: 4s, 2s\n}\n\n.snowflake:nth-of-type(4) {\n left: 40%;\n -webkit-animation-delay: 2s, 2s;\n animation-delay: 2s, 2s\n}\n\n.snowflake:nth-of-type(5) {\n left: 50%;\n -webkit-animation-delay: 8s, 3s;\n animation-delay: 8s, 3s\n}\n\n.snowflake:nth-of-type(6) {\n left: 60%;\n -webkit-animation-delay: 6s, 2s;\n animation-delay: 6s, 2s\n}\n\n.snowflake:nth-of-type(7) {\n left: 70%;\n -webkit-animation-delay: 2.5s, 1s;\n animation-delay: 2.5s, 1s\n}\n\n.snowflake:nth-of-type(8) {\n left: 80%;\n -webkit-animation-delay: 1s, 0s;\n animation-delay: 1s, 0s\n}\n\n.snowflake:nth-of-type(9) {\n left: 90%;\n -webkit-animation-delay: 3s, 1.5s;\n animation-delay: 3s, 1.5s\n}\n\n.snowflake:nth-of-type(10) {\n left: 25%;\n -webkit-animation-delay: 2s, 0s;\n animation-delay: 2s, 0s\n}\n\n.snowflake:nth-of-type(11) {\n left: 65%;\n -webkit-animation-delay: 4s, 2.5s;\n animation-delay: 4s, 2.5s\n}\n"],"names":[],"version":3,"file":"index.777834ac.css.map"} \ No newline at end of file diff --git a/dist/index.e1c8579d.js b/dist/index.e1c8579d.js new file mode 100644 index 0000000..bc5eae7 --- /dev/null +++ b/dist/index.e1c8579d.js @@ -0,0 +1,2 @@ +function e(e){return e&&e.__esModule?e.default:e}var t;t=JSON.parse('[{"command":"help","responseType":"list","value":["
a-propos
: Affiche les informations me concernant","clear
: Nettoie le terminal","experiences
: Affiche la liste de mes expériences","get cv
: Télécharge le CV","help
: Affiche l\'aide","hobby
: Affiche la liste de mes passes temps","projets-perso
: Affiche la liste de mes projets personnels","dark/light
: Change le thème de la page","Vous pouvez utiliser la touche TAB afin de compléter une commande","Vous pouvez retrouver les anciennes commandes avec les flèches haut et bas."]},{"command":"a-propos","responseType":"code","value":["{"," \\"nom\\" : \\"Gregory Lebreton\\","," \\"poste\\" : \\"Formateur Devops\\","," \\"experience\\" : \\"6\\","," \\"ville\\" : \\"Paris, France\\"","}"]},{"command":"experiences","responseType":"table","headers":["Date","Client","Description","Tech"],"rows":[["maintenanthelp
command to display a list of available commands.`;else if("list"===n.responseType&&Array.isArray(n.value))s="${e} | `)).join("")}
---|
${e} | `)).join("")}
${n.value.join("\n")}`);return s}(f),l&&(l.innerHTML=p,h.push(f),m(i.target.id))}}else if(9===i.keyCode){if(i.preventDefault(),""===f)this.value="help";else{const e=a.find((e=>e.startsWith(f)));e&&(this.value=e)}d=!1}else 38!==i.keyCode&&40!==i.keyCode||(h.length>0&&(!1===d?l=h.length-1:38===i.keyCode&&0!==l?l--:40===i.keyCode&&l!==h.length-1&&l++,this.value=h[l]),d=!0)}window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&o(!0),document.body.addEventListener("click",(function(e){if("INPUT"!==e.target.tagName){document.querySelector("input[data-active]").focus()}})),document.querySelector(".fake-close").addEventListener("click",(function(e){const t=document.querySelector(".terminal");t.parentElement.removeChild(t)})); +//# sourceMappingURL=index.e1c8579d.js.map diff --git a/dist/index.e1c8579d.js.map b/dist/index.e1c8579d.js.map new file mode 100644 index 0000000..807b042 --- /dev/null +++ b/dist/index.e1c8579d.js.map @@ -0,0 +1 @@ +{"mappings":"uDAAAA,EAAiBC,KAAKC,MAAM,+pECC5B,IAAIC,EAAS,aAGHC,EAAKC,EAAQC,EAAQC,EAAUC,GACvC,IAAIC,KACFJ,EAAOK,QACPL,EAAOM,MACPN,EAAOO,SACPP,EAAOQ,iBACPR,EAAOS,mCACPT,EAAOU,mBACPV,EAAOU,kBAAkBC,UAAUC,4BACnCZ,EAAOa,KACPb,EAAOa,IAAIC,0BAEJC,cAIAC,EAAQC,GACf,IAAIC,EAAgBjB,EAAOkB,QAAQZ,QAC/Ba,OAAyB,IAAlBF,EAA2BA,EAAgBlB,EAAOO,QAE7D,MAAoB,mBAATa,EACF,IAAIA,EAAKH,IAGlBA,EAAKF,EAAMA,GAEJ,MAGT,IAEMM,EAAOC,EADPC,EAEAC,EACAC,EAqCAC,EACAC,EACAC,EA4fFC,EAviBAC,GACEP,EAAOQ,KAAKC,MAAM,IAAO,IAEzBR,EAAS,GACTC,EAAgB,EAEiB,mBAA1BQ,uBAAwE,mBAAzBC,sBACxDb,EAAQ,SAAUc,GAChB,IAAIC,EAAKL,KAAKM,SAad,OAXAb,EAAOY,GAAMH,uBAAsB,SAASK,EAAQC,GAC9Cd,IAAkBc,GAAQd,EAAgBF,EAAO,EAAIgB,GACvDd,EAAgBc,SACTf,EAAOY,GAEdD,KAEAX,EAAOY,GAAMH,sBAAsBK,MAIhCF,GAETd,EAAS,SAAUc,GACbZ,EAAOY,IACTF,qBAAqBV,EAAOY,OAIhCf,EAAQ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S,SAAUnB,GACxE,MAAMka,EAAarW,SAASgS,cAAc,aAC1CqE,EAAWC,cAAc9P,YAAY6P","sources":["src/resources/commands.json","node_modules/canvas-confetti/dist/confetti.module.mjs","src/custom-comands.js","node_modules/fireworks-js/dist/fireworks.js","src/app.js","src/draggable.js"],"sourcesContent":["[\n {\n \"command\":\"help\",\n \"responseType\":\"list\",\n \"value\":[\n \"
a-propos
: Affiche les informations me concernant\",\n \"clear
: Nettoie le terminal\",\n \"experiences
: Affiche la liste de mes expériences\",\n \"get cv
: Télécharge le CV\",\n \"help
: Affiche l'aide\",\n \"hobby
: Affiche la liste de mes passes temps\",\n \"projets-perso
: Affiche la liste de mes projets personnels\",\n \"dark/light
: Change le thème de la page\",\n \"Vous pouvez utiliser la touche TAB afin de compléter une commande\",\n \"Vous pouvez retrouver les anciennes commandes avec les flèches haut et bas.\"\n ]\n },\n {\n \"command\":\"a-propos\",\n \"responseType\":\"code\",\n \"value\":[\n \"{\",\n \" \\\"nom\\\" : \\\"Gregory Lebreton\\\",\",\n \" \\\"poste\\\" : \\\"Formateur Devops\\\",\",\n \" \\\"experience\\\" : \\\"6\\\",\",\n \" \\\"ville\\\" : \\\"Paris, France\\\"\",\n \"}\"\n ]\n },\n {\n \"command\":\"experiences\",\n \"responseType\":\"table\",\n \"headers\":[\n \"Date\",\n \"Client\",\n \"Description\",\n \"Tech\"\n ],\n \"rows\":[\n [\n \"maintenanthelp
command to display a list of available commands.`;\n } else {\n if (commandObj.responseType === \"list\" && Array.isArray(commandObj.value)) {\n html = \"${commandObj.value.join(\"\\n\")}`;\n }\n }\n\n return html;\n}\n\n/**\n * Adds a new command input line and disables the previous one.\n * @param {string|null} previousUid uid de la ligne précédente.\n */\nfunction addNewLine(previousUid = null) {\n const uid = Math.random().toString(36).replace(\"0.\", \"\");\n // terminal__line\n const terminalLineEl = document.createElement(\"div\");\n terminalLineEl.classList.add(\"terminal__line\");\n\n // terminal__response\n const terminalResponseEl = document.createElement(\"div\");\n terminalResponseEl.classList.add(\"terminal__response\");\n terminalResponseEl.id = `response-${uid}`;\n\n // input text\n const inputEl = document.createElement(\"input\");\n inputEl.type = \"text\";\n inputEl.id = `input-${uid}`;\n inputEl.autocapitalize = \"off\";\n inputEl.dataset.uid = uid;\n inputEl.dataset.active = \"1\"; // Needed for focus\n inputEl.addEventListener(\"keydown\", onCommandInput);\n\n terminalLineEl.appendChild(inputEl);\n if (previousUid) {\n const previousInputEl = document.getElementById(previousUid);\n if (previousInputEl) {\n previousInputEl.setAttribute(\"disabled\", \"true\");\n previousInputEl.removeEventListener(\"keydown\", onCommandInput);\n delete previousInputEl.dataset.active;\n }\n }\n document.getElementById(\"terminal\").appendChild(terminalLineEl);\n document.getElementById(\"terminal\").appendChild(terminalResponseEl);\n\n inputEl.focus(); // Adds the focus as soon as the field is created\n}\n\n/**\n * Manages the keydown on the command input.\n * @param e\n */\nfunction onCommandInput(e) {\n const commandValue = e.target.value.trim().toLowerCase();\n if (e.keyCode === 13) {\n // ENTER\n if (commandValue !== \"\") {\n historyMode = false;\n const idResponse = `response-${e.target.dataset.uid}`;\n const responseEl = document.getElementById(idResponse);\n let html;\n if (\n hiddenCommands.includes(commandValue) ||\n customCommands.includes(commandValue)\n ) {\n html = handleCustomCommands(commandValue);\n } else {\n html = getDomForCommand(commandValue);\n }\n if (responseEl) {\n responseEl.innerHTML = html;\n commandsHistory.push(commandValue);\n addNewLine(e.target.id);\n }\n }\n } else if (e.keyCode === 9) {\n // TAB\n e.preventDefault();\n if (commandValue === \"\") {\n this.value = \"help\";\n } else {\n const matchingCommand = commandsList.find((c) =>\n c.startsWith(commandValue)\n );\n if (matchingCommand) {\n this.value = matchingCommand;\n }\n }\n historyMode = false;\n } else if (e.keyCode === 38 || e.keyCode === 40) {\n // UP / DOWN\n // History management\n if (commandsHistory.length > 0) {\n if (historyMode === false) {\n historyIndex = commandsHistory.length - 1;\n } else {\n if (e.keyCode === 38 && historyIndex !== 0) {\n // UP\n historyIndex--;\n } else if (\n e.keyCode === 40 &&\n historyIndex !== commandsHistory.length - 1\n ) {\n historyIndex++;\n }\n }\n this.value = commandsHistory[historyIndex];\n }\n historyMode = true;\n }\n}\n\n/**\n * Allows to manage hidden commands (not proposed in the autocompletion)\n * @param {string} command\n * @returns {string|void} Html to be displayed in the response of the command\n */\nfunction handleCustomCommands(command) {\n switch (command) {\n case \"pif\":\n pif();\n return \"Let's go !\";\n case \"light\":\n if (!document.body.classList.contains(\"dark-mode\"))\n return \"You are already in light mode.\";\n setDarkMode(false);\n return \"Your are now in light mode.\";\n case \"dark\":\n if (document.body.classList.contains(\"dark-mode\"))\n return \"You are already in dark mode.\";\n setDarkMode(true);\n return \"You are now in dark mode.\";\n case \"get cv\":\n getCV();\n return \"The CV will be downloaded.\";\n case \"rm -rf /\":\n rmRf();\n return \"🎆\";\n case \"clear\":\n terminalBody.innerHTML = ``;\n return;\n }\n}\n\n/**\n * Convert HTML to DOM object\n * @param html\n * @returns {DocumentFragment}\n */\nfunction stringToDom(html) {\n return document.createRange().createContextualFragment(html);\n}\n\n// ------------------------------------------------------------------------------------\n// EVENT LISTENNER\n// ------------------------------------------------------------------------------------\n\n// Added focus on the input even if you click on the body (to keep the cursor)\ndocument.body.addEventListener(\"click\", function (e) {\n if (e.target.tagName !== \"INPUT\") {\n const activeInput = document.querySelector(\"input[data-active]\");\n activeInput.focus();\n }\n});\n\ndocument.querySelector(\".fake-close\").addEventListener(\"click\", function (e) {\n const terminalEl = document.querySelector(\".terminal\");\n terminalEl.parentElement.removeChild(terminalEl);\n});\n","export function dragElement(elmnt) {\n var pos1 = 0,\n pos2 = 0,\n pos3 = 0,\n pos4 = 0;\n const element = document.querySelector(\".terminal__header\");\n if (element) {\n // if present, the header is where you move the DIV from:\n element.onmousedown = dragMouseDown;\n } else {\n // otherwise, move the DIV from anywhere inside the DIV:\n elmnt.onmousedown = dragMouseDown;\n }\n\n function dragMouseDown(e) {\n e = e || window.event;\n e.preventDefault();\n // get the mouse cursor position at startup:\n pos3 = e.clientX;\n pos4 = e.clientY;\n document.onmouseup = closeDragElement;\n // call a function whenever the cursor moves:\n document.onmousemove = elementDrag;\n }\n\n function elementDrag(e) {\n e = e || window.event;\n e.preventDefault();\n // calculate the new cursor position:\n pos1 = pos3 - e.clientX;\n pos2 = pos4 - e.clientY;\n pos3 = e.clientX;\n pos4 = e.clientY;\n // set the element's new position:\n elmnt.style.top = elmnt.offsetTop - pos2 + \"px\";\n elmnt.style.left = elmnt.offsetLeft - pos1 + \"px\";\n }\n\n function closeDragElement() {\n // stop moving when mouse button is released:\n document.onmouseup = null;\n document.onmousemove = null;\n }\n}\n"],"names":["$d8a01dcfa0a5762f$exports","JSON","parse","$eebc2c287dcd06b1$var$module","main","global","module","isWorker","workerSize","canUseWorker","Worker","Blob","Promise","OffscreenCanvas","OffscreenCanvasRenderingContext2D","HTMLCanvasElement","prototype","transferControlToOffscreen","URL","createObjectURL","noop","promise","func","ModulePromise","exports","Prom","frame","cancel","TIME","frames","lastFrameTime","worker","prom","resolves","defaultFire","raf","Math","floor","requestAnimationFrame","cancelAnimationFrame","cb","id","random","onFrame","time","setTimeout","timer","clearTimeout","getWorker","code","toString","join","e","console","warn","execute","options","callback","postMessage","init","canvas","offscreen","fire","size","done","slice","resolve","workerDone","msg","data","removeEventListener","addEventListener","bind","reset","decorate","defaults","particleCount","angle","spread","startVelocity","decay","gravity","drift","ticks","x","y","shapes","zIndex","colors","disableForReducedMotion","scalar","prop","name","transform","val","convert","onlyPositiveInt","number","toDecimal","str","parseInt","colorsToRgb","map","hexToRgb","String","replace","length","r","substring","g","b","setCanvasWindowSize","width","document","documentElement","clientWidth","height","clientHeight","setCanvasRectSize","rect","getBoundingClientRect","animate","fettis","resizer","animationFrame","destroy","animatingFettis","context","getContext","onDone","clearRect","update","filter","fetti","cos","angle2D","velocity","sin","wobble","wobbleSpeed","tiltAngle","tiltSin","tiltCos","wobbleX","wobbleY","progress","tick","totalTicks","x1","y1","x2","y2","fillStyle","color","beginPath","shape","ellipse","abs","ovalScalar","PI","radiusX","radiusY","rotation","startAngle","endAngle","antiClockwise","save","translate","rotate","scale","arc","restore","moveTo","lineTo","closePath","fill","updateFetti","addFettis","concat","confettiCannon","globalOpts","animationObj","isLibCanvas","allowResize","globalDisableForReducedMotion","Boolean","initialized","__confetti_initialized","preferLessMotion","matchMedia","matches","fireLocal","opts","radAngle","radSpread","min","max","Number","origin","Object","getOrigin","temp","startX","startY","push","createElement","style","position","top","left","pointerEvents","getCanvas","body","appendChild","onResize","obj","resize","removeChild","getDefaultFire","useWorker","apply","this","arguments","create","window","self","$eebc2c287dcd06b1$export$2e2bcd8739ae039","$dcf1a4d0a69352ac$export$faf76607d863714d","value","classList","add","remove","t","i","$cb75fafee029b816$exports","define","amd","s","t1","defineProperty","Explosion","ctx","h","hue","n","exp","o","a","friction","brightness","c","explosionLength","_","_coordinates","_alpha","_x","_y","_exp","_ctx","_gravity","_friction","_explosionLength","_angle","randomFloat","_speed","randomInt","_hue","_brightness","_decay","pop","unshift","draw","hsla","strokeStyle","stroke","getDistance","pow","sqrt","__awaiter","next","throw","then","Sound","_buffer","onInit","_audioContext","AudioContext","webkitAudioContext","assign","enabled","files","volume","load","fetch","arrayBuffer","decodeAudioData","catch","play","createBufferSource","createGain","buffer","gain","connect","destination","start","Trace","dx","dy","speed","traceLength","acceleration","_currentDistance","_sx","_sy","_dx","_dy","_traceLength","_acceleration","_totalDistance","atan2","call","t2","Fireworks","autoresize","boundaries","delay","mouse","sound","trace","explosion","d","u","opacity","l","particles","p","rocketsPoint","m","v","_tick","_version","_running","_randomRocketsPoint","_experimentals","_m","_container","_canvas","_sound","setSize","setBoundaries","visible","click","move","windowResize","mouseDown","mouseUp","mouseMove","isRunning","version","clear","render","stop","unmount","pause","_traces","_explosions","_width","_height","setOptions","entries","hasOwnProperty","Error","useMouse","_mx","pageX","offsetLeft","_my","pageY","offsetTop","globalCompositeOperation","fillRect","drawBoundaries","initTrace","drawTrace","drawExplosion","_ds","initExplosion","splice","$1e660b916d30a31c$var$commandsList","$parcel$interopDefault","forEach","command","$1e660b916d30a31c$var$customCommands","$1e660b916d30a31c$var$hiddenCommands","innerWidth","elmnt","pos1","pos2","pos3","pos4","element","querySelector","dragMouseDown","event","preventDefault","clientX","clientY","onmouseup","closeDragElement","onmousemove","elementDrag","onmousedown","$a701256f05b28a22$export$69374dc2b307e4","$1e660b916d30a31c$var$commandsHistory","$1e660b916d30a31c$var$historyMode","$1e660b916d30a31c$var$historyIndex","$1e660b916d30a31c$var$terminalBody","$1e660b916d30a31c$var$addNewLine","Date","getMonth","htmlFlakes","html","append","createRange","createContextualFragment","$1e660b916d30a31c$var$stringToDom","previousUid","uid","terminalLineEl","terminalResponseEl","inputEl","type","autocapitalize","dataset","active","$1e660b916d30a31c$var$onCommandInput","previousInputEl","getElementById","setAttribute","focus","commandValue","target","trim","toLowerCase","keyCode","idResponse","responseEl","includes","particleRatio","$dcf1a4d0a69352ac$export$6de48e3f8be72096","contains","href","$dcf1a4d0a69352ac$export$9dab01f508b084d5","innerHTML","$1e660b916d30a31c$var$handleCustomCommands","commandObj","find","el","undefined","split","responseType","Array","isArray","headers","rows","rtd","$1e660b916d30a31c$var$getDomForCommand","matchingCommand","startsWith","tagName","terminalEl","parentElement"],"version":3,"file":"index.e1c8579d.js.map"} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 3c158c7..ebd7816 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,58 +1,7 @@ - - - - - - - - - - - - -