You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: account/billing.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Trophy defines an MAU as a single user that is involved in at least one API call
21
21
22
22
## Free tier
23
23
24
-
All customers start on the free tier. This allows dev teams to build and test implementations for up to **100 MAUs** without accurring any usage charges.
24
+
All customers start on the free tier. This allows dev teams to build and test implementations for up to **100 MAUs** without accruing any usage charges.
25
25
26
26
<Note>
27
27
If you exceed the free plan, don't panic! Nothing will stop working, we'll
@@ -62,7 +62,7 @@ You can view your usage for the current billing period in the [Trophy dashboard]
62
62
63
63
<AccordionGroup>
64
64
<Accordiontitle="When will I be charged?">
65
-
We charge all customers on the 1st of the month in arreas.
65
+
We charge all customers on the 1st of the month in arrears.
Copy file name to clipboardExpand all lines: api-reference/authentication.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Trophy keeps track of and displays when each API key in your account was created
17
17
18
18
### Anatomy of an API key
19
19
20
-
Each API key is made up of 2 parts seperated by a period:
20
+
Each API key is made up of 2 parts separated by a period:
21
21
22
22
```bash
23
23
{prefix}•{body}
@@ -64,7 +64,7 @@ API keys can be rotated if you want to change them for any reason. At the point
64
64
65
65
### Revoking keys
66
66
67
-
API keys can also be revoked entirely at which point they become _Inactive_. At the point of revokation, the API key will no longer function and any requests still using it will begin receiving `401` responses immediately.
67
+
API keys can also be revoked entirely at which point they become _Inactive_. At the point of revocation, the API key will no longer function and any requests still using it will begin receiving `401` responses immediately.
68
68
69
69
Once revoked you can re-activate the API key at any time.
You'll notice we also added a couple of styles here. These do a couple of things:
460
460
461
-
- Ensure that when a `<Card />` is flipping, the 'backface' isn't visible during the animation with `backface-visibility: hidden;`
461
+
- Ensure that when a `<Card />` is flipping, the 'back face' isn't visible during the animation with `backface-visibility: hidden;`
462
462
- As the `<Card />` component is a child of the `<motion.div />`, usually it would appear flat when it's parent rotates in 3D. Adding `transform-style: preserve-3d;` to the `<Card />` ensures it keeps it's 3D effect when it's parent animates.
463
463
464
464
```css src/app/flashcard.module.css
@@ -683,7 +683,7 @@ In this section we'll be adding the following gamification elements to the flash
683
683
- Achievement unlocked
684
684
- Weekly progress summaries
685
685
686
-
This might sound like a lot, but would you be surprised if I told you you could build all this in less than 10 lines of code?
686
+
This might sound like a lot, but would you be surprised if I told you could build all this in less than 10 lines of code?
687
687
688
688
Yup, you can. Trophy makes it super easy to build these features with a few lines of integration code.
689
689
@@ -1178,7 +1178,7 @@ To see this in action, all we need to do is unlock our first achievement by view
1178
1178
1179
1179
#### Streak Extended Toasts
1180
1180
1181
-
We'll use the same methods to show similar toasts when a user extendeds their streak. As we've set up a daily streak in Trophy, this will trigger the first time a user views a flashcard each day.
1181
+
We'll use the same methods to show similar toasts when a user extends their streak. As we've set up a daily streak in Trophy, this will trigger the first time a user views a flashcard each day.
1182
1182
1183
1183
<Tip>
1184
1184
If we wanted to experiment with a different streak cadence, like a weekly
The last peice of UI we'll add will be a dialog to display the user's study progress, including their streak and any achievements they've unlocked so far.
1410
+
The last piece of UI we'll add will be a dialog to display the user's study progress, including their streak and any achievements they've unlocked so far.
1411
1411
1412
-
First, we'll add a couple of new server actions to fetch the users streak and achievements from Trophy. As we're using a daily sterak here, we'll fetch the last 14 days of streak data from Trophy to give us enough to work with in our UI:
1412
+
First, we'll add a couple of new server actions to fetch the users streak and achievements from Trophy. As we're using a daily streak here, we'll fetch the last 14 days of streak data from Trophy to give us enough to work with in our UI:
0 commit comments