diff --git a/app/globals.css b/app/globals.css index fb4cdc6..e3e2538 100644 --- a/app/globals.css +++ b/app/globals.css @@ -132,8 +132,12 @@ p { padding: 0; width: 500px; height: 500px; + max-width: 100%;; position: absolute; - display: none; + visibility: hidden; + display: flex; + flex-direction: column; + justify-content: space-between; z-index: 3; } @@ -169,40 +173,35 @@ p { } .detailHeader { - position: absolute; cursor: default; pointer-events: none; user-select: none; - top: 30px; + margin-top: 30px; width: 100%; max-width: 500px; text-align: center; color: #FFFFFF; font-size: 50px; - text-shadow: rgba(0,0,0, 0.4) 0em 0em 0.3em; + text-shadow: rgba(0,0,0, 0.4) 0em 0em 0.1em; font-family: 'Conv_Curse Casual',Sans-Serif; } .detailDescription { - position: absolute; pointer-events: none; cursor: default; user-select: none; - top: 90px; - left: 0; padding: 0 20px; text-align: left; white-space: break-spaces; color: #FFFFFF; font-size: 18px; - text-shadow: rgba(0,0,0, 0.4) 0em 0em 0.3em; + text-shadow: rgba(0,0,0, 0.4) 0em 0em 0.1em; font-family: Calibri, Arial, Helvetica, sans-serif; } .detailName{ - position: absolute; cursor: default; - top: 455px; + margin-bottom: 30px; width: 100%; text-align: center; color: #000000; diff --git a/app/home/page.tsx b/app/home/page.tsx new file mode 100644 index 0000000..ebd645e --- /dev/null +++ b/app/home/page.tsx @@ -0,0 +1,11 @@ +import Footer from '@/components/Footer'; +import Home from '@/components/Home'; + +export default function Homepage(): JSX.Element { + return ( +
+ +
+ ); +} diff --git a/app/page.tsx b/app/page.tsx index ebd645e..51bc780 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,11 +1,10 @@ -import Footer from '@/components/Footer'; -import Home from '@/components/Home'; +import Skills from '@/components/Skills'; +import { Metadata } from 'next'; -export default function Homepage(): JSX.Element { - return ( -
- -
- ); -} +export const metadata: Metadata = { + title: 'About me', +}; + +export default (): JSX.Element => { + return ; +}; diff --git a/app/skills/page.tsx b/app/skills/page.tsx deleted file mode 100644 index 8c7b9e3..0000000 --- a/app/skills/page.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import Skills from '@/components/Skills'; -import { Metadata } from 'next'; - -export const metadata: Metadata = { - title: 'Skills', -}; - -export default (): JSX.Element => { - return ; -}; diff --git a/components/Portfolio/index.tsx b/components/Portfolio/index.tsx index 717a495..c837e44 100644 --- a/components/Portfolio/index.tsx +++ b/components/Portfolio/index.tsx @@ -25,9 +25,9 @@ export default (): JSX.Element => {

Full-Stack web developer
- Age 35 y.o. + Age 36 y.o.
- City Moscow + City Aktau
English B+

@@ -37,51 +37,63 @@ export default (): JSX.Element => {

Work examples:

Github - Group chat app + NFT Marketplace -  (React, Socket.io, CRA, MUI, tests) +  (React, Sass)

Github - Rest-Api service + GraphQL boilerplate -  (Express, PostgreSQL, Sequelize, tests) +  (TypeGraphQL, TypeORM, Apollo, NextJS)

Github - Storybook boilerplate + Group chat app -  (Storybook, React, Sass) +  (React, Socket.io, MUI, e2e tests)

Github - NFT Marketplace + Rest-Api service -  (React, Sass) +  (Express, PostgreSQL, Sequelize, unit tests) +

+

+ + Github + Storybook boilerplate + +  (Storybook, React, Sass)

{ - if (opacity <= 0.1) { - clearInterval(timer); - el.style.display = 'none'; - } - - el.style.opacity = `${opacity}`; - opacity -= opacity * 0.1; - }, 10); + setTimeout(() => (el.style.opacity = '0'), 200); + setTimeout(() => (el.style.visibility = 'hidden'), 1000); } export function fadeIn(el: HTMLElement): void { - let opacity = 0.01; - - el.style.display = 'block'; - - const timer = setInterval(() => { - if (opacity >= 1) { - clearInterval(timer); - } - - el.style.opacity = `${opacity}`; - opacity += opacity * 0.1; - }, 10); + el.style.opacity = '0'; + el.style.visibility = 'visible'; + setTimeout(() => (el.style.opacity = '1'), 200); } diff --git a/components/Skills/Skills.module.css b/components/Skills/Skills.module.css index 9064a7d..8339b96 100644 --- a/components/Skills/Skills.module.css +++ b/components/Skills/Skills.module.css @@ -1,5 +1,5 @@ .bg { - background: #505050; + background: #fff; } .title { @@ -10,7 +10,7 @@ height: 100vh; font-size: 1.1rem; font-weight: 400; - color: #f5f5f5; + color: #333333; } .footer{ @@ -35,9 +35,3 @@ .footer .footerSound { margin: 5px 12px; } - -.home a { - padding: 10px; - margin-right: 10px; - color: #fff; -} diff --git a/components/Skills/index.tsx b/components/Skills/index.tsx index be19b33..3040643 100644 --- a/components/Skills/index.tsx +++ b/components/Skills/index.tsx @@ -1,7 +1,6 @@ 'use client'; import { useRef } from 'react'; -import Link from 'next/link'; import Script from 'next/script'; import SoundButton from '@/components/SoundButton'; import Theme from '@/components/SoundButton/types'; @@ -19,15 +18,16 @@ export default ({ version }: Props): JSX.Element => { return ( <>

-
My Skills (beta)
+
Hi, I'm Pavel
- - Home - - My Skills (beta) -  {version} +

+ ABOUT ME +
+ {new Date(Number(process.env.date) * 1000).getFullYear() || ''}{' '} +  {version} +

diff --git a/public/images/libs/vue.png b/public/images/libs/vue.png index 2fe5022..409a0d9 100644 Binary files a/public/images/libs/vue.png and b/public/images/libs/vue.png differ diff --git a/public/images/me.png b/public/images/me.png new file mode 100644 index 0000000..20aafea Binary files /dev/null and b/public/images/me.png differ