From 885d13185cb24c6ddfc6edf784c0bf0ab4219cc9 Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Mon, 20 Apr 2026 23:52:31 +0300 Subject: [PATCH] Bob AI: to each section add glassmorphic badge with random funny fac --- src/components/sections/about/AboutMediaOverlay.tsx | 6 ++++-- src/components/sections/contact/ContactSplitEmail.tsx | 5 +++++ src/components/sections/faq/FaqTwoColumn.tsx | 5 +++++ src/components/sections/features/FeaturesTaggedCards.tsx | 8 +++++--- src/components/sections/footer/FooterBasic.tsx | 9 +++++++-- src/components/sections/hero/HeroBillboard.tsx | 6 ++++-- src/components/sections/metrics/MetricsSimpleCards.tsx | 8 +++++--- src/components/sections/product/ProductMediaCards.tsx | 8 +++++--- .../sections/testimonial/TestimonialMarqueeCards.tsx | 5 ++++- src/components/ui/GlassmorphicBadge.tsx | 9 +++++++++ src/components/ui/NavbarCentered.tsx | 9 +++++++-- 11 files changed, 60 insertions(+), 18 deletions(-) create mode 100644 src/components/ui/GlassmorphicBadge.tsx diff --git a/src/components/sections/about/AboutMediaOverlay.tsx b/src/components/sections/about/AboutMediaOverlay.tsx index e8d8e8a..fb00ca8 100644 --- a/src/components/sections/about/AboutMediaOverlay.tsx +++ b/src/components/sections/about/AboutMediaOverlay.tsx @@ -2,7 +2,7 @@ import { motion } from "motion/react"; import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; import ImageOrVideo from "@/components/ui/ImageOrVideo"; -import GlassmorphicBadge from "@/components/GlassmorphicBadge"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; import { getRandomFact } from "@/utils/facts"; type AboutMediaOverlayProps = { @@ -24,7 +24,9 @@ const AboutMediaOverlay = ({ }: AboutMediaOverlayProps) => { return (
- +
+ +
diff --git a/src/components/sections/contact/ContactSplitEmail.tsx b/src/components/sections/contact/ContactSplitEmail.tsx index 2046d60..71bde9d 100644 --- a/src/components/sections/contact/ContactSplitEmail.tsx +++ b/src/components/sections/contact/ContactSplitEmail.tsx @@ -3,6 +3,8 @@ import { motion } from "motion/react"; import TextAnimation from "@/components/ui/TextAnimation"; import ImageOrVideo from "@/components/ui/ImageOrVideo"; import { sendContactEmail } from "@/lib/api/email"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; +import { getRandomFact } from "@/utils/facts"; type ContactSplitEmailProps = { tag: string; @@ -38,6 +40,9 @@ const ContactSplitEmail = ({ return (
+
+ +
+
+ +
{tag} diff --git a/src/components/sections/features/FeaturesTaggedCards.tsx b/src/components/sections/features/FeaturesTaggedCards.tsx index 5997b64..1821293 100644 --- a/src/components/sections/features/FeaturesTaggedCards.tsx +++ b/src/components/sections/features/FeaturesTaggedCards.tsx @@ -1,4 +1,4 @@ -import GlassmorphicBadge from "@/components/GlassmorphicBadge"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; import { getRandomFact } from "@/utils/facts"; type FeatureItem = { @@ -18,9 +18,11 @@ type FeaturesTaggedCardsProps = { const FeaturesTaggedCards = ({ tag, title, description, items }: FeaturesTaggedCardsProps) => { return (
- +
+ +
-
+
{tag}

{title}

{description}

diff --git a/src/components/sections/footer/FooterBasic.tsx b/src/components/sections/footer/FooterBasic.tsx index 6505663..4f21c6b 100644 --- a/src/components/sections/footer/FooterBasic.tsx +++ b/src/components/sections/footer/FooterBasic.tsx @@ -1,4 +1,6 @@ import { useButtonClick } from "@/hooks/useButtonClick"; +import GlassmorphicBadge from "@/components/ui/GlassmorphicBadge"; +import { getRandomFact } from "@/utils/facts"; type FooterLink = { label: string; @@ -35,8 +37,11 @@ const FooterBasic = ({ }) => { return (