From 522df4cd13c994f85b0b0e4930f1eac114dc0792 Mon Sep 17 00:00:00 2001 From: Madhur Gupta Date: Wed, 21 Jan 2026 17:43:02 +0530 Subject: [PATCH 1/2] feat(frontend): add blog banner component --- frontend/app/page.tsx | 2 ++ frontend/components/common/blog-banner.tsx | 40 ++++++++++++++++++++++ frontend/components/ui/button.tsx | 1 + 3 files changed, 43 insertions(+) create mode 100644 frontend/components/common/blog-banner.tsx diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index 0971a85..4364969 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -1,5 +1,6 @@ import { BlockStateTracker } from '@/components/block-state-tracker' import { BlockTimeExecutionTracker } from '@/components/block-time-tracker' +import { BlogBanner } from '@/components/common/blog-banner' import { PageHeader } from '@/components/common/page-header' import { SectionSeparator } from '@/components/common/section-separator' import { HotAccountsBubbleMap } from '@/components/hot-accounts-bubble-map' @@ -11,6 +12,7 @@ import { CornerDecorationsContainer } from '@/components/ui/corner-decorations-c export default function Home() { return (
+
{/* Sections container with continuous left/right borders */} diff --git a/frontend/components/common/blog-banner.tsx b/frontend/components/common/blog-banner.tsx new file mode 100644 index 0000000..2cea727 --- /dev/null +++ b/frontend/components/common/blog-banner.tsx @@ -0,0 +1,40 @@ +'use client' + +import { X } from 'lucide-react' +import { useState } from 'react' +import { Button } from '@/components/ui/button' +import { ExternalLink } from '@/components/ui/external-link' + +const BLOG_POST_URL = 'https://blog.monad.xyz/blog/execution-events-sdk' + +export function BlogBanner() { + const [isVisible, setIsVisible] = useState(true) + + if (!isVisible) return null + + return ( +
+
+ + To learn how this app uses Monad Execution Events SDK, check out the + blog post{' '} + + here + + + +
+
+ ) +} diff --git a/frontend/components/ui/button.tsx b/frontend/components/ui/button.tsx index 80bbbb7..d7b56d3 100644 --- a/frontend/components/ui/button.tsx +++ b/frontend/components/ui/button.tsx @@ -9,6 +9,7 @@ const buttonVariants = cva( variant: { primary: 'rounded-md text-white btn-primary', secondary: 'rounded-md text-white btn-secondary', + ghost: 'bg-transparent hover:opacity-70 rounded', }, size: { default: 'h-9 px-4 py-2', From e1e74ba8c3f54bc3ab8b9aeed88351b450bd685c Mon Sep 17 00:00:00 2001 From: Madhur Gupta Date: Wed, 21 Jan 2026 17:46:32 +0530 Subject: [PATCH 2/2] fix(frontend): simplify blog banner text and add period --- frontend/components/common/blog-banner.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/common/blog-banner.tsx b/frontend/components/common/blog-banner.tsx index 2cea727..cdb815e 100644 --- a/frontend/components/common/blog-banner.tsx +++ b/frontend/components/common/blog-banner.tsx @@ -16,14 +16,14 @@ export function BlogBanner() {
- To learn how this app uses Monad Execution Events SDK, check out the - blog post{' '} + Built with the Monad Execution Events SDK. Read the blog post{' '} here + .