From 294814d131266ff44ba6994c1f790234c002f9d5 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Sat, 6 Sep 2025 03:07:06 +0200 Subject: [PATCH] Refactor CloseIcon link to improve accessibility and maintainability --- components/window.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/window.tsx b/components/window.tsx index db05758..8da6d6b 100644 --- a/components/window.tsx +++ b/components/window.tsx @@ -1,3 +1,4 @@ +import Link from "next/link"; import React from "react"; const CloseIcon = () => ( @@ -64,12 +65,14 @@ export default function Window({
-
+ -
+ - {/* Content Area */}
{children}
);