diff --git a/frontend/src/pages/dashboard.tsx b/frontend/src/pages/dashboard.tsx index 11915f0..4598a8a 100644 --- a/frontend/src/pages/dashboard.tsx +++ b/frontend/src/pages/dashboard.tsx @@ -10,6 +10,7 @@ import BaseIcon from '../components/BaseIcon'; import { getPageTitle } from '../config'; import Link from 'next/link'; import { useTranslation } from 'next-i18next'; +import TableOrders from '../components/TableOrders'; import { hasPermission } from '../helpers/userPermissions'; import { fetchWidgets } from '../stores/roles/rolesSlice'; @@ -137,6 +138,13 @@ const Dashboard = () => { > {''} + {/* Welcome message under page title */} + {currentUser?.first_name && ( +

+ Welcome to VRES, {currentUser.first_name}! +

+)} + {hasPermission(currentUser, 'CREATE_ROLES') && ( { )} + ); }; diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index fdfd973..db55ca7 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -54,7 +54,7 @@ module.exports = { blue: '#244E5E', green: '#00B448', orange: '#FFAA00', - red: '#F20041', + red: '#BD021E', 900: '#141F2A', 800: '#4b5b66', 700: '#5e7785',