Skip to content

Commit b5675e9

Browse files
authored
docs: Update links to course landing page (#3478)
1 parent ba09e16 commit b5675e9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/src/components/LayoutDocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const LayoutDocs = props => {
119119
<p className='text-sm'>
120120
Fast track your learning and {' '}
121121
<a
122-
href="https://ui.dev/checkout/react-query?from=tanstack"
122+
href="https://ui.dev/react-query?from=tanstack"
123123
className="text-blue-600 font-semibold transition-colors duration-150 ease-out"
124124
>
125125
take the offical course ↗️

docs/src/components/PPPBanner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function PPPBanner() {
4949
Course with code{' '}
5050
<a
5151
className="underline cursor-pointer"
52-
href={`/checkout/react-query?from=tanstack&coupon_code=${data.coupon}`}
52+
href={`https://ui.dev/react-query?from=tanstack&coupon_code=${data.coupon}`}
5353
>
5454
<strong>{data.coupon}</strong>
5555
</a>

docs/src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const Home = ({ sponsors }) => {
7474
<p>
7575
Want to skip the docs?{' '}
7676
<a
77-
href="https://ui.dev/checkout/react-query?from=tanstack"
77+
href="https://ui.dev/react-query?from=tanstack"
7878
className="text-blue-600 font-semibold transition-colors duration-150 ease-out"
7979
>
8080
Take the offical course
@@ -177,7 +177,7 @@ const Home = ({ sponsors }) => {
177177
</span>
178178
</div>
179179
<a
180-
href="https://ui.dev/checkout/react-query?from=tanstack"
180+
href="https://ui.dev/react-query?from=tanstack"
181181
target="_blank"
182182
className="inline-block mt-8 rounded shadow-lg bg-coral text-white font-bold text-xl px-4 py-3"
183183
>
@@ -375,7 +375,7 @@ const Home = ({ sponsors }) => {
375375
</h2>
376376
<div className="mt-8 flex lg:flex-shrink-0 md:mt-0">
377377
<div className="inline-flex rounded-md shadow">
378-
<a href="https://ui.dev/checkout/react-query?from=tanstack" className="inline-flex items-center justify-center text-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-coral hover:bg-coral-light focus:outline-none focus:shadow-outline transition duration-150 ease-in-out">
378+
<a href="https://ui.dev/react-query?from=tanstack" className="inline-flex items-center justify-center text-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-coral hover:bg-coral-light focus:outline-none focus:shadow-outline transition duration-150 ease-in-out">
379379
Take the course
380380
</a>
381381
</div>

docs/src/pages/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ function Example() {
8484

8585
## You talked me into it, so what now?
8686

87-
- Consider taking the official [React Query Course](https://ui.dev/checkout/react-query?from=tanstack) (or buying it for your whole team!)
87+
- Consider taking the official [React Query Course](https://ui.dev/react-query?from=tanstack) (or buying it for your whole team!)
8888
- Learn React Query at your own pace with our amazingly thorough [Walkthrough Guide](../installation) and [API Reference](../reference/useQuery)

0 commit comments

Comments
 (0)