diff --git a/src/content/scrolldriven/images/scroll-1.mp4 b/src/content/scrolldriven/images/scroll-1.mp4 new file mode 100644 index 0000000..6b1da2f Binary files /dev/null and b/src/content/scrolldriven/images/scroll-1.mp4 differ diff --git a/src/content/scrolldriven/images/scroll-1.png b/src/content/scrolldriven/images/scroll-1.png new file mode 100644 index 0000000..92fef3e Binary files /dev/null and b/src/content/scrolldriven/images/scroll-1.png differ diff --git a/src/content/scrolldriven/images/scroll-2.mp4 b/src/content/scrolldriven/images/scroll-2.mp4 new file mode 100644 index 0000000..dd959ad Binary files /dev/null and b/src/content/scrolldriven/images/scroll-2.mp4 differ diff --git a/src/content/scrolldriven/images/scroll-3.mp4 b/src/content/scrolldriven/images/scroll-3.mp4 new file mode 100644 index 0000000..05174f1 Binary files /dev/null and b/src/content/scrolldriven/images/scroll-3.mp4 differ diff --git a/src/content/scrolldriven/images/scroll-main.mp4 b/src/content/scrolldriven/images/scroll-main.mp4 new file mode 100644 index 0000000..ac7242b Binary files /dev/null and b/src/content/scrolldriven/images/scroll-main.mp4 differ diff --git a/src/content/scrolldriven/images/window.png b/src/content/scrolldriven/images/window.png new file mode 100644 index 0000000..bdffc41 Binary files /dev/null and b/src/content/scrolldriven/images/window.png differ diff --git a/src/content/scrolldriven/index.tsx b/src/content/scrolldriven/index.tsx new file mode 100644 index 0000000..3d9f912 --- /dev/null +++ b/src/content/scrolldriven/index.tsx @@ -0,0 +1,76 @@ +import GridWrapper from '@/components/GridWrapper' +import Link from '@/components/Link' +import WorkTile from '@/components/WorkTile' +import scrollPreview1 from './images/scroll-1.mp4' +import scrollImage from './images/scroll-1.png' +import scrollPreview2 from './images/scroll-2.mp4' +import scrollPreview3 from './images/scroll-3.mp4' +import scrollMain from './images/scroll-main.mp4' +import mockWindow from './images/window.png' + +const Links = () => { + return ( + <> + scrolldriven.dev + showcase.scrolldriven.dev + + @adamplesnik/tailwindcss-scroll-driven-animations + + + ) +} + +const WorkScrollDriven = () => { + return ( + } + text="Explore the possibilities of CSS scroll-driven animations. Powered by my own Tailwind CSS plugin, no animation JS libs used. Some browsers might have been harmed during the process." + top={ +
+
+ +
+ +
+
+
+ } + badges={['React', 'Tailwind CSS']} + > + +
+
+ +
+ +
+
+
+
+
+ +
+
+ +
+ +
+ +
+ +
+
+
+ ) +} + +export default WorkScrollDriven diff --git a/src/main.tsx b/src/main.tsx index 65ea59a..da67570 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -7,6 +7,7 @@ import CvPrint from './content/CvPrint.tsx' import WorkKolbord from './content/kolbord/index.tsx' import WorkMartin from './content/martin/index.tsx' import WorkMHD from './content/mhd/index.tsx' +import WorkScrollDriven from './content/scrolldriven/index.tsx' import WorkThankful from './content/thankful/index.tsx' import WorkLibrary from './content/vkjb/index.tsx' import './index.css' @@ -47,6 +48,10 @@ const router = createBrowserRouter([ path: '/work/thankful', element: , }, + { + path: '/work/scroll', + element: , + }, { path: '/about', element: ,