- {curGrant.attachments.map((attachment, index) => (
-
+ {grant.attachments.map((attachment, index) => (
+
{attachment.attachment_name || attachment.url}
@@ -280,7 +250,7 @@ const GrantItem: React.FC = observer(({ grant }) => {
{
label: "Cost Analysis Calculator",
item: (
-
+
),
},
]}
diff --git a/frontend/src/main-page/grants/new-grant/AddGrant.tsx b/frontend/src/main-page/grants/new-grant/AddGrant.tsx
index e853ef3..8c5afb9 100644
--- a/frontend/src/main-page/grants/new-grant/AddGrant.tsx
+++ b/frontend/src/main-page/grants/new-grant/AddGrant.tsx
@@ -1,12 +1,10 @@
-import '../styles/GrantButton.css';
+import Button from '../../settings/components/Button.tsx';
// TODO: Fix 'any' typing here
const AddGrantButton = ({ onClick } : any) => {
return (
-
+
);
};
diff --git a/frontend/src/main-page/grants/styles/GrantButton.css b/frontend/src/main-page/grants/styles/GrantButton.css
deleted file mode 100644
index b270a22..0000000
--- a/frontend/src/main-page/grants/styles/GrantButton.css
+++ /dev/null
@@ -1,25 +0,0 @@
-.grant-button {
- color: black;
-
- /* Shape and layout */
- border-radius: 0.85rem;
- padding: 0.5rem 1.2rem;
- align-items: center;
- cursor: pointer;
- height: 42px;
- font-size: var(--font-size-base);
- transition: opacity 0.2s ease-in-out;
- }
-
- .add-grant-button {
- width: 168.42px;
- font-weight: 600;
- border-color: transparent;
- }
-
-
- .grant-button:hover {
- opacity: 0.8;
- }
-
-
\ No newline at end of file
diff --git a/frontend/src/main-page/grants/styles/GrantSearch.css b/frontend/src/main-page/grants/styles/GrantSearch.css
index fe6b4fb..eaa7d3d 100644
--- a/frontend/src/main-page/grants/styles/GrantSearch.css
+++ b/frontend/src/main-page/grants/styles/GrantSearch.css
@@ -1,5 +1,5 @@
.search-bar-main-container {
- min-width: 300px;
+ width: 100%;
min-width: 300px;
}
@@ -22,8 +22,9 @@
color: black;
padding: 8px;
border-radius: 15px;
- border: 0.1rem solid black;
+ border: 0.1rem solid var(--color-grey-500);
width: 100%;
+ background-color: var(--color-grey-100);
}
.search-input:focus {
diff --git a/frontend/src/main-page/restricted/RestrictedPage.tsx b/frontend/src/main-page/restricted/RestrictedPage.tsx
index 570431a..f52c378 100644
--- a/frontend/src/main-page/restricted/RestrictedPage.tsx
+++ b/frontend/src/main-page/restricted/RestrictedPage.tsx
@@ -16,7 +16,7 @@ function RestrictedPage() {