Skip to content

Commit 5f78007

Browse files
committed
added donation banner
1 parent 3c2a566 commit 5f78007

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/components/Layout.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ const Layout = ({ children, withSidebar, withBreadcrumbs, mainClassName }) => {
6969

7070
return (
7171
<div className={css.root}>
72+
<div id="processing-banner" />
73+
<link rel="stylesheet" href="https://foundation-donate-banner.netlify.app/static/css/main.css" />
74+
<script src="https://foundation-donate-banner.netlify.app/static/js/main.js" ></script>
7275
<LayoutContext.Provider value={{ headerScrolled, currentHeading }}>
7376
<Helmet titleTemplate="%s / Processing.org" />
7477
<Header siteTitle="Processing" scrolled={headerScrolled} />

src/components/Layout.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
body{
2+
--donate-banner-dark: #182998;
3+
--donate-banner-background: url('../../static/img/wallpaper.png')
4+
}
5+
6+
17
.root {
28
display: flex;
39
flex-direction: column;

static/img/wallpaper.png

421 KB
Loading

0 commit comments

Comments
 (0)