Skip to content

Commit 268c7d1

Browse files
committed
Minor fixes and tweaks
1 parent 2166fe4 commit 268c7d1

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact=true

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Example NextJS Floating Contact Form
22

3-
This NextJS app shows how to build a floating support bubble 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).
3+
This NextJS app shows how to build a floating support bubble 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).
44

55
Using this contact form customers can easily get in touch with you, or jump to your discord community or docs.
66

@@ -22,7 +22,7 @@ This is meant as a starting point that you can customise to specifically fit you
2222

2323
### Running the example:
2424

25-
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.
25+
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.
2626

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

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"typecheck": "tsc"
1111
},
1212
"dependencies": {
13-
"@radix-ui/react-popover": "^1.0.6",
13+
"@radix-ui/react-popover": "1.0.6",
1414
"@team-plain/typescript-sdk": "2.4.0",
15-
"clsx": "^1.2.1",
15+
"clsx": "1.2.1",
1616
"next": "13.3.2",
1717
"prettier": "2.8.8",
1818
"react": "18.2.0",
1919
"react-dom": "18.2.0",
20-
"react-hot-toast": "^2.4.1"
20+
"react-hot-toast": "2.4.1"
2121
},
2222
"devDependencies": {
2323
"@types/node": "18.16.3",

pages/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const Home: NextPage = () => {
77
<>
88
<Head>
99
<title>👀 Bottom right 👉👇</title>
10-
<meta name="description" content="Generated by create next app" />
1110
<link rel="icon" href="/favicon.ico" />
1211
</Head>
1312

src/components/helpButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function HelpButton() {
6464
Psss... Discord is great if you want a quick reply from our community!
6565
</p>
6666
<LinkRow label="Join on Discord" href="https://discord.com/" icon={<DiscordIcon />} />
67-
<LinkRow label="Documentation" href="https://docs.plain.com/" icon={<BookIcon />} />
67+
<LinkRow label="Documentation" href="https://plain.com/docs/" icon={<BookIcon />} />
6868
<LinkRow
6969
label="Get in touch"
7070
href="#"

0 commit comments

Comments
 (0)