mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
feat [ui]: Pop out when hovering over text (#363)
Co-authored-by: Mic Neale <michael.neale@gmail.com>
This commit is contained in:
Binary file not shown.
@@ -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?",
|
||||
|
||||
@@ -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,
|
||||
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user