Initial commit

pull/1331/head
Kamran Ahmed 5 years ago
commit 93dc65b529
  1. 4
      .gitignore
  2. 16
      package.json
  3. 10
      pages/about.js
  4. 13
      pages/index.js
  5. 2
      readme.md
  6. 4594
      yarn.lock

4
.gitignore vendored

@ -0,0 +1,4 @@
.next
.idea
.DS_Store
node_modules

@ -0,0 +1,16 @@
{
"name": "roadmap-next",
"version": "1.0.0",
"main": "index.js",
"license": "proprietary",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"next": "^9.0.4",
"react": "^16.9.0",
"react-dom": "^16.9.0"
}
}

@ -0,0 +1,10 @@
import React from 'react';
import Link from 'next/link';
export default function About() {
return (
<div>
<p>This is the about page</p>
</div>
);
}

@ -0,0 +1,13 @@
import React from 'react';
import Link from 'next/link';
const Index = () => (
<div>
<Link href="/about">
<a title="About Page">About Page</a>
</Link>
<p>Hello Next.js</p>
</div>
);
export default Index;

@ -0,0 +1,2 @@
## roadmap-next
> roadmap.sh built with next.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save