Skip to content

Commit

Permalink
Merge pull request #97 from code4romania/bugfix/make-matrix-publicly-…
Browse files Browse the repository at this point in the history
…accessible

Bugfix/make matrix publicly accessible
  • Loading branch information
gheorghelupu17 authored Dec 16, 2023
2 parents 0f8281d + 1aa69e6 commit 4855f17
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Evaluare ONG | Creștem.ONG</title>
</head>
Expand Down
Binary file added client/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion client/public/vite.svg

This file was deleted.

7 changes: 2 additions & 5 deletions client/src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ const Menu = () => {
console.log("userType", userType);
const menu = MENU[userType];

const linkClassName =
"flex flex-wrap border-b-2 border-transparent px-3 py-2 font-medium items-center text-gray-900 border-teal-600";

return (
<ul className="items-center hidden text-sm gap-x-3 lg:flex lg:flex-wrap">
{menu.map((menuItem) => (
Expand All @@ -154,7 +151,7 @@ const Menu = () => {
);
};

const Example = () => {
const Navbar = () => {
const user = useAppSelector((state) => state.userState.user);

return (
Expand Down Expand Up @@ -194,4 +191,4 @@ const Example = () => {
);
};

export default Example;
export default Navbar;
2 changes: 1 addition & 1 deletion server/src/api/evaluation/controllers/evaluation.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = createCoreController(
""
)}${
dimensions[dimensionIndex]?.comment &&
`<p><b>Argumentare:</b> ${dimensions[dimensionIndex]?.comment}</p>`
`<div style="padding: 1em 0 1em 0"><b>Argumentare:</b> ${dimensions[dimensionIndex]?.comment}</p>`
}
<hr>
`;
Expand Down

1 comment on commit 4855f17

@vercel
Copy link

@vercel vercel bot commented on 4855f17 Dec 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

crestem-ong – ./

crestem-ong-git-main-code4romania.vercel.app
app.crestem.ong
crestem-ong-code4romania.vercel.app

Please sign in to comment.