mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
[app] Spacer cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
import GooseSplashLogo from './GooseSplashLogo';
|
||||
import SplashPills from './SplashPills';
|
||||
import Spacer from './ui/spacer';
|
||||
|
||||
export default function Splash({ append }) {
|
||||
return (
|
||||
@@ -11,7 +10,9 @@ export default function Splash({ append }) {
|
||||
<GooseSplashLogo />
|
||||
<span className="ask-goose-type ml-[8px]">ask<br />goose</span>
|
||||
</div>
|
||||
<Spacer className="mt-[10px]"></Spacer>
|
||||
<div className={`mt-[10px] w-[198px] h-[17px] py-2 flex-col justify-center items-start inline-flex`}>
|
||||
<div className="self-stretch h-px bg-black/5 rounded-sm" />
|
||||
</div>
|
||||
<div
|
||||
className="w-[312px] px-16 py-4 text-14 text-center text-splash-pills-text whitespace-nowrap cursor-pointer bg-prev-goose-gradient text-prev-goose-text rounded-[14px] inline-block hover:scale-[1.02] transition-all duration-150"
|
||||
onClick={async () => {
|
||||
|
||||
@@ -115,7 +115,7 @@ function ToolResult({ result }: ToolResultProps) {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="mt-2 pt-2 border-t border-gray-200">
|
||||
<div className="mt-2 pt-2">
|
||||
{filteredResults.map((item: ResultItem, index: number) => {
|
||||
const isExpanded = shouldShowExpanded(item, index);
|
||||
const shouldMinimize = item.priority !== undefined && item.priority < 0.5;
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function Spacer({ className }) {
|
||||
return (
|
||||
<div className={`${className} w-[198px] h-[17px] py-2 flex-col justify-center items-start inline-flex`}>
|
||||
<div className="self-stretch h-px bg-black/5 rounded-sm" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user