From 4daf75869fee470b97f1f9c44587c40e5b7a603f Mon Sep 17 00:00:00 2001 From: Joel Villarino Date: Sat, 3 Feb 2024 14:59:45 -0600 Subject: [PATCH] HomeUI styling completed --- client/src/pages/Home/Home.tsx | 18 +++++++++--------- client/tailwind.config.js | 3 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/client/src/pages/Home/Home.tsx b/client/src/pages/Home/Home.tsx index eadfbd3..aacc68b 100644 --- a/client/src/pages/Home/Home.tsx +++ b/client/src/pages/Home/Home.tsx @@ -91,14 +91,14 @@ const Home: React.FC = () => { return (
-

+

Calculate Your Impact

-
+
- +
{ name="companyName" value={formData.companyName} onChange={handleInputChange} - placeholder="Enter your company name" - className="input input-bordered w-full max-w-xs mt-3 rounded-full border-white" + placeholder="Enter company name" + className="input input-bordered w-full bg-white bg-opacity-70 max-w-xs mt-3 rounded-full border-black text-black" // required />
{/* Updated this line */} - +
{ value={formData.donationAmt} onKeyPress={handleKeyPress} onChange={handleInputChange} - placeholder="Enter a number" - className="input input-bordered w-full max-w-xs mt-3 rounded-full border-white" + placeholder="Enter amount" + className="input input-bordered w-full bg-white bg-opacity-70 max-w-xs mt-3 rounded-full border-black text-black" required />
- +
diff --git a/client/tailwind.config.js b/client/tailwind.config.js index 320c598..e0a31b0 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -9,6 +9,9 @@ export default { 'blue': '#015191', 'purple': '#804B67', 'red': '#EF4643', + 'yellow': '#FFB351', + 'orange':'#FF7C45' + } }, },