Skip to content

Commit

Permalink
feat [ui]: Pop out when hovering over text (#363)
Browse files Browse the repository at this point in the history
Co-authored-by: Mic Neale <michael.neale@gmail.com>
  • Loading branch information
wendytang and michaelneale authored Nov 28, 2024
1 parent bef4911 commit 3a15724
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified ui/desktop/src/bin/goosed
Binary file not shown.
2 changes: 1 addition & 1 deletion ui/desktop/src/components/Splash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Splash({ append }) {
</div>
<Spacer className="mt-[10px]"></Spacer>
<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"
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 () => {
const message = {
content: "What can Goose do?",
Expand Down
4 changes: 2 additions & 2 deletions ui/desktop/src/components/SplashPills.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react"
function SplashPill({ content, append }) {
return (
<div
className="px-16 py-8 text-14 text-center text-splash-pills-text whitespace-nowrap cursor-pointer bg-splash-pills rounded-full inline-block"
className="px-16 py-8 text-14 text-center text-splash-pills-text whitespace-nowrap cursor-pointer bg-splash-pills hover:bg-splash-pills/90 hover:scale-[1.02] rounded-lg inline-block transition-all duration-150"
onClick={async () => {
const message = {
content,
Expand All @@ -22,7 +22,7 @@ export default function SplashPills({ append }) {
<div className="grid grid-cols-2 gap-4 mb-[8px]">
<SplashPill content="Migrate code to react" append={append} />
<SplashPill content="Scaffold a data retention API" append={append} />
<SplashPill content="List files in my CWD" append={append} />
<SplashPill content="List files in my current directory" append={append} />
<SplashPill content="Find all markdown files" append={append} />
</div>
)
Expand Down

0 comments on commit 3a15724

Please sign in to comment.