summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Shetye2024-03-07 17:05:15 +0530
committerSunil Shetye2024-03-07 17:05:15 +0530
commit90204a2b8a495f86aac982741512ef95d216c201 (patch)
tree6e334e6b598986ac77d30d7e9607d6c35b961957
parent2c7abd489b1c221aaacffdb57297c3d80dcb45e6 (diff)
downloadCommon-Interface-Project-90204a2b8a495f86aac982741512ef95d216c201.tar.gz
Common-Interface-Project-90204a2b8a495f86aac982741512ef95d216c201.tar.bz2
Common-Interface-Project-90204a2b8a495f86aac982741512ef95d216c201.zip
add favicon
-rw-r--r--blocks/eda-frontend/public/favicon.icobin0 -> 58552 bytes
-rw-r--r--blocks/eda-frontend/public/index.html2
-rw-r--r--blocks/eda-frontend/src/components/Dashboard/DashboardHome.js3
-rw-r--r--blocks/eda-frontend/src/pages/NotFound.js3
4 files changed, 5 insertions, 3 deletions
diff --git a/blocks/eda-frontend/public/favicon.ico b/blocks/eda-frontend/public/favicon.ico
new file mode 100644
index 00000000..eb34764a
--- /dev/null
+++ b/blocks/eda-frontend/public/favicon.ico
Binary files differ
diff --git a/blocks/eda-frontend/public/index.html b/blocks/eda-frontend/public/index.html
index fc7459e5..a428f8ce 100644
--- a/blocks/eda-frontend/public/index.html
+++ b/blocks/eda-frontend/public/index.html
@@ -22,7 +22,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
- <title>EDA</title>
+ <title>%REACT_APP_NAME%</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
diff --git a/blocks/eda-frontend/src/components/Dashboard/DashboardHome.js b/blocks/eda-frontend/src/components/Dashboard/DashboardHome.js
index fb1c78e5..32931a90 100644
--- a/blocks/eda-frontend/src/components/Dashboard/DashboardHome.js
+++ b/blocks/eda-frontend/src/components/Dashboard/DashboardHome.js
@@ -22,13 +22,14 @@ const useStyles = makeStyles((theme) => ({
function MainCard () {
const classes = useStyles()
const auth = useSelector(state => state.authReducer)
+ const dashboard = process.env.REACT_APP_NAME
const button = 'My ' + process.env.REACT_APP_DIAGRAMS_NAME
return (
<Card className={classes.mainHead}>
<CardContent>
<Typography className={classes.title} gutterBottom>
- Welcome to your EDA Dashboard
+ Welcome to your {dashboard} Dashboard
</Typography>
<Typography variant='h5' component='h2'>
Welcome {auth.user.username}...
diff --git a/blocks/eda-frontend/src/pages/NotFound.js b/blocks/eda-frontend/src/pages/NotFound.js
index 4eda146b..0dcff9c4 100644
--- a/blocks/eda-frontend/src/pages/NotFound.js
+++ b/blocks/eda-frontend/src/pages/NotFound.js
@@ -12,9 +12,10 @@ const useStyles = makeStyles((theme) => ({
export default function NotFound () {
const classes = useStyles()
+ const name = process.env.REACT_APP_NAME
useEffect(() => {
- document.title = 'Not Found - EDA '
+ document.title = 'Not Found - ' + name
})
return (