File tree 3 files changed +17
-6
lines changed
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 62
62
if ( window . location . hostname != "localhost" ) {
63
63
firebase . analytics ( ) ;
64
64
} else {
65
- console . log ( "GA Disabled with localhost" ) ;
65
+ console . log ( "%c FIREBASE %c GA Disabled with localhost" , "background-color: #F57C00; color: #ffffff;" , " ") ;
66
66
}
67
67
</ script >
68
68
</ html >
Original file line number Diff line number Diff line change @@ -81,6 +81,12 @@ class Projects extends Component<ProjectsProps, ProjectsState> {
81
81
}
82
82
83
83
async loadStats ( ) {
84
+ console . log (
85
+ "%c GITHUB %c Fetching GitHub API (omega-numworks/repos)" ,
86
+ "background-color: #000000; color: #ffffff;" ,
87
+ ""
88
+ ) ;
89
+
84
90
const TIMER_LABEL = "GitHub API Response delay" ;
85
91
console . time ( TIMER_LABEL ) ;
86
92
await octokit
Original file line number Diff line number Diff line change 1
- import React from ' react' ;
2
- import ReactDOM from ' react-dom' ;
3
- import ' ./index.css' ;
4
- import App from ' ./App' ;
1
+ import React from " react" ;
2
+ import ReactDOM from " react-dom" ;
3
+ import " ./index.css" ;
4
+ import App from " ./App" ;
5
5
// import * as serviceWorker from './serviceWorker';
6
6
7
- ReactDOM . render ( < App /> , document . getElementById ( 'root' ) ) ;
7
+ console . log (
8
+ "%cOmega" ,
9
+ "font-family: Righteous, sans-serif; color: #c53431; font-size: 24px; line-height: 2; margin-bottom: 4px"
10
+ ) ;
11
+
12
+ ReactDOM . render ( < App /> , document . getElementById ( "root" ) ) ;
8
13
9
14
// If you want your app to work offline and load faster, you can change
10
15
// unregister() to register() below. Note this comes with some pitfalls.
You can’t perform that action at this time.
0 commit comments