From 36e360a31ce1c27c653ddaa732c456306ec34ab4 Mon Sep 17 00:00:00 2001 From: Madhur Gupta Date: Thu, 22 Jan 2026 19:11:42 +0530 Subject: [PATCH 1/5] feat(frontend): add disclaimer banner to homepage and update README with security warning --- README.md | 3 ++ frontend/app/page.tsx | 2 ++ .../components/common/disclaimer-banner.tsx | 32 +++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 frontend/components/common/disclaimer-banner.tsx diff --git a/README.md b/README.md index a18702d..c2b243d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Monode Example application using the Monad Execution Events SDK +> [!WARNING] +> This repository contains example code to demonstrate Monad features and concepts. These implementations are educational examples and have not been tested or audited. They are likely to have significant errors and security vulnerabilities. They should not be relied on for any purpose. Do not use this code in a production environment without completing your own audits and application of best practices. + ![App](public/app.gif) ## Resources diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index 4364969..b085749 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -1,6 +1,7 @@ import { BlockStateTracker } from '@/components/block-state-tracker' import { BlockTimeExecutionTracker } from '@/components/block-time-tracker' import { BlogBanner } from '@/components/common/blog-banner' +import { DisclaimerBanner } from '@/components/common/disclaimer-banner' import { PageHeader } from '@/components/common/page-header' import { SectionSeparator } from '@/components/common/section-separator' import { HotAccountsBubbleMap } from '@/components/hot-accounts-bubble-map' @@ -12,6 +13,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/disclaimer-banner.tsx b/frontend/components/common/disclaimer-banner.tsx new file mode 100644 index 0000000..f72b9b2 --- /dev/null +++ b/frontend/components/common/disclaimer-banner.tsx @@ -0,0 +1,32 @@ +'use client' + +import { AlertTriangle, X } from 'lucide-react' +import { useState } from 'react' +import { Button } from '@/components/ui/button' + +export function DisclaimerBanner() { + const [isVisible, setIsVisible] = useState(true) + + if (!isVisible) return null + + return ( +
+
+ + + Warning: This app is for demo purposes only and has + not been audited or tested. Do not use in production without your own audits. + + +
+
+ ) +} From 8318db69b08fc283571b7c992c3265182ef8e282 Mon Sep 17 00:00:00 2001 From: Madhur Gupta Date: Thu, 22 Jan 2026 19:16:41 +0530 Subject: [PATCH 2/5] fix(docs): improve README disclaimer clarity and formatting --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c2b243d..3e0d66c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Monode Example application using the Monad Execution Events SDK +> This repository contains example code to demonstrate Monad features and concepts. The examples illustrate how to use the features, in their simplest form. > [!WARNING] -> This repository contains example code to demonstrate Monad features and concepts. These implementations are educational examples and have not been tested or audited. They are likely to have significant errors and security vulnerabilities. They should not be relied on for any purpose. Do not use this code in a production environment without completing your own audits and application of best practices. +> These implementations are educational examples, and have not been tested or audited. They are likely to have significant errors and security vulnerabilities. They should not be relied on for any purpose. Do not use the code in this example in a production environment without completing your own audits and application of best practices. ![App](public/app.gif) ## Resources From 32627c6fed768e94f7976a38872416f0e6e23f22 Mon Sep 17 00:00:00 2001 From: Madhur Gupta Date: Thu, 22 Jan 2026 19:20:07 +0530 Subject: [PATCH 3/5] fix(docs): update README with warning about example code Added a warning about the educational nature of the examples and potential security vulnerabilities. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e0d66c..327aee0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Monode Example application using the Monad Execution Events SDK -> This repository contains example code to demonstrate Monad features and concepts. The examples illustrate how to use the features, in their simplest form. > [!WARNING] +> This repository contains example code to demonstrate Monad features and concepts. The examples illustrate how to use the features, in their simplest form. +> > These implementations are educational examples, and have not been tested or audited. They are likely to have significant errors and security vulnerabilities. They should not be relied on for any purpose. Do not use the code in this example in a production environment without completing your own audits and application of best practices. ![App](public/app.gif) From e47435068511a51a03e4b6d05df04aa2b4b63a16 Mon Sep 17 00:00:00 2001 From: Madhur Gupta Date: Thu, 22 Jan 2026 19:22:01 +0530 Subject: [PATCH 4/5] fix(frontend): improve disclaimer banner text wrapping for better readability --- frontend/components/common/disclaimer-banner.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/components/common/disclaimer-banner.tsx b/frontend/components/common/disclaimer-banner.tsx index f72b9b2..83f1c69 100644 --- a/frontend/components/common/disclaimer-banner.tsx +++ b/frontend/components/common/disclaimer-banner.tsx @@ -15,7 +15,8 @@ export function DisclaimerBanner() { Warning: This app is for demo purposes only and has - not been audited or tested. Do not use in production without your own audits. + not been audited or tested. Do not use in production without your own + audits. -
- - ) -}