Skip to content

Commit b7097ff

Browse files
committed
Adding TanStack link
1 parent 2fde6d0 commit b7097ff

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

project-template/src/App.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ function App() {
1717
>
1818
Learn React
1919
</a>
20+
<a
21+
className="App-link"
22+
href="https://tanstack.com"
23+
target="_blank"
24+
rel="noopener noreferrer"
25+
>
26+
Learn TanStack
27+
</a>
2028
</header>
2129
</div>
2230
);

project-template/src/App.tw.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ function App() {
44
return (
55
<div className="text-center">
66
<header className="min-h-screen flex flex-col items-center justify-center bg-[#282c34] text-white text-[calc(10px+2vmin)]">
7-
<img src={logo} className="h-[40vmin] pointer-events-none animate-[spin_20s_linear_infinite]" alt="logo" />
7+
<img
8+
src={logo}
9+
className="h-[40vmin] pointer-events-none animate-[spin_20s_linear_infinite]"
10+
alt="logo"
11+
/>
812
<p>
913
Edit <code>src/App.tsx</code> and save to reload.
1014
</p>
@@ -16,6 +20,14 @@ function App() {
1620
>
1721
Learn React
1822
</a>
23+
<a
24+
className="text-[#61dafb] hover:underline"
25+
href="https://tanstack.com"
26+
target="_blank"
27+
rel="noopener noreferrer"
28+
>
29+
Learn TanStack
30+
</a>
1931
</header>
2032
</div>
2133
);

0 commit comments

Comments
 (0)