File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 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__;
2020
2121const store = configureStore ( initialState ) ;
2222
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+
2337const App = ( ) => (
2438 < >
2539 < Router history = { browserHistory } >
Original file line number Diff line number Diff line change @@ -151,3 +151,10 @@ textarea:focus {
151151 white-space : nowrap ;
152152 width : 1px ;
153153}
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