File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,20 @@ const initialState = window.__INITIAL_STATE__;
20
20
21
21
const store = configureStore ( initialState ) ;
22
22
23
+ // Add a banner to the page
24
+ const banner = document . createElement ( 'div' ) ;
25
+ banner . id = 'processing-banner' ;
26
+ document . body . appendChild ( banner ) ;
27
+
28
+ const link = document . createElement ( 'link' ) ;
29
+ link . rel = 'stylesheet' ;
30
+ link . href = 'https://foundation-donate-banner.netlify.app/static/css/main.css' ;
31
+ document . head . appendChild ( link ) ;
32
+
33
+ const script = document . createElement ( 'script' ) ;
34
+ script . src = 'https://foundation-donate-banner.netlify.app/static/js/main.js' ;
35
+ document . body . appendChild ( script ) ;
36
+
23
37
const App = ( ) => (
24
38
< >
25
39
< Router history = { browserHistory } >
Original file line number Diff line number Diff line change @@ -151,3 +151,10 @@ textarea:focus {
151
151
white-space : nowrap ;
152
152
width : 1px ;
153
153
}
154
+
155
+
156
+ // Donate banner custom properties
157
+ body {
158
+ --donate-banner-dark : #c01c4c ;
159
+ --donate-banner-background : url (' https://foundation-donate-banner.netlify.app/p5.png' );
160
+ }
You can’t perform that action at this time.
0 commit comments