Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvagni committed Jul 19, 2023
1 parent f182fc3 commit 3a735ce
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 26 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact=true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Example NextJS Advanced Contact Form

This NextJS app shows how to build a contact form using Plain's [Custom Timeline Entries](https://docs.plain.com/recipes/custom-timeline-entry-upsert) and [Typescript SDK](https://www.npmjs.com/package/@team-plain/typescript-sdk).
This NextJS app shows how to build a contact form using Plain's [Custom Timeline Entries](https://www.plain.com/docs/custom-timeline-entries) and [Typescript SDK](https://www.npmjs.com/package/@team-plain/typescript-sdk).

Using this contact form you will be able to quickly prioritise customers in Plain by what they are getting in touch about and how urgent it is.

Expand All @@ -23,7 +23,7 @@ This is meant as a starting point that you can customise to specifically fit you

### Running the example:

You will need an API key from Plain first. [Check out our docs](https://docs.plain.com/core-api/authentication) on how to generate an API key.
You will need an API key from Plain first. [Check out our docs](https://www.plain.com/docs/graphql-api/authentication) on how to generate an API key.

For this demo you will need to grant the API key the following permissions:

Expand Down
27 changes: 14 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
"typecheck": "tsc"
},
"dependencies": {
"@radix-ui/react-checkbox": "^1.0.3",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-select": "^1.2.1",
"@team-plain/typescript-sdk": "2.4.0",
"@types/lodash": "^4.14.194",
"@types/ua-parser-js": "^0.7.36",
"assert-ts": "^0.3.4",
"csstype": "^3.1.2",
"@radix-ui/react-checkbox": "1.0.3",
"@radix-ui/react-icons": "1.3.0",
"@radix-ui/react-select": "1.2.1",
"@team-plain/typescript-sdk": "2.11.0",
"@types/lodash": "4.14.194",
"@types/ua-parser-js": "0.7.36",
"assert-ts": "0.3.4",
"csstype": "3.1.2",
"next": "13.3.2",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hot-toast": "^2.4.1",
"ua-parser-js": "^1.0.35"
"react-hot-toast": "2.4.1",
"ua-parser-js": "1.0.35"
},
"devDependencies": {
"@types/node": "18.16.3",
Expand Down
1 change: 0 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const Home: NextPage = () => {
<>
<Head>
<title>Custom Timeline Entries NextJS Example</title>
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/favicon.ico" />
</Head>

Expand Down

0 comments on commit 3a735ce

Please sign in to comment.