diff --git a/ti/static/ti/css/stylish-portfolio.css b/ti/static/ti/css/stylish-portfolio.css index 95d6c79dc9e4346ca5c9c4dfb9dc797de2ad060a..6663224b33dd9ed180b3a9085ace66e2966cd09f 100644 --- a/ti/static/ti/css/stylish-portfolio.css +++ b/ti/static/ti/css/stylish-portfolio.css @@ -87,7 +87,7 @@ h6 { height: auto; padding-top: 8rem; padding-bottom: 8rem; - background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url("../img/bg-masthead.jpg"); + background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url("../img/bg-masthe.jpg"); background-position: center center; background-repeat: no-repeat; background-size: cover; diff --git a/ti/static/ti/cvdir/cv.js b/ti/static/ti/cvdir/cv.js deleted file mode 100644 index 8eafa56470e41f3aac918e2b72934c21936cf945..0000000000000000000000000000000000000000 --- a/ti/static/ti/cvdir/cv.js +++ /dev/null @@ -1,90 +0,0 @@ - - var pos = { - drawable: false, - x: -1, - y: -1 - }; - var canvas, ctx; - window.onload = function(){ - canvas = document.getElementById("canvas"); - ctx = canvas.getContext("2d"); - ctx.fillStyle = 'red'; // 채우기 색 지정 - ctx.globalAlpha = "1.0"; // 채우기 투명도 설정 - ctx.fillRect(0,0,500,500); - fromDataURL(ctx); - // var image = new Image(); - // image.src = canvas.toDataURL(); - // - // image.onload = function(){ - // ctx.drawImage(image,0,0); - // } - - canvas.addEventListener("mousedown", listener); - canvas.addEventListener("mousemove", listener); - canvas.addEventListener("mouseup", listener); - canvas.addEventListener("mouseout", listener); - canvas.addEventListener("touchstart", listener); - canvas.addEventListener("touchmove", listener); - canvas.addEventListener("touchcancel", listener); - canvas.addEventListener("touchend", listener); - - } - - function listener(event){ - switch(event.type){ - case "mousedown": - initDraw(event); - break; - case "touchstart": - initDraw(event); - break; - - case "mousemove": - if(pos.drawable) - draw(event); - break; - case "touchmove": - if(pos.drawable) - draw(event); - break; - - case "mouseout": - case "touchcancel": - - case "mouseup": - finishDraw(); - break; - case "touchend": - finishDraw(); - break; - } - } - - function initDraw(event){ - ctx.beginPath(); - pos.drawable = true; - var coors = getPosition(event); - pos.X = coors.X; - pos.Y = coors.Y; - ctx.moveTo(pos.X, pos.Y); - } - - function draw(event){ - var coors = getPosition(event); - ctx.lineTo(coors.X, coors.Y); - pos.X = coors.X; - pos.Y = coors.Y; - ctx.stroke(); - } - - function finishDraw(){ - pos.drawable = false; - pos.X = -1; - pos.Y = -1; - } - - function getPosition(event){ - var x = event.pageX - canvas.offsetLeft; - var y = event.pageY - canvas.offsetTop; - return {X: x, Y: y}; - }