Skip to content

Commit

Permalink
fix: change ico, add /agent title
Browse files Browse the repository at this point in the history
  • Loading branch information
Vsion committed Apr 10, 2024
1 parent a085856 commit 897896f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
8 changes: 8 additions & 0 deletions src/app/[locale]/agent/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
import { sdk as bff } from '@yuntijs/arcadia-bff-sdk';
import { Flex } from 'antd';
import { getTranslations } from 'next-intl/server';
import React from 'react';

import Agent from './components';

export async function generateMetadata({ params: { locale } }: { params: { locale: string } }) {
const t = await getTranslations({ locale });
return {
title: t('components.index.faXianAIZhi'),
};
}

export default async function Page() {
const agentData = await bff
.listGPTs({
Expand Down
Binary file modified src/app/favicon.ico
Binary file not shown.
3 changes: 1 addition & 2 deletions src/layout/AppLayout/SideBar/SideBarHeader/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ export const useStyles = createStyles(({ token }) => ({
lineHeight: '50px',
borderBottom: `1px solid ${token.colorSplit}`,
color: token.colorPrimary,
padding: '0 16px',
fontWeight: 'bolder',
padding: '0 20px',
fontSize: '24px',
cursor: 'pointer',
a: {
Expand Down
3 changes: 1 addition & 2 deletions src/layout/AppNoAuthLayout/SideBar/SideBarHeader/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ export const useStyles = createStyles(({ token }) => ({
lineHeight: '50px',
borderBottom: `1px solid ${token.colorSplit}`,
color: token.colorPrimary,
padding: '0 16px',
fontWeight: 'bolder',
padding: '0 20px',
fontSize: '24px',
cursor: 'pointer',
a: {
Expand Down
3 changes: 1 addition & 2 deletions src/layout/AppSkeletonLayout/SideBar/SideBarHeader/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ export const useStyles = createStyles(({ token }) => ({
lineHeight: '50px',
borderBottom: `1px solid ${token.colorSplit}`,
color: token.colorPrimary,
padding: '0 16px',
fontWeight: 'bolder',
padding: '0 20px',
fontSize: '24px',
cursor: 'pointer',
a: {
Expand Down

0 comments on commit 897896f

Please sign in to comment.