Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 8d12e1b

Browse files
committed
update the readme
1 parent 61e3556 commit 8d12e1b

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ You can start editing the page by modifying `src/pages/index.js`. The page auto-
2222

2323
You can also add mdx files in `src/pages/` and they will be presented at the cooresponding route.
2424

25-
Tailwind and
25+
Tailwind and Emotion are available for styling using utility classes and css-in-js respectively.
26+
27+
Testing is facilitated through React Testing Library and Jest.
28+
29+
`next-seo` and `next-sitemap` are doing their jobs very well. Be sure to update `/next-sitemap.js` and `/next-seo.js` with your information!
2630

2731
## Learn More
2832

@@ -32,9 +36,3 @@ To learn more about Next.js, take a look at the following resources:
3236
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
3337

3438
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
35-
36-
## Deploy on Vercel
37-
38-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
39-
40-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

next-sitemap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require('dotenv-flow').config()
22

33
module.exports = {
4-
siteUrl: process.env.NEXT_PUBLIC_DEPLOYMENT_URL,
4+
siteUrl: `https://example.com`,
55
changefreq: 'daily',
66
priority: 0.7,
77
sitemapSize: 5000,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"test": "jest --watch"
1111
},
1212
"dependencies": {
13-
"@emotion/babel-preset-css-prop": "^10.2.1",
1413
"@emotion/core": "^10.1.1",
1514
"@emotion/styled": "^10.0.27",
1615
"@next/mdx": "^10.0.1",
@@ -33,6 +32,7 @@
3332
"remark-slug": "^6.0.0"
3433
},
3534
"devDependencies": {
35+
"@emotion/babel-preset-css-prop": "^10.2.1",
3636
"@babel/plugin-transform-react-jsx": "^7.12.5",
3737
"@tailwindcss/typography": "^0.2.0",
3838
"@testing-library/jest-dom": "^5.11.5",

src/__tests__/testing-library.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ import {render} from '@testing-library/react'
33

44
test('renders deploy link', () => {
55
const {getByText} = render(
6-
<h1 id="welcome-to-the-wip-of-the-next-version-of-eggheadio">
7-
Welcome to the WIP of the next version of egghead.io
8-
</h1>,
6+
<h1 id="welcome-to-the-site">Welcome to the Site</h1>,
97
)
10-
const linkElement = getByText(/Welcome to the WIP/)
8+
const linkElement = getByText(/Welcome to the Site/)
119
expect(linkElement).toBeInTheDocument()
1210
})

0 commit comments

Comments
 (0)