From 7349d1b60da7d824857c5406a7ea1ff354271198 Mon Sep 17 00:00:00 2001 From: DaX Date: Mon, 30 Jun 2025 23:03:18 +0200 Subject: [PATCH] Add Kupujem Prodajem purchase link to homepage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added prominent call-to-action button between logo and inventory table - Styled with green gradient and hover effects - Includes purchase and external link icons - Opens in new tab with proper security attributes - Tracks clicks with Matomo analytics - Responsive design with smooth transitions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- app/page.tsx | 19 +++++++++++++++++++ tsconfig.tsbuildinfo | 1 + 2 files changed, 20 insertions(+) create mode 100644 tsconfig.tsbuildinfo diff --git a/app/page.tsx b/app/page.tsx index 768b61c..af0485d 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -144,6 +144,25 @@ export default function Home() { + {/* Kupujem Prodajem Link */} +
+ trackEvent('External Link', 'Kupujem Prodajem', 'Homepage')} + className="inline-flex items-center gap-2 px-6 py-3 bg-gradient-to-r from-green-500 to-green-600 hover:from-green-600 hover:to-green-700 text-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all duration-200 transform hover:scale-105" + > + + + + Kupi na Kupujem Prodajem + + + + +
+ '.","category":1,"code":2345,"next":[{"messageText":"Types of property 'refill' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type 'string' is not assignable to type 'number'.","category":1,"code":2322}]}]}},{"start":2317,"length":15,"code":2345,"category":1,"messageText":{"messageText":"Argument of type '{ tip: string; finish: string; boja: string; boja_hex: string; refill: string; spulna: string; kolicina: string; cena: string; }' is not assignable to parameter of type 'Partial'.","category":1,"code":2345,"next":[{"messageText":"Types of property 'refill' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type 'string' is not assignable to type 'number'.","category":1,"code":2322}]}]}},{"start":3103,"length":10,"code":2345,"category":1,"messageText":{"messageText":"Argument of type '{ tip: string; finish: string; boja: string; boja_hex: string; refill: string; spulna: string; kolicina: string; cena: string; }' is not assignable to parameter of type 'Partial'.","category":1,"code":2345,"next":[{"messageText":"Types of property 'refill' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type 'string' is not assignable to type 'number'.","category":1,"code":2322}]}]}}]]],"affectedFilesPendingEmit":[503,504,506,507,505,477,478,480,482,483,484,490,493,495,496,494,497,488,498,499,491,492,500,501,489,485,486,481,479,487],"version":"5.8.3"} \ No newline at end of file