From 66328f1379da42f6704080fb7945b4a84768a136 Mon Sep 17 00:00:00 2001
From: Kevin Satria D <130447401+kevinnsd1@users.noreply.github.com>
Date: Wed, 20 May 2026 15:54:24 +0700
Subject: [PATCH] feat: implement checkout and payment flow with navigation and
order summary components
---
src/components/BrutalAlert.tsx | 50 ++++++++++++++++++++++++++++++++++
src/components/Hero.tsx | 11 ++------
src/components/Navbar.tsx | 23 ++++++++++------
src/pages/Checkout.tsx | 7 ++---
src/pages/Payment.tsx | 24 ++++++++++++----
5 files changed, 89 insertions(+), 26 deletions(-)
create mode 100644 src/components/BrutalAlert.tsx
diff --git a/src/components/BrutalAlert.tsx b/src/components/BrutalAlert.tsx
new file mode 100644
index 0000000..f018d33
--- /dev/null
+++ b/src/components/BrutalAlert.tsx
@@ -0,0 +1,50 @@
+import { AlertCircle, CheckCircle, X, Info } from 'lucide-react';
+import { useEffect } from 'react';
+
+export type AlertType = 'success' | 'error' | 'warning' | 'info';
+
+interface BrutalAlertProps {
+ message: string;
+ type?: AlertType;
+ onClose: () => void;
+ autoCloseMs?: number;
+}
+
+export default function BrutalAlert({ message, type = 'info', onClose, autoCloseMs = 3000 }: BrutalAlertProps) {
+ const styles = {
+ success: 'bg-[#4ade80] text-black',
+ error: 'bg-[#ef4444] text-black',
+ warning: 'bg-[#ffd700] text-black',
+ info: 'bg-[#7cb9ff] text-black',
+ };
+
+ const icons = {
+ success:
{message}
+ +