satof3 2 лет назад
Родитель
Сommit
7ac02750ff
2 измененных файлов с 5 добавлено и 6 удалено
  1. 1 1
      apps/app/src/components/User/UserInfo.tsx
  2. 4 5
      apps/app/src/pages/installer.page.tsx

+ 1 - 1
apps/app/src/components/User/UserInfo.tsx

@@ -26,7 +26,7 @@ export const UserInfo = (props: UserInfoProps): JSX.Element => {
           {author.name}
           {author.name}
         </h1>
         </h1>
         <div className="user-page-meta mt-3 mb-0">
         <div className="user-page-meta mt-3 mb-0">
-          <span className="user-page-username me-4"><i className="icon-user me-1"></i>{author.username}</span>
+          <span className="user-page-username me-4"><span className="material-symbols-outlined me-1">person</span>{author.username}</span>
           <span className="user-page-email me-2">
           <span className="user-page-email me-2">
             <span className="material-symbols-outlined me-1">mail</span>
             <span className="material-symbols-outlined me-1">mail</span>
             { author.isEmailPublished
             { author.isEmailPublished

+ 4 - 5
apps/app/src/pages/installer.page.tsx

@@ -1,7 +1,7 @@
 import React, { useMemo } from 'react';
 import React, { useMemo } from 'react';
 
 
 import { pagePathUtils } from '@growi/core/dist/utils';
 import { pagePathUtils } from '@growi/core/dist/utils';
-import {
+import type {
   NextPage, GetServerSideProps, GetServerSidePropsContext,
   NextPage, GetServerSideProps, GetServerSidePropsContext,
 } from 'next';
 } from 'next';
 import { useTranslation } from 'next-i18next';
 import { useTranslation } from 'next-i18next';
@@ -16,9 +16,8 @@ import {
   useCsrfToken, useAppTitle, useSiteUrl, useConfidential,
   useCsrfToken, useAppTitle, useSiteUrl, useConfidential,
 } from '../stores/context';
 } from '../stores/context';
 
 
-import {
-  CommonProps, getNextI18NextConfig, getServerSideCommonProps, generateCustomTitle,
-} from './utils/commons';
+import type { CommonProps } from './utils/commons';
+import { getNextI18NextConfig, getServerSideCommonProps, generateCustomTitle } from './utils/commons';
 
 
 
 
 const DataTransferForm = dynamic(() => import('../components/DataTransferForm'), { ssr: false });
 const DataTransferForm = dynamic(() => import('../components/DataTransferForm'), { ssr: false });
@@ -43,7 +42,7 @@ const InstallerPage: NextPage<Props> = (props: Props) => {
   const navTabMapping = useMemo(() => {
   const navTabMapping = useMemo(() => {
     return {
     return {
       user_infomation: {
       user_infomation: {
-        Icon: () => <i className="icon-fw icon-user"></i>,
+        Icon: () => <span className="material-symbols-outlined">person</span>,
         Content: InstallerForm,
         Content: InstallerForm,
         i18n: t('installer.tab'),
         i18n: t('installer.tab'),
       },
       },