Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed Dec 31, 2023
1 parent ec5a07e commit b24bd27
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scripts/docsWorkflow/const.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { globSync } from 'glob';
import { resolve } from 'node:path';

export const WIKI_URL = 'https://github.com/lobehub/lobe-chat/wiki/';
export const WIKI_URL = 'https://github.com/bentwnghk/lobe-chat/wiki/';
export const ROOT = resolve(__dirname, '../..');
export const DOCS_DIR = resolve(ROOT, 'docs');
export const HOME_PATH = resolve(DOCS_DIR, 'Home.md');
Expand Down
2 changes: 1 addition & 1 deletion src/app/chat/(desktop)/features/SessionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Header = memo(() => {
return (
<Flexbox className={styles.top} gap={16} padding={16}>
<Flexbox distribution={'space-between'} horizontal>
<Logo className={styles.logo} size={36} type={'text'} />
<Logo className={styles.logo} size={1} type={'text'} />
<ActionIcon
icon={MessageSquarePlus}
onClick={() => createSession()}
Expand Down
2 changes: 1 addition & 1 deletion src/app/chat/(mobile)/features/SessionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Header = memo(() => {
const avatar = useGlobalStore((st) => st.settings.avatar);
return (
<MobileNavBar
center={<Logo type={'text'} />}
center={<Logo size={1} type={'text'} />}
left={
<div onClick={() => router.push('/settings')} style={{ marginLeft: 8 }}>
{avatar ? <Avatar avatar={avatar} size={28} /> : <Logo size={28} />}
Expand Down
2 changes: 1 addition & 1 deletion src/app/chat/features/ChatHeader/ShareButton/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Preview = memo<FieldType & { title?: string }>(
<ChatList />
{withFooter ? (
<Flexbox align={'center'} className={styles.footer} gap={4}>
<Logo extra={'chat'} type={'combine'} />
<Logo size={1} extra={'chat'} type={'combine'} />
<div className={styles.url}>{pkg.homepage}</div>
</Flexbox>
) : (
Expand Down
2 changes: 1 addition & 1 deletion src/app/market/(desktop)/features/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Header = memo(() => {
<ChatHeader
left={
<Link aria-label={'home'} href={'/'}>
<Logo className={styles.logo} extra={'Discover'} size={36} type={'text'} />
<Logo className={styles.logo} size={1} extra={'Discover'} type={'text'} />
</Link>
}
right={<ShareAgentButton />}
Expand Down
2 changes: 1 addition & 1 deletion src/app/market/(mobile)/features/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { memo } from 'react';
import ShareAgentButton from '../../features/ShareAgentButton';

const Header = memo(() => {
return <MobileNavBar center={<Logo type={'text'} />} right={<ShareAgentButton mobile />} />;
return <MobileNavBar center={<Logo size={1} type={'text'} />} right={<ShareAgentButton mobile />} />;
});

export default Header;
2 changes: 1 addition & 1 deletion src/app/settings/(mobile)/features/Header/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Logo, MobileNavBar } from '@lobehub/ui';
import { memo } from 'react';

const Header = memo(() => {
return <MobileNavBar center={<Logo type={'text'} />} />;
return <MobileNavBar center={<Logo size={1} type={'text'} />} />;
});

export default Header;
2 changes: 1 addition & 1 deletion src/app/settings/features/SideBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SideBar = memo(() => {
<DraggablePanelBody className={styles.body} style={{ padding: 0 }}>
<Flexbox className={styles.top} padding={16}>
<div>
<Logo className={styles.logo} extra={'Settings'} size={1} type={'text'} />
<Logo className={styles.logo} size={1} extra={'Settings'} type={'text'} />
</div>
</Flexbox>
<Flexbox gap={2} style={{ paddingInline: 8 }}>
Expand Down
2 changes: 1 addition & 1 deletion src/app/welcome/(mobile)/features/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Logo, MobileNavBar } from '@lobehub/ui';
import { memo } from 'react';

const Header = memo(() => <MobileNavBar center={<Logo type={'text'} />} />);
const Header = memo(() => <MobileNavBar center={<Logo size={1} type={'text'} />} />);

export default Header;

0 comments on commit b24bd27

Please sign in to comment.