diff --git a/src/components/Main/Integrations/IntegrationItem.tsx b/src/components/Main/Integrations/IntegrationItem.tsx index 65e93bd8..841735a5 100644 --- a/src/components/Main/Integrations/IntegrationItem.tsx +++ b/src/components/Main/Integrations/IntegrationItem.tsx @@ -17,10 +17,8 @@ export function IntegrationItem({ return (
{''} -
+

{title}

{year}

diff --git a/src/ui/SliderWithScaling.tsx b/src/ui/SliderWithScaling.tsx index ce0ae544..f71fd9e4 100644 --- a/src/ui/SliderWithScaling.tsx +++ b/src/ui/SliderWithScaling.tsx @@ -99,7 +99,7 @@ export function SliderWithScaling({ ref={ref} className="flex items-start gap-x-4 -mr-6 relative select-none" style={{ - transition: `${sliderOffset === 0 || sliderOffset === baseoffset * 2 ? 0 : 0.5}s`, + transition: `${sliderOffset === 0 || sliderOffset === baseoffset * 2 ? 0 : 1}s`, transform: `translateX(${sliderOffset}px)`, }} > diff --git a/tailwind.config.ts b/tailwind.config.ts index 2a0550bd..afbe26b5 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -12,6 +12,23 @@ const config: Config = { 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', }, + keyframes: { + scaling: { + '0%': { + transition: 'all 1s ease', + minHeight: '31.8vw', + minWidth: '31.6vw', + }, + '100%': { + transition: 'all 1s ease', + minHeight: '43.2vw', + minWidth: '48vw', + }, + }, + }, + animation: { + scaling: 'scaling 1s ease-in-out both', + }, }, }, plugins: [],