🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
chore: remove like github star footer (#13246)
Rdmclin2a4a03eadc475
diff --git a/src/features/Setting/Footer.tsx b/src/features/Setting/Footer.tsxindex 407fe371110..379b79ff647 100644--- a/src/features/Setting/Footer.tsx+++ b/src/features/Setting/Footer.tsx@@ -11,7 +11,7 @@ import { useTranslation } from 'react-i18next';import GuideModal from '@/components/GuideModal';import GuideVideo from '@/components/GuideVideo';import { GITHUB, GITHUB_ISSUES } from '@/const/url';-import { featureFlagsSelectors, useServerConfigStore } from '@/store/serverConfig';+import { useServerConfigStore } from '@/store/serverConfig';import { isOnServerSide } from '@/utils/env';const styles = createStaticStyles(@@ -28,9 +28,11 @@ const Footer = memo<PropsWithChildren>(() => {const [openStar, setOpenStar] = useState(false);const [openFeedback, setOpenFeedback] = useState(false);- const { hideGitHub } = useServerConfigStore(featureFlagsSelectors);+ const hideGitHubEngagementFooter = useServerConfigStore((s) =>+ Boolean(s.featureFlags.hideGitHub || s.serverConfig.enableBusinessFeatures),+ );- return hideGitHub ? null : (+ return hideGitHubEngagementFooter ? null : (<><Flexbox className={LayoutSettingsFooterClassName} justify={'flex-end'}><Centerdiff --git a/src/routes/(main)/community/(list)/_layout/index.tsx b/src/routes/(main)/community/(list)/_layout/index.tsxindex 2874ced13bb..0999b186192 100644--- a/src/routes/(main)/community/(list)/_layout/index.tsx+++ b/src/routes/(main)/community/(list)/_layout/index.tsx@@ -17,13 +17,15 @@ const Layout = () => {className={styles.contentContainer}gap={16}minWidth={MAX_WIDTH}- paddingBlock={16}+ style={{ paddingBottom: 56, paddingTop: 16 }}wrapperStyle={{minHeight: '100%',position: 'relative',}}>- <Outlet />+ <Flexbox gap={16} style={{ paddingBlockEnd: 40 }} width={'100%'}>+ <Outlet />+ </Flexbox><div className={styles.spacer} /><Footer /></WideScreenContainer>diff --git a/src/routes/(mobile)/community/(list)/_layout/style.ts b/src/routes/(mobile)/community/(list)/_layout/style.tsindex 93af61c32e9..fd312e60c8e 100644--- a/src/routes/(mobile)/community/(list)/_layout/style.ts+++ b/src/routes/(mobile)/community/(list)/_layout/style.ts@@ -3,7 +3,7 @@ import { createStaticStyles } from 'antd-style';export const styles = createStaticStyles(({ css }) => ({// 主容器mainContainer: css`- padding-block-start: 8px;+ padding-block: 8px 48px;padding-inline: 16px;`,}));