on master help sign in
Added icons
commit2f273590fa573809473a8afa7f8884702a9ea074 authorDevine Lu Linvega <aliceffekt@gmail.com> dateThu 17 May 2018, 12:36 (8 years ago) parent4490dff
4 files changed+28−3
README.md+1−1 icon.black.svg+13 icon.white.svg+13 portal.js+1−2
README.md+1−1
@@ -1,6 +1,6 @@
11# Webring
22
3−This [webring](http://wiki.xxiivv.com/webring) is an attempt to inspire artists and developers friends to create and maintain their own website and share traffic among each other.
3+This [webring](http://wiki.xxiivv.com/webring) is an attempt to inspire artists and developers to create and maintain their own website and share traffic among each other.
44
55The webring's aim is to share personal websites such as diaries, wikis, bookmark lists, portfolios. To add yourself to the ring, submit a pull request to this repository.
66
icon.black.svgnew file+13
@@ -0,0 +1,13 @@
1+<svg class="vector" width="300px" height="300px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="fill:none;stroke:black;stroke-width:45px;stroke-linecap:square;">
2+ <g transform="translate(0,30)">
3+ <g transform="translate(150,150),rotate(120,0,0)">
4+ <path d="M0,-60 a60,60 0 1,0 0,120 l100,0"></path>
5+ </g>
6+ <g transform="translate(150,150),rotate(240,0,0)">
7+ <path d="M0,-60 a60,60 0 1,0 0,120 l100,0"></path>
8+ </g>
9+ <g transform="translate(150,150),rotate(0,0,0)">
10+ <path d="M0,-60 a60,60 0 1,0 0,120 l100,0"></path>
11+ </g>
12+ </g>
13+</svg>
icon.white.svgnew file+13
@@ -0,0 +1,13 @@
1+<svg class="vector" width="300px" height="300px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="fill:none;stroke:black;stroke-width:45px;stroke-linecap:square;">
2+ <g transform="translate(0,30)">
3+ <g transform="translate(150,150),rotate(120,0,0)">
4+ <path d="M0,-60 a60,60 0 1,0 0,120 l100,0"></path>
5+ </g>
6+ <g transform="translate(150,150),rotate(240,0,0)">
7+ <path d="M0,-60 a60,60 0 1,0 0,120 l100,0"></path>
8+ </g>
9+ <g transform="translate(150,150),rotate(0,0,0)">
10+ <path d="M0,-60 a60,60 0 1,0 0,120 l100,0"></path>
11+ </g>
12+ </g>
13+</svg>
portal.js+1−2
@@ -29,7 +29,6 @@ function Portal(sites)
2929
3030 this.reload = function()
3131 {
32− console.log("!!")
3332 setTimeout(()=>{ window.location.reload() },500)
3433 }
3534
@@ -69,7 +68,7 @@ function Portal(sites)
6968
7069 html = `Redirecting to ${target}
7170 <meta http-equiv="refresh" content="30; url=${target}">
72−<a href='' onClick="window.location.reload()">Directory</a> | <a href='#${target}' onClick="window.location.reload()">Skip</a> | <a href='#random' onClick="window.location.reload()">Random</a> | <a href='https://github.com/XXIIVV/webring'>Information</a>`
71+<a href='' onClick="window.location.reload()">Directory</a> | <a href='#${target}' onClick="portal.reload('random')">Skip</a> | <a href='#random' onClick="portal.reload('random')">Random</a> | <a href='https://github.com/XXIIVV/webring'>Information</a>`
7372 return html
7473 }
7574}