Announce new Twitter account
This commit is contained in:
parent
5667ae5ebc
commit
4cb57e84d6
|
@ -41,7 +41,10 @@ not_found:
|
||||||
home: Back to home
|
home: Back to home
|
||||||
|
|
||||||
announcement:
|
announcement:
|
||||||
id: 2017-09-25-devhints-io
|
id: 2017-10-26-twitter
|
||||||
title: New URL 🎉
|
title: |
|
||||||
|
New: We're on Twitter ♥️
|
||||||
body: |
|
body: |
|
||||||
Hey, ricostacruz.com/cheatsheets has moved to devhints.io! Same content with a shorter and easier to remember URL.
|
Follow [@devhints](https://twitter.com/devhints) on Twitter for daily "today I learned" snippets!
|
||||||
|
|
||||||
|
[](https://twitter.com/devhints)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class='announcements-list'>
|
<div class='announcements-list'>
|
||||||
<div class='announcements-item item -hide' data-js-dismissable='{"id":"{{ site.data.content.announcement.id }}"}'>
|
<div class='announcements-item item -hide' data-js-dismissable='{"id":"{{ site.data.content.announcement.id }}"}'>
|
||||||
<h3 class='title'>{{ site.data.content.announcement.title }}</h3>
|
<h3 class='title'>{{ site.data.content.announcement.title }}</h3>
|
||||||
<div class='body'>{{ site.data.content.announcement.body }}</div>
|
<div class='body'>{{ site.data.content.announcement.body | markdownify }}</div>
|
||||||
<button data-js-dismiss class='close'></button>
|
<button data-js-dismiss class='close'></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,6 +22,15 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > .body > p {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
& + p {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
& > .close {
|
& > .close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
Loading…
Reference in New Issue