File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
llmstack/client/src/pages Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 99 Button ,
1010 Container ,
1111 Stack ,
12+ SvgIcon ,
1213 Toolbar ,
1314 Typography ,
1415} from "@mui/material" ;
@@ -18,8 +19,11 @@ import { isMobileState, isLoggedInState } from "../data/atoms";
1819import { AgentRenderer } from "../components/apps/AgentRenderer" ;
1920import { WebChatRender } from "../components/apps/WebChatRender" ;
2021import { WebAppRenderer } from "../components/apps/WebAppRenderer" ;
22+ import { ReactComponent as GithubIcon } from "../assets/images/icons/github.svg" ;
2123import logo from "../assets/logo.png" ;
2224
25+ const SITE_NAME = process . env . REACT_APP_SITE_NAME || "LLMStack" ;
26+
2327function AppRenderPage ( { headless = false } ) {
2428 const { publishedAppId, embed, chatBubble } = useParams ( ) ;
2529 const [ app , setApp ] = useState ( { } ) ;
@@ -116,6 +120,17 @@ function AppRenderPage({ headless = false }) {
116120 />
117121 </ a >
118122 < Box sx = { { flexGrow : 1 } } />
123+ { SITE_NAME === "LLMStack" && (
124+ < SvgIcon
125+ component = { GithubIcon }
126+ sx = { { width : "50px" , height : "50px" } }
127+ viewBox = "-10 -2 28 20"
128+ onClick = { ( ) => {
129+ window . location . href =
130+ "https://github.com/trypromptly/llmstack" ;
131+ } }
132+ />
133+ ) }
119134 { app . is_shareable && (
120135 < TwitterShareButton
121136 url = { window . location . href }
You can’t perform that action at this time.
0 commit comments