Skip to content
Permalink
Browse files

Remove landing page

  • Loading branch information...
jxnblk committed Nov 3, 2019
1 parent e0cd221 commit b0a6192deae0c42541929d3ac3a94539a2cca489
@@ -1,4 +1,4 @@
const geomicons = require('geomicons-open')
const geomicons = require('geomicons-open/src')
const material = require('./lib/material-design-icons')
const simple = require('./lib/simple-icons')
const keys = require('./lib/keys')
@@ -1,7 +1,7 @@

const { createElement: h } = require('react')
const { Icon: Reline } = require('reline')
const Geomicon = require('react-geomicons').default
const geomiconsPaths = require('geomicons-open/src')
const keys = require('./keys')
const simplePaths = require('./simple-icons')
const materialPaths = require('./material-design-icons')
@@ -55,6 +55,21 @@ const MD = ({
)
}

const Geomicon = ({ name, size, color }) => {
const d = geomiconsPaths[name]
if (!d) return null

return h('svg', {
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 32 32',
width: size,
height: size,
fill: color
},
h('path', { d })
)
}

const Icon = (props) => {
const {
name,
@@ -1,5 +1,5 @@

const geomiconsPaths = require('geomicons-open')
const geomiconsPaths = require('geomicons-open/src')
const simplePaths = require('./simple-icons')
const materialPaths = require('./material-design-icons')

@@ -28,6 +28,11 @@ const reline = [
'burger'
]

console.log({
reline,
geomicons
})

module.exports = {
material,
simple,
@@ -3,10 +3,6 @@
"name": "microicon",
"alias": "icon.now.sh",
"builds": [
{
"src": "www/index.html",
"use": "@now/static"
},
{
"src": "server/index.js",
"use": "@now/node"
@@ -15,11 +11,10 @@
"routes": [
{
"src": "/",
"dest": "/www/index.html"
},
{
"src": "/robots.txt",
"dest": "/www/robots.txt"
"status": 301,
"headers": {
"Location": "https://github.com/jxnblk/microicon"
}
},
{
"src": "/(.*)",

0 comments on commit b0a6192

Please sign in to comment.
You can’t perform that action at this time.