From 22f949aaf8bb910812c30664d2a6ebf1f9c1d5a5 Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Thu, 3 Jul 2025 16:15:08 -0400 Subject: [PATCH] gussy up Notes --- components/Notes.tsx | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/components/Notes.tsx b/components/Notes.tsx index 0f2b8c5..92c988b 100644 --- a/components/Notes.tsx +++ b/components/Notes.tsx @@ -1,7 +1,7 @@ 'use client'; import { useMemo, useState } from 'react'; -import { ScrollText } from 'lucide-react'; +import { CircleX, ScrollText } from 'lucide-react'; import { useAppContext } from '@/app/AppContext'; import CopyButton from '@/components/CopyButton'; @@ -51,13 +51,24 @@ export default function Notes() { className={`transition-all duration-250 ${showNotes ? 'pointer-events-auto opacity-100' : 'pointer-events-none opacity-0'}`} >
note!.join('\n')).join('\n\n')} - className="text-yellow-400 hover:drop-shadow-[0_0_1px_#ffd700] absolute top-2 right-2 p-2 transition-all duration-250 bg-black/20 hover:bg-black/40 rounded-full cursor-pointer" + className={` + absolute top-2 right-2 + cursor-pointer p-2 + transition-all duration-250 + text-yellow-400 hover:text-yellow-300 hover:drop-shadow-[0_0_3px_#ffd700] + `} /> -
+
{notes.map((note, index) => (
@@ -70,6 +81,17 @@ export default function Notes() { ))}
+
);