Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
joelburget committed Oct 25, 2016
0 parents commit 3b727b8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
.next
node_modules
17 changes: 17 additions & 0 deletions package.json
@@ -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"
}
}
5 changes: 5 additions & 0 deletions pages/cowsay.js
@@ -0,0 +1,5 @@
import React from 'react'
import cowsay from 'cowsay-browser'
export default () => (
<pre>{ cowsay.say({ text: 'hi there!' }) }</pre>
)
6 changes: 6 additions & 0 deletions pages/index.js
@@ -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.