From 8dd7a5231d035540efbe69aa193a19e977fef594 Mon Sep 17 00:00:00 2001 From: Wissarut Kanasub Date: Sat, 11 Nov 2023 13:10:35 +0700 Subject: [PATCH] Redo eisenhower matrix for better look --- .../the_eisenhower_matrix/Eisenhower.jsx | 58 ++++++------------- 1 file changed, 19 insertions(+), 39 deletions(-) diff --git a/frontend/src/components/the_eisenhower_matrix/Eisenhower.jsx b/frontend/src/components/the_eisenhower_matrix/Eisenhower.jsx index 890aae0..ba1a1e3 100644 --- a/frontend/src/components/the_eisenhower_matrix/Eisenhower.jsx +++ b/frontend/src/components/the_eisenhower_matrix/Eisenhower.jsx @@ -1,47 +1,27 @@ import React from 'react'; -// Styles for row headers -const rowHeaderStyle = "bg-pink-300 text-pink-700 p-4 rounded-lg font-semibold text-lg shadow-md"; - -// Styles for column headers -const columnHeaderStyle = "bg-blue-300 text-blue-700 p-4 rounded-lg font-semibold text-lg shadow-md"; - -// Styles for content cells in green -const greenContextStyle = "bg-green-300 text-green-700 p-4 rounded-lg text-lg shadow-md"; - -// Styles for content cells in yellow -const yellowContextStyle = "bg-yellow-300 text-yellow-700 p-4 rounded-lg text-lg shadow-md"; +function EachBlog({ name, colorCode }) { + return ( +
+
+ {name} +
+
+ content +
+
+ ); +} function Eisenhower() { return ( -
-
- Eisenhower Matrix -
- {/* Row Headers */} -
Important
-
Not Important
- - {/* Column Headers */} -
Urgent
- - {/* Content Cells */} -
- Urgent & Important -
-
- Urgent & Not Important -
- - {/* Column Headers */} -
Not Urgent
- - {/* Content Cells */} -
- Not Urgent & Important -
-
- Not Urgent & Not Important +
+

The Eisenhower Matrix

+
+ + + +
);