Browse Source

misc: remove unused pages(#master)

master
OhYee 3 years ago
parent
commit
5dfea19456
Signed by: OhYee
GPG Key ID: 5A9E1F63ED274FBB
  1. 0
      .remove/components/steps.tsx
  2. 2
      .remove/pages/apps/queue/[id].tsx
  3. 2
      .remove/pages/apps/queue/index.tsx
  4. 1
      .remove/readme.md
  5. 10
      pages/apps/index.tsx

0
components/steps.tsx → .remove/components/steps.tsx

2
pages/apps/queue/[id].tsx → .remove/pages/apps/queue/[id].tsx

@ -35,7 +35,7 @@ import { @@ -35,7 +35,7 @@ import {
import { Space, TextCenter } from '@/components/container';
import { Context, defaultContext } from '@/utils/global';
import Steps from '@/components/steps';
import Steps from '@/remove/components/steps';
import { LoginModal } from '@/components/login';
import { Queue, Member } from '@/extensions/queue/types';

2
pages/apps/queue/index.tsx → .remove/pages/apps/queue/index.tsx

@ -22,7 +22,7 @@ import { ColumnsType, TablePaginationConfig } from 'antd/lib/table/interface'; @@ -22,7 +22,7 @@ import { ColumnsType, TablePaginationConfig } from 'antd/lib/table/interface';
import { UserOutlined, SolutionOutlined, CheckOutlined } from '@ant-design/icons';
import { Space, TextCenter } from '@/components/container';
import Steps from '@/components/steps';
import Steps from '@/remove/components/steps';
import { Context } from '@/utils/global';
import { LoginModal } from '@/components/login';

1
.remove/readme.md

@ -0,0 +1 @@ @@ -0,0 +1 @@
移除的页面和组件

10
pages/apps/index.tsx

@ -35,11 +35,11 @@ class Apps extends React.Component<AppsProps, AppsState> { @@ -35,11 +35,11 @@ class Apps extends React.Component<AppsProps, AppsState> {
static async getInitialProps() {
return {
apps: [
{
name: '动森候机大厅',
link: '/apps/queue',
img: 'https://static.oyohyee.com/apps/queue.png',
},
// {
// name: '动森候机大厅',
// link: '/apps/queue',
// img: 'https://static.oyohyee.com/apps/queue.png',
// },
{
name: '在线密码学',
link: '/apps/crypto',

Loading…
Cancel
Save