@@ -49,6 +49,18 @@ export function StarAskPage({ onClose, page = "upgrade" }: StarAskPageProps) {
4949 onClose ( ) ;
5050 } ;
5151
52+ const handleRepoLinkClick = ( ) => {
53+ RpcApi . RecordTEventCommand (
54+ TabRpcClient ,
55+ {
56+ event : "action:link" ,
57+ props : { "action:type" : "githubrepo" , "onboarding:page" : page } ,
58+ } ,
59+ { noresponse : true }
60+ ) ;
61+ window . open ( "https://github.com/wavetermdev/waveterm" , "_blank" ) ;
62+ } ;
63+
5264 const handleMaybeLater = async ( ) => {
5365 RpcApi . RecordTEventCommand (
5466 TabRpcClient ,
@@ -72,18 +84,22 @@ export function StarAskPage({ onClose, page = "upgrade" }: StarAskPageProps) {
7284 < div className = "flex justify-center" >
7385 < Logo />
7486 </ div >
75- < div className = "text-center text-[25px] font-normal text-foreground" > Support Wave on GitHub ⭐</ div >
87+ < div className = "text-center text-[25px] font-normal text-foreground" > Support open-source. Star Wave. ⭐</ div >
7688 </ header >
7789 < div className = "flex-1 flex flex-col items-center justify-center gap-5 unselectable" >
7890 < div className = "flex flex-col items-center gap-4 max-w-[460px] text-center" >
79- < div className = "text-foreground text-base font-medium" > Thanks for being an early Wave adopter!</ div >
8091 < div className = "text-secondary text-sm leading-relaxed" >
81- A GitHub star shows your support for Wave ( and open-source) and helps us reach more developers.
82- It takes just one click and means a lot to the team .
92+ Wave is free, open-source, and open-model. Stars help us stay visible against closed
93+ alternatives. One click makes a difference .
8394 </ div >
84- < div className = "flex items-center justify-center gap-2 text-secondary text-sm mt-1" >
85- < i className = "fa-brands fa-github text-foreground text-lg" />
86- < span className = "text-foreground font-mono text-sm" > wavetermdev/waveterm</ span >
95+ < div
96+ className = "group flex items-center justify-center gap-2 text-secondary text-sm mt-1 cursor-pointer transition-colors"
97+ onClick = { handleRepoLinkClick }
98+ >
99+ < i className = "fa-brands fa-github text-foreground text-lg group-hover:text-accent transition-colors" />
100+ < span className = "text-foreground font-mono text-sm group-hover:text-accent group-hover:underline transition-colors" >
101+ wavetermdev/waveterm
102+ </ span >
87103 </ div >
88104 </ div >
89105 </ div >
0 commit comments