File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed
apps/web/src/app/(home)/_components Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function CommandDisplay({ command }: CommandDisplayProps) {
1818
1919 return (
2020 < div className = "relative group" >
21- < div className = "bg-gray-950/20 backdrop-blur-xl border border-gray-800 rounded-lg p-4 font-mono text-sm text-gray-300 overflow-x-auto" >
21+ < div className = "bg-gray-950/20 w-fit backdrop-blur-xl border border-gray-800 rounded-lg p-4 font-mono text-sm text-gray-300 overflow-x-auto" >
2222 < button
2323 type = "button"
2424 onClick = { copyToClipboard }
Original file line number Diff line number Diff line change @@ -146,7 +146,9 @@ const CustomizableStack = () => {
146146 }
147147
148148 if ( activeNodes . auth !== "better-auth" ) {
149- flags . splice ( flags . indexOf ( "-y" ) , 1 ) ;
149+ if ( flags . includes ( "-y" ) ) {
150+ flags . splice ( flags . indexOf ( "-y" ) , 1 ) ;
151+ }
150152 flags . push ( "--no-auth" ) ;
151153 }
152154
@@ -159,14 +161,14 @@ const CustomizableStack = () => {
159161 < div className = "absolute -top-16 left-1/2 -translate-x-1/2 z-50 w-96" >
160162 < CommandDisplay command = { generateCommand ( ) } />
161163 </ div >
162- < div className = "bg-gray-950/10 p-4 absolute top-4 right-4 z-50 w-96 rounded-xl border border-gray-800 backdrop-blur-3xl" >
163- < div className = "text-sm text-gray-300" >
164+ < div className = "bg-gray-950/10 p-4 absolute top-4 right-4 z-50 w-80 rounded-xl border border-gray-800 backdrop-blur-3xl" >
165+ < div className = "text-sm text-gray-300 text-center " >
164166 Select technologies from the left panel to customize your stack. The
165167 graph will automatically update connections.
166168 </ div >
167169 </ div >
168170 < div className = "absolute inset-0 backdrop-blur-3xl bg-gradient-to-r from-blue-500/10 via-purple-500/10 to-pink-500/10 rounded-xl" />
169- < div className = "h-[600px] relative backdrop-blur-sm bg-gray-950/50 rounded-xl overflow-hidden border border-gray-800" >
171+ < div className = "h-[600px] pl-28 relative backdrop-blur-sm bg-gray-950/50 rounded-xl overflow-hidden border border-gray-800" >
170172 < ReactFlow
171173 nodes = { nodes }
172174 edges = { edges }
Original file line number Diff line number Diff line change @@ -33,11 +33,13 @@ export function TechNodeComponent({ data }: { data: TechNodeData }) {
3333
3434 return (
3535 < div className = "relative group" >
36- < Handle
37- type = "target"
38- position = { Position . Top }
39- className = "!w-1.5 !h-1.5 !bg-indigo-400/70"
40- />
36+ { data . label !== "Bun" && (
37+ < Handle
38+ type = "target"
39+ position = { Position . Top }
40+ className = "!w-1.5 !h-1.5 !bg-indigo-400/70"
41+ />
42+ ) }
4143
4244 < div className = { `${ baseStyles } ${ activeStyles } backdrop-blur-3xl` } >
4345 < div className = "text-white font-medium text-sm tracking-wide mb-1.5" >
You can’t perform that action at this time.
0 commit comments