[app] Spacer cleanup

This commit is contained in:
Alex Hancock
2024-12-02 10:39:58 -05:00
parent a8b6bb3c47
commit 0c91e44629
3 changed files with 4 additions and 13 deletions
+3 -2
View File
@@ -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;
-10
View File
@@ -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>
)
}