added surveys

This commit is contained in:
Dobromir Popov
2024-06-17 15:18:28 +03:00
parent 4da00d4ec3
commit 94597e2440
6 changed files with 453 additions and 310 deletions

View File

@ -1,5 +1,9 @@
import { UserRole } from "@prisma/client";
// import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
// import { faStar } from '@fortawesome/free-solid-svg-icons'; // Star icon
// import { faClipboardList } from '@fortawesome/free-solid-svg-icons'; // Clipboard icon
import { FaStar } from 'react-icons/fa'; // Import FontAwesome icons
const sidemenu = [
@ -103,6 +107,19 @@ const sidemenu = [
text: "Календар",
url: "/cart/calendar",
roles: [UserRole.ADMIN, UserRole.POWERUSER],
},
{
id: "surveys",
// text: "Анкети",
// add new icon before text
// text: "Анкети",
text: (
<span>
<FaStar className="inline-block mr-2" />
Анкети
</span>
),
url: "/cart/surveys",
}, {
id: "cart-reports",
text: "Отчети",