Skip to content

Commit 5eed8c8

Browse files
authored
Merge pull request #582 from Stefterv/donate-banner
added donation banner
2 parents 5b38303 + 1ad9088 commit 5eed8c8

File tree

2 files changed

+9
-0
lines changed

2 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
@@ -22,4 +22,10 @@
2222

2323
.withBreadcrumbs {
2424
padding-top: var(--vertical-margin-xsmall);
25+
}
26+
27+
/* Foundation donate banner custom properties */
28+
body{
29+
--donate-banner-dark: #182998;
30+
--donate-banner-background: var(--donate-processing-background)
2531
}

0 commit comments

Comments
 (0)