File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -79,13 +79,15 @@ function AboutWindow() {
7979 < div className = "p-3" >
8080 < p > Hey there! I'm
8181 < button
82- className = 'clean-button ml-1 underline'
83- onClick = { ( ) => openExternalLink ( 'https://twitter.com/ugupta41' ) } >
84- Ujjwal
85- </ button > who goes around with the name Slapbot in open source communities,
82+ className = 'clean-button ml-1 underline mb-0'
83+ onClick = { ( ) => openExternalLink ( 'https://slapbot.me/' ) } >
84+ Ujjwal</ button > who goes around with the name Slapbot in open source communities,
8685 You'd often find me blabbering my completely biased opinions in /r/soccer
8786 or busy building new things.</ p >
88- < p className = 'mt-1' > I'm most accessible via Twitter and tend to update about whatever
87+ < p className = 'mt-1' > I'm most accessible via < button
88+ className = 'clean-button ml-1 underline mb-0'
89+ onClick = { ( ) => openExternalLink ( 'https://twitter.com/ugupta41' ) } >
90+ Twitter</ button > and tend to update about whatever
8991 I'm working there, so feel free to follow or send a dm there. :) </ p >
9092 </ div >
9193
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ function Broadcast() {
2727 }
2828 }
2929 useEffect ( ( ) => {
30+ console . log ( "Current Version Running: " + config . version )
3031 getUpdates ( setValues )
3132 } , [ ] )
3233
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ import openExternalLink from "./utils/openExternalLink";
33import config from "./utils/config" ;
44
55function Navbar ( ) {
6+ function formatVersion ( version ) {
7+ return version . split ( "." ) . splice ( 0 , 2 ) . join ( "." )
8+ }
69 return (
710 < div className = "custom-border border-bottom" >
811 < div className = "mb-2" >
@@ -15,7 +18,7 @@ function Navbar() {
1518 < h4 >
1619 Powir
1720 </ h4 >
18- < span className = "badge ml-1 mt-0-3 text-sm" > v{ config . version } </ span >
21+ < span className = "badge ml-1 mt-0-3 text-sm" > v{ formatVersion ( config . version ) } </ span >
1922 </ div >
2023 < h5 className = "content-center ml-2" > Monitoring & Analyzing Your Battery ! </ h5 >
2124 </ div >
Original file line number Diff line number Diff line change 11export default {
2- version : '1.0' ,
2+ version : '1.0.0 ' ,
33 liteMode : process . env . REACT_APP_LITE_MODE === '1'
44}
You can’t perform that action at this time.
0 commit comments