File tree Expand file tree Collapse file tree 4 files changed +22
-12
lines changed
Expand file tree Collapse file tree 4 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ You can check [demo](https://next-typescript-starter-demo.vercel.app/)
1717
1818## Usage
1919
20- This project using node >= 16.14 & yarn
20+ This project using node >= 16.14 & yarn 1.22.19
2121
2222### Installation
2323
Original file line number Diff line number Diff line change 1+ import Head from 'next/head' ;
2+
3+ export default function Nav ( ) {
4+ return (
5+ < nav >
6+ < Head >
7+ < title > Next Typescript Starter</ title >
8+ < meta
9+ name = "description"
10+ content = "Generated by create next app and customized"
11+ />
12+ < meta name = "viewport" content = "width=device-width, initial-scale=1" />
13+ < link rel = "icon" href = "/favicon.ico" />
14+ </ Head >
15+ </ nav >
16+ ) ;
17+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " next-typescript-starter" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 0.1 .0" ,
44 "description" : " Unofficial Next.js + Typescript starter with a latest package" ,
55 "author" : " Danang Eko Alfianto <github.com/danangekal>" ,
66 "homepage" : " https://github.com/danangekal/next-typescript-starter#readme" ,
Original file line number Diff line number Diff line change 1- import Head from 'next/head' ;
21import Image from 'next/image' ;
32import { Inter } from 'next/font/google' ;
3+
4+ import Nav from '@/components/nav' ;
45import styles from '@/styles/Home.module.css' ;
56
67const inter = Inter ( { subsets : [ 'latin' ] } ) ;
78
89export default function Home ( ) {
910 return (
1011 < >
11- < Head >
12- < title > Next Typescript Starter</ title >
13- < meta
14- name = "description"
15- content = "Generated by create next app and customized"
16- />
17- < meta name = "viewport" content = "width=device-width, initial-scale=1" />
18- < link rel = "icon" href = "/favicon.ico" />
19- </ Head >
12+ < Nav />
2013
2114 < main className = { `${ styles . main } ${ inter . className } ` } >
2215 < div className = { styles . description } >
You can’t perform that action at this time.
0 commit comments