Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
fuko
/
trytanstackdb.com
Pull requests
fuko
trytanstackdb.com
Public
Synced with GitHub
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
Fix the visibility of the intro state
#36
Send to my agent
Merged
fuko
merged 6 commits into
main
from
refs/pull/36/head
·
merged by
fuko
11 months ago
View on GitHub
Conversation
6
Commits
6
Files changed
6
Impact
Showing
6 changed files
with
16 additions
and
35 deletions
(loading 3).
x
0 of 6 viewed, 6 left
Files
Hide whitespace
Unified
Split
8 additions and 14 deletions
+8
-14
src/components/HomeIntro.tsx
Modified
Diff
Before/After
Viewed
src/components/HomeIntro.tsx
View file
@@ -1,8 +1,8 @@
1
-
import
{ useNavigate }
from
"@tanstack/react-router"
;
2
1
import
{
ArrowRightIcon
,
DatabaseZap
}
from
"lucide-react"
;
3
2
import
{
AnimatePresence
, motion, stagger,
type
Variants
}
from
"motion/react"
;
4
-
import
{
type
ReactNode
, useCallback, useState }
from
"react"
;
3
+
import
{
type
ReactNode
, useCallback, useMemo, useState }
from
"react"
;
5
4
import
{ cn }
from
"@/lib/utils"
;
5
+
import
{ getShowIntro }
from
"@/utils/getShowIntro"
;
6
6
import
{
Button
}
from
"./ui/button"
;
7
7
import
{
8
8
Card
,
Expand up
Expand down
Show all 53 lines
@@ -62,29 +62,23 @@
62
62
63
63
export
function
HomeIntro
({
64
64
activeStep,
65
-
intro,
65
+
showIntro,
66
66
}: {
67
67
activeStep
:
string
|
null
;
68
-
intro
:
"true"
|
"false"
|
undefined
;
68
+
showIntro
:
boolean
;
69
69
}) {
70
70
const
[open, setOpen] =
useState
(
71
71
activeStep ===
null
||
72
72
// used for debugging
73
-
intro ===
"true"
,
Home
Search
Explore
Menu