Permalink
Browse files

Initial commit.

  • Loading branch information...
joelburget committed Oct 25, 2016
0 parents commit 3b727b82c48b3d073b70522ed10c6bfa6ce3db61
Showing with 30 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +17 −0 package.json
  3. +5 −0 pages/cowsay.js
  4. +6 −0 pages/index.js
@@ -0,0 +1,2 @@
.next
node_modules
@@ -0,0 +1,17 @@
{
"name": "next-blog",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"author": "",
"license": "ISC",
"dependencies": {
"cowsay-browser": "^1.1.8",
"next": "latest"
}
}
@@ -0,0 +1,5 @@
import React from 'react'
import cowsay from 'cowsay-browser'
export default () => (
<pre>{ cowsay.say({ text: 'hi there!' }) }</pre>
)
@@ -0,0 +1,6 @@
import React from 'react'
import Link from 'next/link'

export default () => (
<div>Click for <Link href="/cowsay">cowsay!</Link></div>
)

0 comments on commit 3b727b8

Please sign in to comment.