From 9e17897d508e2204d8cf8f92fb97789cfce8551c Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Tue, 21 Apr 2026 12:21:13 +0300 Subject: [PATCH] Bob AI: add a glassmorphic badge to each section of the IT Academy w --- src/components/sections/about/AboutTextSplit.tsx | 2 ++ .../sections/contact/ContactCenter.tsx | 6 ++++-- src/components/sections/faq/FaqSimple.tsx | 2 ++ .../sections/footer/FooterSimpleReveal.tsx | 1 + .../sections/hero/HeroBillboardBrand.tsx | 4 ++++ .../sections/metrics/MetricsFeatureCards.tsx | 2 ++ .../sections/product/ProductQuantityCards.tsx | 2 ++ .../testimonial/TestimonialAvatarCard.tsx | 6 ++++-- src/components/ui/GlassmorphicBadge.tsx | 16 ++++++++++++++++ src/components/ui/NavbarCentered.tsx | 4 +++- 10 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 src/components/ui/GlassmorphicBadge.tsx diff --git a/src/components/sections/about/AboutTextSplit.tsx b/src/components/sections/about/AboutTextSplit.tsx index 7bf90d1..7e73412 100644 --- a/src/components/sections/about/AboutTextSplit.tsx +++ b/src/components/sections/about/AboutTextSplit.tsx @@ -1,5 +1,6 @@ import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; interface AboutTextSplitProps { title: string; @@ -19,6 +20,7 @@ const AboutTextSplit = ({
+ -
+
+
{tag} diff --git a/src/components/sections/faq/FaqSimple.tsx b/src/components/sections/faq/FaqSimple.tsx index eee6ed9..5c9d49f 100644 --- a/src/components/sections/faq/FaqSimple.tsx +++ b/src/components/sections/faq/FaqSimple.tsx @@ -1,6 +1,7 @@ import { useState } from "react"; import { motion, AnimatePresence } from "motion/react"; import { Plus } from "lucide-react"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; import { cls } from "@/lib/utils"; @@ -35,6 +36,7 @@ const FaqSimple = ({
+ {tag}
+
+ +
{brand} diff --git a/src/components/sections/metrics/MetricsFeatureCards.tsx b/src/components/sections/metrics/MetricsFeatureCards.tsx index 08ccbbf..d78b72b 100644 --- a/src/components/sections/metrics/MetricsFeatureCards.tsx +++ b/src/components/sections/metrics/MetricsFeatureCards.tsx @@ -1,6 +1,7 @@ import { motion } from "motion/react"; import { Check } from "lucide-react"; import Button from "@/components/ui/Button"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; import TextAnimation from "@/components/ui/TextAnimation"; import GridOrCarousel from "@/components/ui/GridOrCarousel"; @@ -28,6 +29,7 @@ const MetricsFeatureCards = ({
+ {tag}
+ {tag} -
- +
+ +
{tag} diff --git a/src/components/ui/GlassmorphicBadge.tsx b/src/components/ui/GlassmorphicBadge.tsx new file mode 100644 index 0000000..dabcbc7 --- /dev/null +++ b/src/components/ui/GlassmorphicBadge.tsx @@ -0,0 +1,16 @@ +interface GlassmorphicBadgeProps { + text: string; + className?: string; +} + +const GlassmorphicBadge = ({ text, className }: GlassmorphicBadgeProps) => { + return ( +
+ {text} +
+ ); +}; + +export default GlassmorphicBadge; \ No newline at end of file diff --git a/src/components/ui/NavbarCentered.tsx b/src/components/ui/NavbarCentered.tsx index de8cb8c..2063e5e 100644 --- a/src/components/ui/NavbarCentered.tsx +++ b/src/components/ui/NavbarCentered.tsx @@ -4,6 +4,7 @@ import { motion, AnimatePresence } from "motion/react"; import { Plus, ArrowRight } from "lucide-react"; import { cls } from "@/lib/utils"; import Button from "@/components/ui/Button"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; interface NavbarCenteredProps { logo: string; @@ -78,7 +79,8 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => { ))}
-
+
+
-- 2.49.1