diff --git a/src/components/Separator.jsx b/src/components/Separator.jsx
index 05efc82..c546cbe 100644
--- a/src/components/Separator.jsx
+++ b/src/components/Separator.jsx
@@ -1,7 +1,7 @@
function Separator() {
return (
)
}
diff --git a/src/pages/Home.jsx b/src/pages/Home.jsx
index 540e0d2..e289ffe 100644
--- a/src/pages/Home.jsx
+++ b/src/pages/Home.jsx
@@ -1,25 +1,33 @@
import FormBox from "../components/FormBox";
import { useTranslation } from "react-i18next";
+import { getUserInfoFromSession } from "../util/util";
function Home() {
const { t } = useTranslation();
const holidayList = [{ date: '23 May, 2024', name: 'Buddha Purnima' }, { date: '15 June, 2024', name: 'Raja Sankranti' }];
const homePageNotifications = ['hpn_complete_before_31', 'hpn_npa', 'hpn_helpdesk_contact', 'hpn_rupay_kcc_time', 'hpn_rupay_kcc_atm'];
+ const userInformation = getUserInfoFromSession();
return (
-
+
-
- Welcome to the Home Page
+
+
+ {holidayList.map((holiday, index) => (
+ - {t(holiday.date)} - {t(holiday.name)}
+ ))}
+
-
-
- {holidayList.map((holiday, index) => (
- - {holiday.date} - {holiday.name}
- ))}
+
+
+ {
+ Object.keys(userInformation).map((key, index) => (
+ - {t(key)}: {t(userInformation[key])}
+ ))
+ }
@@ -29,13 +37,12 @@ function Home() {
{homePageNotifications.map((notification, index) => (
- - {t(notification)}
+ - {t(notification)}
))}
-
);
}
diff --git a/tailwind.config.js b/tailwind.config.js
index b3b579d..0e5395e 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -12,18 +12,23 @@ export default {
transparent: 'transparent',
primary: {
DEFAULT: '#008C46',
- dark: '#6affb4'
+ // dark: '#6affb4'
+ dark: '#E6F4E1'
},
secondary: {
DEFAULT: '#B1E1B3',
- dark: '#20542f',
- // dark: '#3d9f59',
- variant: {DEFAULT: '#80AE82', dark: '#5F8E5F'}
+ // dark: '#20542f',
+ dark: '#7DBD80',
+ variant: {DEFAULT: '#80AE82', dark: '#5B875D'}
+ },
+ tertiary: {
+ DEFAULT: '#f2f2df',
+ dark: '#3d3d29',
},
surface: {
DEFAULT: '#F6F6F6',
- dark: '#2d3133',
- variant: {DEFAULT: '#F4FFF4', dark: '#3e4345'}
+ dark: '#2d332d',
+ variant: {DEFAULT: '#F4FFF4', dark: '#2b372c'}
},
},