diff --git a/public/CV ENG.pdf b/public/CV ENG.pdf new file mode 100644 index 0000000..4025a5b Binary files /dev/null and b/public/CV ENG.pdf differ diff --git a/src/App.css b/src/App.css index 4b09c55..ba7dabb 100644 --- a/src/App.css +++ b/src/App.css @@ -1,11 +1,12 @@ .app { opacity: 0; - transition: opacity .5s, transform .25s; + transition: opacity .5s, transform .2s; min-height: 100vh; width: 100vw; z-index: 1; position: relative; overflow: auto; + will-change: transform, opacity; } .app+footer { @@ -63,4 +64,16 @@ footer { width: 100%; z-index: 0; transition: opacity .5s .5s; +} + +.dark body { + background-color: rgb(17, 24, 39); +} + +body { + background-color: rgb(243, 244, 246); +} + +canvas { + user-select: none; } \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 0241dde..fd62fc0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -50,7 +50,9 @@ function App(): JSX.Element { }, [count]); const scrollData = useScrollData(); - const skewTransform = `skewY(${(scrollData.speed.y / 500) * (scrollData.direction.y === 'up' ? -1 : 1)}deg)`; + const skewTransform = `skewY(${ + Math.min(scrollData.speed.y / 600, 5) * (scrollData.direction.y === 'up' ? -1 : 1) + }deg)`; const qualitiesEl = qualities.map((q) => ( @@ -151,11 +153,11 @@ function App(): JSX.Element { > {header} -

+

Hello.

-
{presentation}
-
+
{presentation}
+

Work and experiences. @@ -183,10 +185,13 @@ function App(): JSX.Element {

Curious?

marco.burrometo@gmail.com + + Get my CV +
- 🚀 2021 © Marco Burrometo - VAT. 01214220319 + 🚀 2021 © Marco Burrometo - VAT. 01214220319
diff --git a/src/effects.css b/src/effects.css index 336f9a1..0be13e4 100644 --- a/src/effects.css +++ b/src/effects.css @@ -391,4 +391,33 @@ a.effect-shine:hover { to { -webkit-mask-position: -50%; } -} \ No newline at end of file +} + +.cv-button { + border: 1px solid rgb(243, 244, 246); + position: relative; + overflow: hidden; +} + +.cv-button:before { + content: ''; + background-image: linear-gradient(90deg, #ff00c1 0%, #0095ff 70%, #00ff00 100%); + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + transform: translateX(-100%); + transition: all 0.15s cubic-bezier(0.075, 0.82, 0.165, 1); + z-index: -1; +} + +.cv-button:hover:before { + transform: scale(1.2) translate(0%); +} + +/* .cv-button:hover, +.cv-button:focus, +.cv-button:active { + color: #21D4FD; +} */ \ No newline at end of file