File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React, { useState } from 'react';
22import { Link , useNavigate } from 'react-router-dom' ;
33import { useAuth } from '../context/AuthContext' ;
44import { FiActivity , FiLock , FiUser , FiAlertCircle } from 'react-icons/fi' ;
5+ import appConfig from '../config/appConfig' ;
56
67const Login = ( ) => {
78 const [ formData , setFormData ] = useState ( {
@@ -49,18 +50,18 @@ const Login = () => {
4950 < div className = "flex justify-center" >
5051 < FiActivity className = "h-12 w-12 text-primary-600" />
5152 </ div >
52- < h2 className = "mt-6 text-3xl font-extrabold text-gray-900 dark:text-white" > PowerPulse </ h2 >
53+ < h2 className = "mt-6 text-3xl font-extrabold text-gray-900 dark:text-white" > { appConfig . appName } </ h2 >
5354 < p className = "mt-2 text-sm text-gray-600 dark:text-gray-400" >
5455 Sign in to your account to access your UPS monitoring dashboard
5556 </ p >
5657 < p className = "mt-1 text-xs text-gray-500 dark:text-gray-500" >
57- v1.8.0 by < a
58- href = "https://github.com/blink-zero"
58+ v { appConfig . version } by < a
59+ href = { appConfig . githubUrl }
5960 target = "_blank"
6061 rel = "noopener noreferrer"
6162 className = "text-primary-600 hover:text-primary-500 dark:text-primary-400 dark:hover:text-primary-300"
6263 >
63- blink-zero
64+ { appConfig . copyrightOwner }
6465 </ a >
6566 </ p >
6667 </ div >
You can’t perform that action at this time.
0 commit comments