From 922f2968d7566578f85ed1c75de382f71af81d7b Mon Sep 17 00:00:00 2001 From: nessi Date: Tue, 3 Feb 2026 10:54:43 +0100 Subject: [PATCH] Refactor components to use reusable `PaperCard`. Introduced a new `PaperCard` component for consistent and reusable card styling across the app, replacing inline card styles. Added subtle animations and paper edge effects to enhance the visual design and provide a polished user experience. Updated existing components to integrate with the new `PaperCard` while maintaining backward compatibility. --- frontend/src/App.jsx | 163 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 140 insertions(+), 23 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index c9c9661..c1b1dd6 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -19,6 +19,16 @@ function cycleTag(tag) { return null; } +function PaperCard({ children, style }) { + return ( +
+