alert("edit personal info")}
+ onClick={() => alert("edit grant info")}
className="bg-white text-black border-2 border-grey-500"
logo={faPenToSquare}
logoPosition="right"
diff --git a/frontend/src/main-page/grants/new-grant/AddGrant.tsx b/frontend/src/main-page/grants/new-grant/AddGrant.tsx
index 8c5afb9b..f86d1082 100644
--- a/frontend/src/main-page/grants/new-grant/AddGrant.tsx
+++ b/frontend/src/main-page/grants/new-grant/AddGrant.tsx
@@ -1,4 +1,4 @@
-import Button from '../../settings/components/Button.tsx';
+import Button from '../../../components/Button.tsx';
// TODO: Fix 'any' typing here
const AddGrantButton = ({ onClick } : any) => {
diff --git a/frontend/src/main-page/grants/new-grant/POCEntry.tsx b/frontend/src/main-page/grants/new-grant/POCEntry.tsx
deleted file mode 100644
index b280a893..00000000
--- a/frontend/src/main-page/grants/new-grant/POCEntry.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { forwardRef, useImperativeHandle, useState } from "react";
-import "../styles/NewGrantModal.css";
-
-const POCEntry = forwardRef((_props, ref) => {
- const [poc, setPoc] = useState("");
- const [pocType, setPocType] = useState("Email");
- const [inputType, setInputType] = useState("email");
-
- useImperativeHandle(ref, () => ({
- getPOC: () => `${pocType}: ${poc}`,
- }));
-
- const handlePOCType = (e: { target: { value: any } }) => {
- const val = e.target.value;
- setPocType(val);
- if (val === "Email") {
- setInputType("email");
- setPoc("");
- } else if (val === "Phone Number") {
- setInputType("tel");
- setPoc("");
- } else {
- setInputType("text");
- }
- };
-
- return (
-
-
- Email
- Phone Number
-
- setPoc(e.target.value)}
- />
-
- );
-});
-
-export default POCEntry;
diff --git a/frontend/src/main-page/grants/styles/CostBenefitAnalysis.css b/frontend/src/main-page/grants/styles/CostBenefitAnalysis.css
deleted file mode 100644
index a48e2456..00000000
--- a/frontend/src/main-page/grants/styles/CostBenefitAnalysis.css
+++ /dev/null
@@ -1,27 +0,0 @@
-.cost-benefit-analysis {
- width: 100%;
-}
-
-.cost-benefit-container {
- min-height: 200px;
-}
-
-.cost-benefit-analysis input[type="number"] {
- appearance: textfield;
- -moz-appearance: textfield;
-}
-
-.cost-benefit-analysis input[type="number"]::-webkit-outer-spin-button,
-.cost-benefit-analysis input[type="number"]::-webkit-inner-spin-button {
- -webkit-appearance: none;
- margin: 0;
-}
-
-.cost-benefit-analysis button:hover {
- opacity: 0.9;
- transition: opacity 0.2s;
-}
-
-.cost-benefit-analysis button::-webkit-scrollbar {
- display: none; /* Chrome/Safari/Opera */
-}
\ No newline at end of file
diff --git a/frontend/src/main-page/grants/styles/GrantAttributes.css b/frontend/src/main-page/grants/styles/GrantAttributes.css
deleted file mode 100644
index 965de9d9..00000000
--- a/frontend/src/main-page/grants/styles/GrantAttributes.css
+++ /dev/null
@@ -1,31 +0,0 @@
-.grant-attributes {
- padding: 1rem;
- border-radius: 15px;
- margin-top: 4rem;
- height: 30%;
- margin-right: 1rem;
-}
-
-.attribute-row {
- display: flex;
- justify-content: space-between;
- margin-bottom: 1rem;
-}
-
-.attribute-label {
- font-weight: bold;
- color:black;
- flex: 1;
- margin-right: 1rem;
-}
-
-.attribute-value {
- background-color: white;
- padding: 0.5rem;
- border: 0.1rem solid black;
- border-radius: 15px;
- width: 100px;
- height: 20px;
-}
-
-
diff --git a/frontend/src/main-page/grants/styles/GrantDetails.css b/frontend/src/main-page/grants/styles/GrantDetails.css
deleted file mode 100644
index 27e28d28..00000000
--- a/frontend/src/main-page/grants/styles/GrantDetails.css
+++ /dev/null
@@ -1,38 +0,0 @@
-.grant-details {
- display: flex;
- flex-direction: column; /* Stack the elements vertically */
- gap: 1rem; /* Add spacing between each section */
- }
-
- .grant-details h3 {
- margin-left: 0;
- text-align: left;
- padding-left: 1rem;
- margin-bottom: 0.1rem;
- }
-
- .grant-details p{
- border: 0.1rem solid black;
- border-radius: 15px;
- padding: 1rem;
- margin-bottom: 1rem;
- transition: border-color 0.3s ease;
- overflow-y: auto;
- margin-top: 0;
- }
-
-.grant-details textarea {
- width: 100%; /* Ensures full width */
- min-height: 100px; /* Sets a reasonable height */
- min-width: 100%;
- padding: 1rem; /* Matches padding */
- border: 0.1rem solid var(--color-primary-900);
- border-radius: 15px;
- transition: border-color 0.3s ease;
- overflow-y: auto;
- resize: vertical; /* Allows resizing */
- box-sizing: border-box; /* Prevents width issues due to padding */
-}
-
-
-
\ No newline at end of file
diff --git a/frontend/src/main-page/grants/styles/GrantItem.css b/frontend/src/main-page/grants/styles/GrantItem.css
deleted file mode 100644
index 861a2e05..00000000
--- a/frontend/src/main-page/grants/styles/GrantItem.css
+++ /dev/null
@@ -1,73 +0,0 @@
-.grant-item-wrapper {
- margin: 0.25rem 0rem;
- transition: all 0.3s ease-in-out;
- width: 100%;
-}
-
-.grant-summary {
- list-style-type: none;
- /* justify-content: space-between; */
- border-radius: 15px;
-
- background-color: var(--color-grey-150);
- /* margin: 0; Remove margin */
- transition: background-color 0.2s ease;
- border: 0.1rem solid var(--color-primary-900);
-}
-
-.grant-summary.expanded {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- width: 100%;
-}
-
-.grant-summary li {
- /* padding: 0 1rem; internal to the actual data */
- color: black;
- /* margin: 0; Remove margin */
-}
-
-.grant-content {
- display: flex;
- gap: 2rem; /* Adds space between the two sections */
- width: 100%;
- margin: 0;
- align-items: stretch;
-}
-
-.grant-content .grant-details {
- flex: 1; /* this child takes up leftover horizontal space */
- min-width: 0; /* prevent overflow from long content */
-}
-
-.grant-body {
- max-height: 0; /* Collapsed state */
- min-height: 0;
- overflow: hidden;
- transition: max-height 1s ease, background-color 0.2s ease;
- border-bottom-right-radius: 15px;
- border-bottom-left-radius: 15px;
-}
-
-.grant-body.expanded {
- max-height: 100%;
- padding: 1rem;
- border: 0.1rem solid var(--color-primary-900);
- border-top-width: 0cap;
-}
-
-.grant-item.expanded {
- flex-direction: column;
- max-height: 5rem;
-}
-
-.bottom-buttons {
- display: flex; /* Use flexbox to position the button */
- justify-content: flex-end; /* Align the button to the right */
- padding-top: 1rem; /* Optional: Add some space above the button */
-}
-
-.gray-label {
- color: black;
- background-color: var(--color-grey-400);
-}
diff --git a/frontend/src/main-page/grants/styles/GrantLabels.css b/frontend/src/main-page/grants/styles/GrantLabels.css
deleted file mode 100644
index 78a2a5b1..00000000
--- a/frontend/src/main-page/grants/styles/GrantLabels.css
+++ /dev/null
@@ -1,10 +0,0 @@
-.grant-labels {
- /* display: flex; */
- /* list-style-type: none; */
- /* justify-content: space-between; */
- color: black;
-}
-
-.grant-labels button {
- background-color: transparent;
-}
\ No newline at end of file
diff --git a/frontend/src/main-page/grants/styles/GrantList.css b/frontend/src/main-page/grants/styles/GrantList.css
deleted file mode 100644
index ddc90dd9..00000000
--- a/frontend/src/main-page/grants/styles/GrantList.css
+++ /dev/null
@@ -1,9 +0,0 @@
-.grant-list {
- display: flex;
- height: 100%;
- flex-direction: column;
- justify-content: space-around;
- border-radius: 15px;
- background: var(--color-primary-700);
-/* padding: 0.5em; */
-}
diff --git a/frontend/src/main-page/grants/styles/GrantPage.css b/frontend/src/main-page/grants/styles/GrantPage.css
deleted file mode 100644
index b92f7146..00000000
--- a/frontend/src/main-page/grants/styles/GrantPage.css
+++ /dev/null
@@ -1,43 +0,0 @@
-html, body {
- margin: 0;
- padding: 0;
- height: 100%;
- overflow-x: hidden;
-}
-
-/* Main container styling */
-.grant-page {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- background-color: -var(--color-grey-150);
- width: 100%;
- height: 100%;
- overflow-y: auto;
- padding-bottom: 1em;
-}
-
-.sortbar {
- border-radius: 15px;
-}
-
-/* Main actions on the grant list (SEARCH, FILTER, ADD) */
-.action-bar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- height: 125px;
- padding: 1rem 2rem 1rem 2rem;
-}
-
-.right-action-bar {
- display: flex;
- align-items: center;
- justify-content: space-between;
-}
-
-.bot-half {
- display: flex;
- flex-direction: column;
-}
diff --git a/frontend/src/main-page/grants/styles/GrantSearch.css b/frontend/src/main-page/grants/styles/GrantSearch.css
deleted file mode 100644
index eaa7d3df..00000000
--- a/frontend/src/main-page/grants/styles/GrantSearch.css
+++ /dev/null
@@ -1,38 +0,0 @@
-.search-bar-main-container {
- width: 100%;
- min-width: 300px;
-}
-
-.search-container {
- position: relative;
- display: flex;
- align-items: center;
- gap: 8px;
- height: 42px;
-}
-
-.search-input-container {
- position: relative;
- width: 100%;
- border: 0px solid black;
- border-radius: 15px;
-}
-
-.search-input {
- color: black;
- padding: 8px;
- border-radius: 15px;
- border: 0.1rem solid var(--color-grey-500);
- width: 100%;
- background-color: var(--color-grey-100);
-}
-
-.search-input:focus {
- outline: none !important;
- border:0.1rem solid var(--color-primary-800);
-}
-
-
-.filter-state {
- color: whitesmoke;
-}
\ No newline at end of file
diff --git a/frontend/src/main-page/navbar/Bell.tsx b/frontend/src/main-page/navbar/Bell.tsx
index 81f2dc0b..93ec4228 100644
--- a/frontend/src/main-page/navbar/Bell.tsx
+++ b/frontend/src/main-page/navbar/Bell.tsx
@@ -45,14 +45,14 @@ const BellButton: React.FC = observer(({ setOpenModal, openModa
return (
{notifications.length > 0 && (
{
};
return (
-
+
{/* Logo at top */}
-
+
{NavBarBranding.name}
diff --git a/frontend/src/main-page/navbar/styles/AccountInfo.css b/frontend/src/main-page/navbar/styles/AccountInfo.css
deleted file mode 100644
index 13c0b048..00000000
--- a/frontend/src/main-page/navbar/styles/AccountInfo.css
+++ /dev/null
@@ -1,102 +0,0 @@
-
-.account-modal {
- position: absolute;
- top: 70px;
- right: 20px;
- z-index: 9999;
- min-width: 350px;
- max-width: 480px;
-}
-
-.account-popup {
- position: absolute;
- padding: 20px 40px;
- background-color: white;
- border: 1px solid black;
- border-radius: 8px;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
- z-index: 9999;
-}
-
-.popup-header {
- color: black;
- font-size: 22px;
- font-style: normal;
- font-weight: 100;
- line-height: normal;
- margin-bottom: 16px;
- margin-top: 0;
- letter-spacing: -0.5px;
- z-index: 1000;
-}
-
-.account-info {
- display: flex;
- flex-direction: column;
- gap: 10px;
- margin-bottom: 20px;
- border-left: 4px solid var(--color-primary-800);
- padding-left: 20px;
- z-index: 1000;
-}
-
-.info-row {
- display: flex;
- align-items: center;
- font-size: 14px;
- gap: 12px;
- z-index: 1000;
-}
-
-.info-label {
- color: gray;
- font-size: 15px;
- font-style: normal;
- font-weight: 700;
- line-height: normal;
- z-index: 1000;
-}
-
-.info-value {
- color: black;
-font-size: 15px;
-font-style: normal;
-font-weight: 400;
-line-height: normal;
-z-index: 1000;
-}
-
-.button-container {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 16px;
- margin-top: 16px;
- z-index: 1000;
-}
-
-.user-list-btn {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 10px 20px;
- background: white;
- border: 2px solid var(--color-grey-700);
- border-radius: 10px;
- font-size: 14px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.2s ease;
- color: var(--color-grey-700);
-}
-
-.user-list-btn:hover {
- background: var(--color-grey-100);
- transform: translateY(-1px);
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
-}
-
-.user-icon {
- width: 18px;
- height: 18px;
-}
diff --git a/frontend/src/main-page/navbar/styles/Header.css b/frontend/src/main-page/navbar/styles/Header.css
deleted file mode 100644
index 4fc51a69..00000000
--- a/frontend/src/main-page/navbar/styles/Header.css
+++ /dev/null
@@ -1,53 +0,0 @@
-.header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 100%; /* Fill up entire container */
- font-size: 1.2rem;
- margin-bottom:16px;
- padding: 1rem 3rem 1rem 3rem;
-}
-
-.header-right-comp {
- display: flex;
- width:100%;
- justify-content: space-between;
- align-items: center;
- text-align: center;
- margin-left: 30px;
-}
-
-.header-left-comp {
- display: flex;
- margin-right: 3rem;
- align-items: center;
- list-style-type: none; /* this is a placeholder */
-}
-
-.header-button {
- color: black;
- border-radius: 0.7rem;
- width: 125px;
- padding: 2px;
-}
-
-.header-button-selected {
- font-weight: 600;
- color: black;
- background-color: var(--color-primary-700);
- border: 0.1rem black solid;
-}
-
-.grant-buttons a {
- color: black;
-}
-
-.grant-buttons li {
- flex-basis: 20%;
-}
-
-
-.logo {
- max-width: 100%;
- height: 5rem;
-}
\ No newline at end of file
diff --git a/frontend/src/main-page/settings/Settings.tsx b/frontend/src/main-page/settings/Settings.tsx
index 1bf0b6dd..1c76c69c 100644
--- a/frontend/src/main-page/settings/Settings.tsx
+++ b/frontend/src/main-page/settings/Settings.tsx
@@ -1,4 +1,4 @@
-import Button from "./components/Button";
+import Button from "../../components/Button";
import InfoCard from "./components/InfoCard";
import logo from "../../images/logo.svg";
import { faPenToSquare } from "@fortawesome/free-solid-svg-icons";
@@ -60,10 +60,10 @@ export default function Settings() {
]}
/>
-
+
Change Password
-
+
Re-enter your current password in order to change your password.
diff --git a/frontend/src/main-page/settings/SettingsPage.tsx b/frontend/src/main-page/settings/SettingsPage.tsx
deleted file mode 100644
index 41640178..00000000
--- a/frontend/src/main-page/settings/SettingsPage.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-function SettingsPage() {
- return (
-
-
Settings
-
Placeholder page! :D
-
- );
-}
-
-export default SettingsPage;
\ No newline at end of file
diff --git a/frontend/src/sign-up/LoginPrompt.tsx b/frontend/src/sign-up/LoginPrompt.tsx
index 81bd6c44..9186c3ce 100644
--- a/frontend/src/sign-up/LoginPrompt.tsx
+++ b/frontend/src/sign-up/LoginPrompt.tsx
@@ -13,7 +13,7 @@ export default function LoginPrompt() {
navigate("/login")}
- className="font-medium text-secondary-500 hover:underline"
+ className="font-medium text-secondary-500 hover:underline border-none"
>
Log in here
diff --git a/frontend/src/sign-up/PasswordField.tsx b/frontend/src/sign-up/PasswordField.tsx
index e0555baf..671389af 100644
--- a/frontend/src/sign-up/PasswordField.tsx
+++ b/frontend/src/sign-up/PasswordField.tsx
@@ -77,8 +77,8 @@ export default function PasswordField({
diff --git a/frontend/src/sign-up/SignUpButton.tsx b/frontend/src/sign-up/SignUpButton.tsx
index 2cc2f7e6..0ea53f20 100644
--- a/frontend/src/sign-up/SignUpButton.tsx
+++ b/frontend/src/sign-up/SignUpButton.tsx
@@ -1,3 +1,5 @@
+import Button from "../components/Button";
+
type SignUpButtonProps = {
disabled?: boolean;
};
@@ -9,16 +11,15 @@ type SignUpButtonProps = {
*/
export default function SignUpButton({ disabled }: SignUpButtonProps) {
return (
-
{}}
+ className={`mt-8 w-full text-base font-bold text-white transition-opacity ${
disabled
? "cursor-not-allowed bg-primary-700 opacity-70"
: "bg-primary-900 hover:opacity-95"
- }`}
- >
- Sign Up
-
+ }`}/>
);
}
diff --git a/frontend/src/sign-up/SignUpForm.tsx b/frontend/src/sign-up/SignUpForm.tsx
index e86351c2..78d343fc 100644
--- a/frontend/src/sign-up/SignUpForm.tsx
+++ b/frontend/src/sign-up/SignUpForm.tsx
@@ -1,4 +1,4 @@
-import InputField from "./InputField";
+import InputField from "../components/InputField";
import PasswordField from "./PasswordField";
import PasswordRequirements from "./PasswordRequirements";
import SignUpButton from "./SignUpButton";
diff --git a/frontend/src/sign-up/index.ts b/frontend/src/sign-up/index.ts
index 5b3ec8bd..39dca3d0 100644
--- a/frontend/src/sign-up/index.ts
+++ b/frontend/src/sign-up/index.ts
@@ -1,5 +1,5 @@
export { default as BrandingPanel } from "./BrandingPanel";
-export { default as InputField } from "./InputField";
+export { default as InputField } from "../components/InputField";
export { default as LoginPrompt } from "./LoginPrompt";
export { default as PasswordField } from "./PasswordField";
export { default as PasswordRequirements } from "./PasswordRequirements";
diff --git a/frontend/src/styles/Footer.css b/frontend/src/styles/Footer.css
deleted file mode 100644
index fe1cce96..00000000
--- a/frontend/src/styles/Footer.css
+++ /dev/null
@@ -1,28 +0,0 @@
-.footer {
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- flex-direction: column;
- flex-grow: 1;
-
- border-color: var(--color-grey-100);
- width: 100%;
- padding: 1em;
-
- /* Text */
- font-size: var(--font-size-base);
- color: var(--color-grey-700);
-}
-
-.text-block {
- width: 50%;
- display: flex;
- flex-direction: column;
- padding: 8px;
-}
-
-.northeastern-uni-caption {
- font-size: var(--font-size-sm);
- line-height: 1rem;
- color: var(--color-grey-600);
-}
diff --git a/frontend/src/styles/button.css b/frontend/src/styles/button.css
deleted file mode 100644
index 1d556b9c..00000000
--- a/frontend/src/styles/button.css
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Optional: styling for the preview of the status button */
-.status-button-preview {
- cursor: pointer;
-}
-
-/* Button preview defaults */
-.button-default {
- color: black;
- text-align: center;
- padding: 0.5rem 0;
- border-radius: 15px;
- z-index: 0;
-}
\ No newline at end of file
diff --git a/frontend/src/styles/index.css b/frontend/src/styles/index.css
index 4501a0d7..d255d631 100644
--- a/frontend/src/styles/index.css
+++ b/frontend/src/styles/index.css
@@ -31,12 +31,14 @@
--color-green-light: #D0FFEF;
--color-blue-dark: #006CA1;
+ --color-blue: #006CA1;
--color-blue-light: #D0EDFF;
--color-yellow-dark: #9B6000;
--color-yellow-light: #FFF0D3;
--color-red-dark: #C80000;
+ --color-red: #C80000;
--color-red-light: #FFD8D8;
--color-red-lightest: #FFF0F0;
@@ -143,6 +145,12 @@ button:focus-visible {
}
}
+input {
+ border-width: 2px;
+ background-color: white;
+}
+
input:focus {
- outline: 1px solid var(--color-primary-900);
+ border-color: var(--color-primary-900);
+ outline: transparent;
}
diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts
index bec42b29..435c6760 100644
--- a/frontend/tailwind.config.ts
+++ b/frontend/tailwind.config.ts
@@ -89,7 +89,7 @@ export default {
"9xl": "128rem",
},
borderWidth: {
- DEFAULT: "1.5px",
+ DEFAULT: "2px",
0: "0",
},
borderRadius: {