Skip to content

Commit e9e9ef3

Browse files
authored
adding social banner (facebook#2683)
1 parent 0e72e40 commit e9e9ef3

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/__common.soy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ src="https://www.facebook.com/tr?id=1637165926500152&ev=PageView&noscript=1"
146146
<li><a href='https://github.com/facebook/buck'>GitHub</a>
147147
</ul>
148148
</nav></header>
149-
149+
<div class="socialBanner">
150+
Support Ukraine. <a href="https://opensource.fb.com/support-ukraine">Help Provide Humanitarian Aid to Ukraine</a>.
151+
</div>
150152
{if $navid == 'home'}
151153
<header class='hero'><div class='width'>
152154
<hgroup>

docs/static/buck.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,3 +592,16 @@ block {
592592
display: block;
593593
}
594594

595+
/* Social Banner */
596+
.socialBanner {
597+
font-weight: bold;
598+
font-size: 20px;
599+
padding: 20px;
600+
max-width: 768px;
601+
margin: 0 auto;
602+
text-align: center;
603+
}
604+
605+
.socialBanner a {
606+
text-decoration: underline;
607+
}

0 commit comments

Comments
 (0)