Compare commits

...

6 Commits

Author SHA1 Message Date
kudinDmitriyUp
743e9fdbf6 feat: add animated background to about section 2026-05-08 08:33:56 +00:00
ee65977fb0 Merge version_14_1778228418077 into main
Merge version_14_1778228418077 into main
2026-05-08 08:23:04 +00:00
kudinDmitriyUp
4aa2a57150 feat: update border radius to match Apple's design 2026-05-08 08:22:31 +00:00
8113fd7d7d Merge version_13_1778228298894 into main
Merge version_13_1778228298894 into main
2026-05-08 08:19:38 +00:00
kudinDmitriyUp
dce6ba68d8 feat: apply glassmorphic effect to about section card 2026-05-08 08:19:07 +00:00
f87b5cc1dc Merge version_12_1778227063732 into main
Merge version_12_1778227063732 into main
2026-05-08 07:59:09 +00:00
4 changed files with 36 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
import React from 'react';
const AnimatedBackground = () => {
return (
<div className="absolute inset-0 z-0 overflow-hidden">
<div className="absolute inset-0 bg-gradient-to-br from-background-light via-background to-background-dark" />
<div className="absolute inset-0 animate-pulse-slow">
<div className="absolute top-1/4 left-1/4 w-96 h-96 bg-primary/10 rounded-full filter blur-3xl opacity-50" />
<div className="absolute bottom-1/4 right-1/4 w-96 h-96 bg-secondary/10 rounded-full filter blur-3xl opacity-50" />
</div>
</div>
);
};
export default AnimatedBackground;

View File

@@ -1,3 +1,4 @@
import AnimatedBackground from "@/components/custom/AnimatedBackground";
import type { LucideIcon } from "lucide-react";
import Button from "@/components/ui/Button";
import TextAnimation from "@/components/ui/TextAnimation";
@@ -24,7 +25,8 @@ const AboutFeaturesSplit = ({
videoSrc,
}: AboutFeaturesSplitProps) => {
return (
<section aria-label="About section" className="py-20">
<section aria-label="About section" className="py-20 relative">
<AnimatedBackground />
<div className="flex flex-col gap-8 mx-auto w-content-width">
<div className="flex flex-col items-center gap-2">
<span className="px-3 py-1 mb-1 text-sm card rounded">{tag}</span>
@@ -54,7 +56,7 @@ const AboutFeaturesSplit = ({
</div>
<div className="flex flex-col md:flex-row md:items-stretch gap-5">
<div className="flex flex-col justify-center gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5 w-full md:w-4/10 2xl:w-3/10 card rounded">
<div className="flex flex-col justify-center gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5 w-full md:w-4/10 2xl:w-3/10 card rounded bg-transparent backdrop-blur-lg border border-white/20">
{items.map((item, index) => {
const ItemIcon = resolveIcon(item.icon);
return (
@@ -74,7 +76,7 @@ const AboutFeaturesSplit = ({
})}
</div>
<div className="p-3 xl:p-4 2xl:p-5 w-full md:w-6/10 2xl:w-7/10 h-80 md:h-auto card rounded overflow-hidden">
<div className="p-3 xl:p-4 2xl:p-5 w-full md:w-6/10 2xl:w-7/10 h-80 md:h-auto card rounded overflow-hidden bg-transparent">
<div className="relative size-full">
<ImageOrVideo imageSrc={imageSrc} videoSrc={videoSrc} className="absolute inset-0 object-cover rounded" />
</div>

View File

@@ -16,7 +16,7 @@
--background-accent: #6bbfb8;
/* @layout/border-radius/rounded */
--radius: 1rem;
--radius: 1.5rem;
/* @layout/content-width/medium */
--width-content-width: clamp(40rem, 72.5vw, 100rem);

View File

@@ -212,3 +212,18 @@
77% { opacity: 0.05; }
88% { opacity: 0; }
}
@keyframes pulse-slow {
0%, 100% {
transform: scale(1);
opacity: 0.5;
}
50% {
transform: scale(1.1);
opacity: 0.7;
}
}
.animate-pulse-slow {
animation: pulse-slow 8s infinite ease-in-out;
}