Skip to content

Commit b1ac7d0

Browse files
committed
updated
1 parent 6530ac0 commit b1ac7d0

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

app/(dashboard)/terminal_package.tsx

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function Terminal() {
99
];
1010

1111
const pythonCode = [
12-
'verbalize run \\',
12+
'verbalize run',
1313
' --task joke \\',
1414
' --prompt "Tell me a joke about coffee." \\',
1515
' --model "gpt-4.1" \\',
@@ -18,7 +18,7 @@ export function Terminal() {
1818
' --metrics "diversity joke_quality"'
1919
];
2020

21-
const allSteps = [...pipCommand, '', ...pythonCode];
21+
const allSteps = [...pipCommand, ...pythonCode];
2222
const [terminalStep, setTerminalStep] = useState(allSteps.length - 1);
2323
const [copied, setCopied] = useState(false);
2424

@@ -61,7 +61,7 @@ export function Terminal() {
6161
<>
6262
<span className="text-blue-400">verbalize</span>
6363
<span className="text-white"> run </span>
64-
<span className="text-white">\\</span>
64+
<span className="text-white">\</span>
6565
</>
6666
);
6767
}
@@ -125,8 +125,8 @@ export function Terminal() {
125125

126126
return (
127127
<div className="w-full min-w-full rounded-lg shadow-lg overflow-hidden bg-gray-900 text-white font-mono text-sm relative">
128-
<div className="p-1">
129-
<div className="flex justify-between items-center mb-2">
128+
<div className="p-4">
129+
<div className="flex justify-between items-center mb-4">
130130
<div className="flex space-x-2">
131131
<div className="w-3 h-3 rounded-full bg-red-500"></div>
132132
<div className="w-3 h-3 rounded-full bg-yellow-500"></div>
@@ -144,9 +144,9 @@ export function Terminal() {
144144
)}
145145
</button>
146146
</div>
147-
<div className="space-y-2">
147+
<div className="space-y-4">
148148
{/* Pip Install Block */}
149-
<div className="space-y-1">
149+
<div className="space-y-2">
150150
{pipCommand.map((step, index) => (
151151
<div
152152
key={`pip-${index}`}
@@ -157,13 +157,8 @@ export function Terminal() {
157157
))}
158158
</div>
159159

160-
{/* Separator */}
161-
<div className={`${pipCommand.length > terminalStep ? 'opacity-0' : 'opacity-100'} transition-opacity duration-300`}>
162-
<div className="text-gray-500">&nbsp;</div>
163-
</div>
164-
165160
{/* Python Code Block */}
166-
<div className="space-y-1">
161+
<div className="space-y-2">
167162
{pythonCode.map((step, index) => {
168163
const globalIndex = pipCommand.length + 1 + index;
169164
return (

0 commit comments

Comments
 (0)