Skip to content

Commit

Permalink
feat: use canyon-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Jun 13, 2024
1 parent 375a337 commit ba9e9b9
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 430 deletions.
2 changes: 1 addition & 1 deletion packages/canyon-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ahooks": "^3.7.10",
"antd": "^5.14.1",
"axios": "^1.6.7",
"canyon-ui": "^0.0.10-alpha.3",
"canyon-ui": "^0.0.10-alpha.8",
"canyon-ui-old": "workspace:^",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.10",
Expand Down
75 changes: 0 additions & 75 deletions packages/canyon-platform/src/pages/index/billing/cart.json

This file was deleted.

91 changes: 0 additions & 91 deletions packages/canyon-platform/src/pages/index/billing/cart.tsx

This file was deleted.

164 changes: 0 additions & 164 deletions packages/canyon-platform/src/pages/index/billing/index.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions packages/canyon-platform/src/pages/index/members/index.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Icon, { AppstoreOutlined, ExperimentOutlined } from '@ant-design/icons';
import { useMutation, useQuery } from '@apollo/client';
import { Editor } from '@monaco-editor/react';
import { FormRegion } from 'canyon-ui';
import { FormRegion, TextTypography } from 'canyon-ui';

import {
GetProjectByIdDocument,
Expand All @@ -14,7 +14,7 @@ import TagTable from './helper/TagTable.tsx';
const gridStyle: any = {
width: '100%',
};
const { Title, Text } = Typography;
const { Text } = Typography;
const { useToken } = theme;
const ProjectConfigure = () => {
const prm: any = useParams();
Expand All @@ -36,11 +36,8 @@ const ProjectConfigure = () => {

const basicFormsRef = useRef<any>(null);
return (
<div className={''}>
<Title level={2} className={'flex items-center gap-3 pb-8'}>
<AppstoreOutlined className={'text-[#687076] text-[32px]'} />
<span>{t('projects.config.title')}</span>
</Title>
<div>
<TextTypography title={t('projects.config.title')} icon={<AppstoreOutlined />} />
<FormRegion
title={t('projects.config.basic.information')}
icon={<Icon component={SolarUserIdLinear} />}
Expand Down Expand Up @@ -149,7 +146,6 @@ const ProjectConfigure = () => {
variables: {
projectID: prm.id,
coverage: coverage || GetProjectByIdDocumentData?.getProjectByID.coverage || '',
tag: '__null__',
description: '__null__',
defaultBranch:
defaultBranch ||
Expand Down
Loading

0 comments on commit ba9e9b9

Please sign in to comment.