simplify bulder page

pull/282/head
Amio 2018-12-17 10:51:00 +08:00
rodzic 040f160fe2
commit 6de85e7da5
4 zmienionych plików z 4 dodań i 13 usunięć

Wyświetl plik

@ -9,20 +9,17 @@ export default ({ focus, badgeURL }) => {
<div className='hints' style={style}>
<Hint left={0} width={50} height={3}>
<div style={{ textAlign: 'left', marginBottom: '2em' }}>
<a href='/gallery/static'>badge (static badge)</a>
<br />
<a href='/gallery/live'>SERVICE_NAME (live badge)</a>
<br />
<a href='/docs/runkit'>runkit</a> / <a href='/docs/https'>https</a> (arbitrary badge)
SERVICE_NAME (
<a href='/gallery/static'>static badge</a> / <a href='/gallery/live'>live badge</a>)
</div>
</Hint>
<Hint left={66} width={70} height={2}>TEXT</Hint>
<Hint left={153} width={60} height={2}>TEXT</Hint>
<Hint left={230} width={50} height={2}>
&nbsp;RGB / <a href='/docs/colors'>COLOR_NAME</a> (optional)
&nbsp;RGB / <a href='/docs/help#colors'>COLOR_NAME</a> (optional)
</Hint>
<Hint left={290} width={110} height={1}>
<a href='/docs/options'>OPTIONS (icon, label, etc.)</a>
<a href='/docs/help#options'>OPTIONS (icon, label, etc.)</a>
</Hint>
<style jsx>{`
.hints {

Wyświetl plik

@ -1,5 +0,0 @@
const { send } = require('micro')
module.exports = (req, res) => {
send(res, 200, 111)
}

Wyświetl plik

@ -5,7 +5,6 @@
{ "src": "endpoints/*.js", "use": "@now/node" }
],
"routes": [
{ "src": "^/static/(.*)", "dest": "/static/$1" },
{ "src": "^/badge/.*", "dest": "/endpoints/badge.js" }
]
}