From 64e2f6d52b037d8aae31bbb937e84d1a0fe80747 Mon Sep 17 00:00:00 2001 From: Shu Uesugi Date: Tue, 21 Apr 2020 08:23:14 -0700 Subject: [PATCH] Update create-next-app templates --- assets-metadata-css-starter/pages/index.js | 13 +- assets-metadata-css-starter/public/vercel.svg | 4 + assets-metadata-css-starter/public/zeit.svg | 10 - learn-starter/.gitignore | 30 +++ learn-starter/README.md | 1 + learn-starter/package.json | 15 ++ learn-starter/pages/index.js | 209 ++++++++++++++++++ learn-starter/public/favicon.ico | Bin 0 -> 15086 bytes learn-starter/public/vercel.svg | 4 + navigate-between-pages-starter/pages/index.js | 13 +- .../public/vercel.svg | 4 + .../public/zeit.svg | 10 - 12 files changed, 285 insertions(+), 28 deletions(-) create mode 100644 assets-metadata-css-starter/public/vercel.svg delete mode 100644 assets-metadata-css-starter/public/zeit.svg create mode 100644 learn-starter/.gitignore create mode 100644 learn-starter/README.md create mode 100644 learn-starter/package.json create mode 100644 learn-starter/pages/index.js create mode 100644 learn-starter/public/favicon.ico create mode 100644 learn-starter/public/vercel.svg create mode 100644 navigate-between-pages-starter/public/vercel.svg delete mode 100644 navigate-between-pages-starter/public/zeit.svg diff --git a/assets-metadata-css-starter/pages/index.js b/assets-metadata-css-starter/pages/index.js index 5d0f77e..4939995 100644 --- a/assets-metadata-css-starter/pages/index.js +++ b/assets-metadata-css-starter/pages/index.js @@ -42,12 +42,12 @@ export default function Home() {

Deploy →

- Instantly deploy your Next.js site to a public URL with ZEIT Now. + Instantly deploy your Next.js site to a public URL with Vercel.

@@ -55,11 +55,12 @@ export default function Home() { @@ -182,6 +183,10 @@ export default function Home() { line-height: 1.5; } + .logo { + height: 1em; + } + @media (max-width: 600px) { .grid { width: 100%; diff --git a/assets-metadata-css-starter/public/vercel.svg b/assets-metadata-css-starter/public/vercel.svg new file mode 100644 index 0000000..fbf0e25 --- /dev/null +++ b/assets-metadata-css-starter/public/vercel.svg @@ -0,0 +1,4 @@ + + + \ No newline at end of file diff --git a/assets-metadata-css-starter/public/zeit.svg b/assets-metadata-css-starter/public/zeit.svg deleted file mode 100644 index dd3916c..0000000 --- a/assets-metadata-css-starter/public/zeit.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/learn-starter/.gitignore b/learn-starter/.gitignore new file mode 100644 index 0000000..20fccdd --- /dev/null +++ b/learn-starter/.gitignore @@ -0,0 +1,30 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local diff --git a/learn-starter/README.md b/learn-starter/README.md new file mode 100644 index 0000000..02695bc --- /dev/null +++ b/learn-starter/README.md @@ -0,0 +1 @@ +This is a starter template for [Learn Next.js](https://nextjs.org/learn). \ No newline at end of file diff --git a/learn-starter/package.json b/learn-starter/package.json new file mode 100644 index 0000000..db9dfc4 --- /dev/null +++ b/learn-starter/package.json @@ -0,0 +1,15 @@ +{ + "name": "learn-starter", + "version": "0.1.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start" + }, + "dependencies": { + "next": "9.3.5", + "react": "16.13.1", + "react-dom": "16.13.1" + } +} diff --git a/learn-starter/pages/index.js b/learn-starter/pages/index.js new file mode 100644 index 0000000..f7afd96 --- /dev/null +++ b/learn-starter/pages/index.js @@ -0,0 +1,209 @@ +import Head from 'next/head' + +export default function Home() { + return ( +
+ + Create Next App + + + +
+

+ Welcome to Next.js! +

+ +

+ Get started by editing pages/index.js +

+ +
+ +

Documentation →

+

Find in-depth information about Next.js features and API.

+
+ + +

Learn →

+

Learn about Next.js in an interactive course with quizzes!

+
+ + +

Examples →

+

Discover and deploy boilerplate example Next.js projects.

+
+ + +

Deploy →

+

+ Instantly deploy your Next.js site to a public URL with Vercel. +

+
+
+
+ + + + + + +
+ ) +} diff --git a/learn-starter/public/favicon.ico b/learn-starter/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..4965832f2c9b0605eaa189b7c7fb11124d24e48a GIT binary patch literal 15086 zcmeHOOH5Q(7(R0cc?bh2AT>N@1PWL!LLfZKyG5c!MTHoP7_p!sBz0k$?pjS;^lmgJ zU6^i~bWuZYHL)9$wuvEKm~qo~(5=Lvx5&Hv;?X#m}i|`yaGY4gX+&b>tew;gcnRQA1kp zBbm04SRuuE{Hn+&1wk%&g;?wja_Is#1gKoFlI7f`Gt}X*-nsMO30b_J@)EFNhzd1QM zdH&qFb9PVqQOx@clvc#KAu}^GrN`q5oP(8>m4UOcp`k&xwzkTio*p?kI4BPtIwX%B zJN69cGsm=x90<;Wmh-bs>43F}ro$}Of@8)4KHndLiR$nW?*{Rl72JPUqRr3ta6e#A z%DTEbi9N}+xPtd1juj8;(CJt3r9NOgb>KTuK|z7!JB_KsFW3(pBN4oh&M&}Nb$Ee2 z$-arA6a)CdsPj`M#1DS>fqj#KF%0q?w50GN4YbmMZIoF{e1yTR=4ablqXHBB2!`wM z1M1ke9+<);|AI;f=2^F1;G6Wfpql?1d5D4rMr?#f(=hkoH)U`6Gb)#xDLjoKjp)1;Js@2Iy5yk zMXUqj+gyk1i0yLjWS|3sM2-1ECc;MAz<4t0P53%7se$$+5Ex`L5TQO_MMXXi04UDIU+3*7Ez&X|mj9cFYBXqM{M;mw_ zpw>azP*qjMyNSD4hh)XZt$gqf8f?eRSFX8VQ4Y+H3jAtvyTrXr`qHAD6`m;aYmH2zOhJC~_*AuT} zvUxC38|JYN94i(05R)dVKgUQF$}#cxV7xZ4FULqFCNX*Forhgp*yr6;DsIk=ub0Hv zpk2L{9Q&|uI^b<6@i(Y+iSxeO_n**4nRLc`P!3ld5jL=nZRw6;DEJ*1z6Pvg+eW|$lnnjO zjd|8>6l{i~UxI244CGn2kK@cJ|#ecwgSyt&HKA2)z zrOO{op^o*- + + \ No newline at end of file diff --git a/navigate-between-pages-starter/pages/index.js b/navigate-between-pages-starter/pages/index.js index a2198ab..91d7ee7 100644 --- a/navigate-between-pages-starter/pages/index.js +++ b/navigate-between-pages-starter/pages/index.js @@ -37,12 +37,12 @@ export default function Home() {

Deploy →

- Instantly deploy your Next.js site to a public URL with ZEIT Now. + Instantly deploy your Next.js site to a public URL with Vercel.

@@ -50,11 +50,12 @@ export default function Home() { @@ -177,6 +178,10 @@ export default function Home() { line-height: 1.5; } + .logo { + height: 1em; + } + @media (max-width: 600px) { .grid { width: 100%; diff --git a/navigate-between-pages-starter/public/vercel.svg b/navigate-between-pages-starter/public/vercel.svg new file mode 100644 index 0000000..fbf0e25 --- /dev/null +++ b/navigate-between-pages-starter/public/vercel.svg @@ -0,0 +1,4 @@ + + + \ No newline at end of file diff --git a/navigate-between-pages-starter/public/zeit.svg b/navigate-between-pages-starter/public/zeit.svg deleted file mode 100644 index dd3916c..0000000 --- a/navigate-between-pages-starter/public/zeit.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - -