Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ixkaito committed Jan 20, 2023
1 parent cd65d80 commit b38f641
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag
```bash
npx create-next-app --example https://github.com/ixkaito/nextsss
```

or

```bash
yarn create next-app --example https://github.com/ixkaito/nextsss
```
Expand All @@ -36,12 +38,8 @@ import Link from '../components/ActiveLink'
const Nav: React.FC = () => {
return (
<nav>
<Link href="/">
<a>Home</a>
</Link>
<Link href="/about/">
<a>About</a>
</Link>
<Link href="/">Home</Link>
<Link href="/about/">About</Link>
</nav>
)
}
Expand All @@ -58,10 +56,10 @@ const Nav: React.FC = () => {
return (
<nav>
<Link href="/" activeClassName="current">
<a>Home</a>
Home
</Link>
<Link href="/about/" activeClassName="current">
<a>About</a>
About
</Link>
</nav>
)
Expand Down

0 comments on commit b38f641

Please sign in to comment.