diff --git a/package-lock.json b/package-lock.json index 8f1dc73..602adab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,6 @@ "dependencies": { "@emotion/react": "^11.14.0", "@vercel/analytics": "^1.3.1", - "lucide-react": "^0.446.0", - "prismjs": "^1.29.0", "react": "^18.3.1", "react-awesome-reveal": "^4.3.1", "react-before-after-slider-component": "^1.1.8", @@ -19,7 +17,6 @@ "react-router-dom": "^6.26.2" }, "devDependencies": { - "@types/prismjs": "^1.26.4", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", "@types/react-test-renderer": "^18.3.0", @@ -1513,13 +1510,6 @@ "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==", "license": "MIT" }, - "node_modules/@types/prismjs": { - "version": "1.26.4", - "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.4.tgz", - "integrity": "sha512-rlAnzkW2sZOjbqZ743IHUhFcvzaGbqijwOu8QZnZCjfQzBqFE3s4lOTJEsxikImav9uzz/42I+O7YUs1mWgMlg==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/prop-types": { "version": "15.7.13", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", @@ -3520,15 +3510,6 @@ "yallist": "^3.0.2" } }, - "node_modules/lucide-react": { - "version": "0.446.0", - "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.446.0.tgz", - "integrity": "sha512-BU7gy8MfBMqvEdDPH79VhOXSEgyG8TSPOKWaExWGCQVqnGH7wGgDngPbofu+KdtVjPQBWbEmnfMTq90CTiiDRg==", - "license": "ISC", - "peerDependencies": { - "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" - } - }, "node_modules/magic-string": { "version": "0.30.11", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", @@ -4157,15 +4138,6 @@ } } }, - "node_modules/prismjs": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", - "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", diff --git a/package.json b/package.json index b5ea769..ca8fe25 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,6 @@ "dependencies": { "@emotion/react": "^11.14.0", "@vercel/analytics": "^1.3.1", - "lucide-react": "^0.446.0", - "prismjs": "^1.29.0", "react": "^18.3.1", "react-awesome-reveal": "^4.3.1", "react-before-after-slider-component": "^1.1.8", @@ -23,7 +21,6 @@ "react-router-dom": "^6.26.2" }, "devDependencies": { - "@types/prismjs": "^1.26.4", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", "@types/react-test-renderer": "^18.3.0", diff --git a/src/components/WorkPreviewTile.tsx b/src/components/WorkPreviewTile.tsx index d6e7e08..9cbbf3e 100644 --- a/src/components/WorkPreviewTile.tsx +++ b/src/components/WorkPreviewTile.tsx @@ -9,7 +9,7 @@ const WorkPreviewTile = ({ title, className, link, src, titleRight }: WorkPrevie
- {title} → + {title} diff --git a/src/content/Intro.tsx b/src/content/Intro.tsx index 259a923..ba26447 100644 --- a/src/content/Intro.tsx +++ b/src/content/Intro.tsx @@ -1,16 +1,17 @@ import Paragraph from '@/components/Paragraph' +import { Fade } from 'react-awesome-reveal' import { catchDetail, catchPhrase } from './phrases' const Intro = () => { return ( - <> + {catchPhrase} {catchDetail} - + ) } diff --git a/src/content/vkjb/index.tsx b/src/content/vkjb/index.tsx index 60886e3..1dd313a 100644 --- a/src/content/vkjb/index.tsx +++ b/src/content/vkjb/index.tsx @@ -19,8 +19,8 @@ const WorkLibrary = () => { return ( } more={} > diff --git a/src/pages/About.tsx b/src/pages/About.tsx index 4140202..c7ca5fc 100644 --- a/src/pages/About.tsx +++ b/src/pages/About.tsx @@ -1,11 +1,12 @@ import Paragraph from '@/components/Paragraph' import CvTimeline from '@/content/CvTimeline' import { catchDetail, catchPhrase, freeTime, tech } from '@/content/phrases' +import { Fade } from 'react-awesome-reveal' const About = () => { return ( <> -
+ {catchPhrase} @@ -18,12 +19,12 @@ const About = () => { {freeTime} -
-
-
+ + +
-
+ ) } diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 904dd00..c2adcfa 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -16,7 +16,7 @@ const Home = () => { src={mhdPreview} /> - + { return (
-
-
- - {isWork ? ( - - ) : ( - - Adam Plesník - - )} - -
- - clsx( - 'cursor-pointer text-2xl font-medium hover:underline sm:text-3xl', - isActive && 'underline' - ) - } - to="/" - > - Work - - - clsx( - 'cursor-pointer text-2xl font-medium hover:underline sm:text-3xl', - isActive && 'underline' - ) - } - to="/about" - > - About - -
+
+ + {isWork ? ( + + + + + + ) : ( + + Adam Plesník + + )} + +
+ + clsx( + 'relative cursor-pointer text-2xl font-medium sm:text-3xl', + 'after:absolute after:bottom-1 after:left-0 after:h-[2px] after:w-full after:max-w-0 after:bg-black after:transition-[max-width] after:ease-in-out hover:after:max-w-full after:sm:h-[3px]', + isActive && 'after:max-w-full' + ) + } + to="/" + > + Work + + + clsx( + 'relative cursor-pointer text-2xl font-medium sm:text-3xl', + 'after:absolute after:bottom-1 after:left-0 after:h-[2px] after:w-full after:max-w-0 after:bg-black after:transition-[max-width] after:ease-in-out hover:after:max-w-full after:sm:h-[3px]', + isActive && 'after:max-w-full' + ) + } + to="/about" + > + About +
{outlet ? outlet : }