1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-23 22:32:52 +02:00

docs: release update

This commit is contained in:
BcRikko
2019-06-07 11:34:08 +09:00
parent 7520b18e4f
commit f05620add6
7 changed files with 73 additions and 80 deletions

View File

@@ -14,7 +14,7 @@
<title>NES.css - NES-style CSS Framework</title>
<link href="https://unpkg.com/nes.css@latest/css/nes.min.css" rel="stylesheet" />
<link href="https://unpkg.com/nes.css@2.2.0/css/nes.min.css" rel="stylesheet" />
<link href="./style.css" rel="stylesheet" />
<script src="./lib/vue.min.js"></script>
@@ -55,10 +55,10 @@
<div class="social-buttons">
<p>Share on SNS</p>
<div class="share">
<a @click="share('twitter')"><i class="nes-icon twitter"></i></a>
<a @click="share('facebook')"><i class="nes-icon facebook"></i></a>
<a @click="share('linkedin')"><i class="nes-icon linkedin"></i></a>
<a @click="share('github')"><i class="nes-icon github"></i></a>
<a href="https://twitter.com/share?text=NES.css%EF%BD%9CNES-style%20CSS%20Framework%20%40bc_rikko&url=https://nostalgic-css.github.io/NES.css/" target="_blank"><i class="nes-icon twitter"></i></a>
<a href="https://www.facebook.com/sharer.php?u=https://nostalgic-css.github.io/NES.css/&t=NES.css%EF%BD%9CNES-style%20CSS%20Framework" target="_blank"><i class="nes-icon facebook"></i></a>
<a href="https://www.linkedin.com/shareArticle?url=https%3A//nostalgic-css.github.io/NES.css/&title=NES.css%EF%BD%9CNES-style%20CSS%20Framework" target="_blank"><i class="nes-icon linkedin"></i></a>
<a href="https://github.com/nostalgic-css/NES.css" target="_blank"><i class="nes-icon github"></i></a>
</div>
</div>
</div>
@@ -127,7 +127,7 @@
<p>{{ member.feat }}</p>
<div>
<a :href="'https://github.com/' + member.github" target="_blank" rel="noopener" aria-label="github"><i class="nes-icon github"></i></a>
<a :href="'https://twitter.com/' + member.twitter" target="_blank" rel="noopener" aria-label="twitter"><i class="nes-icon twitter"></i></a>
<a v-if="member.twitter" :href="'https://twitter.com/' + member.twitter" target="_blank" rel="noopener" aria-label="twitter"><i class="nes-icon twitter"></i></a>
</div>
</div>
</section>
@@ -149,7 +149,7 @@
<p>{{ member.feat }}</p>
<div>
<a :href="'https://github.com/' + member.github" target="_blank" rel="noopener" aria-label="github"><i class="nes-icon github"></i></a>
<a :href="'https://twitter.com/' + member.twitter" target="_blank" rel="noopener" aria-label="twitter"><i class="nes-icon twitter"></i></a>
<a v-if="member.twitter" :href="'https://twitter.com/' + member.twitter" target="_blank" rel="noopener" aria-label="twitter"><i class="nes-icon twitter"></i></a>
</div>
</div>
</section>

View File

@@ -356,6 +356,13 @@ const sampleCollection = [
<i class="nes-bcrikko"></i>
</section>
</section>`,
},
{
title: 'cursor',
showCode: false,
code: `<p class="nes-balloon from-left nes-pointer">
This is not a clickable element, but it's an area of the pointer.
</p>`
},
{
title: 'badges',
@@ -542,48 +549,50 @@ const emeriti = [
name: 'Abdullah Samman',
feat: 'Setup test suite',
github: 'evexoio',
twitter: 'evexoio',
},
];
// https://api.github.com/repos/nostalgic-css/NES.css/contributors?per_page=100 | jq . '.[].login'
// curl -s 'https://api.github.com/repos/nostalgic-css/NES.css/contributors?per_page=100' | jq '.[].login'
const contributors = [
'4k1k0',
'sombreroEnPuntas',
'Divoolej',
'soph-iest',
'KeevanDance',
'montezume',
'sazzadsazib',
'jjspace',
'ohlookitsderpy',
'KeevanDance',
'jdvivar',
'Ilyeo',
'youngkaneda',
'kenshinji',
'Kartones',
'ohlookitsderpy',
'IngwiePhoenix',
'Takumi0901',
'jjspace',
'Baldomo',
'ernestomancebo',
'stewartrule',
'DanSnow',
'ernestomancebo',
'Ilyeo',
'Kartones',
'rrj-dev',
'vicainelli',
'stewartrule',
'kenshinji',
'youngkaneda',
'Takumi0901',
'loo41',
'alexd99',
'alexgleason',
'agarzola',
'fleeting',
'JamesIves',
'jsoref',
'KOREAN139',
'LukBukkit',
'otaviopace',
'Pedro-Souza',
'scottaohara',
'd0p1s4m4',
'lucasjs',
'musavvirahmed',
'sinofp',
'tnantoka',
'LukBukkit',
'd0p1s4m4',
'musavvirahmed',
'KOREAN139',
'loo41',
'otaviopace',
'alexgleason',
'fleeting',
'scottaohara',
'JamesIves',
'agarzola',
'jsoref',
];
new Vue({
@@ -621,22 +630,6 @@ new Vue({
this.replaceImages();
},
methods: {
share(media) {
const url = (() => {
switch (media) {
case 'twitter':
return 'https://twitter.com/share?text=NES.css%EF%BD%9CNES-style%20CSS%20Framework%20%40bc_rikko&url=https://nostalgic-css.github.io/NES.css/';
case 'facebook':
return 'https://www.facebook.com/sharer.php?u=https://nostalgic-css.github.io/NES.css/&t=NES.css%EF%BD%9CNES-style%20CSS%20Framework';
case 'linkedin':
return 'https://www.linkedin.com/shareArticle?url=https%3A//nostalgic-css.github.io/NES.css/&title=NES.css%EF%BD%9CNES-style%20CSS%20Framework';
case 'github':
return 'https://github.com/nostalgic-css/NES.css';
}
})();
window.open(url, '');
},
copy(event, id) {
this.showCopiedBalloon(event.pageY, event.pageX);