Steven Fukase 5 лет назад
Родитель
Сommit
c4226786d1

BIN
public/029f9229f245585818d628bc89f13bda.png


BIN
public/3b057d62dafc540b458a2b68e3de90bb.png


BIN
public/48180ec4401b7b8bfceb485c28713908.png


BIN
public/8435ca833da926a3ce14246def63d63e.png


BIN
public/d4d8e2f879b6afdfddeaae28233ff4f0.png


BIN
public/eaac23070c6b378bde2c1438fa72f52e.png


+ 13 - 7
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettingsAccordion.jsx

@@ -1,6 +1,12 @@
 import React, { useState } from 'react';
 import React, { useState } from 'react';
 import { useTranslation } from 'react-i18next';
 import { useTranslation } from 'react-i18next';
 import { Collapse } from 'reactstrap';
 import { Collapse } from 'reactstrap';
+import installYourAppIntroductionImage from '../../../../../../public/images/slack-integration/slack-bot-install-your-app-introduction.png';
+import installToWorkspaceImage from '../../../../../../public/images/slack-integration/slack-bot-install-to-workspace.png';
+import installYourAppTransitionDestinationImage from '../../../../../../public/images/slack-integration/slack-bot-install-your-app-transition-destination.png';
+import installYourAppCompleteImage from '../../../../../../public/images/slack-integration/slack-bot-install-your-app-complete.png';
+import workspaceJoinedBotImage from '../../../../../../public/images/slack-integration/slack-bot-install-to-workspace-joined-bot.png';
+import introductionToChannelImage from '../../../../../../public/images/slack-integration/slack-bot-install-your-app-introduction-to-channel.png';
 
 
 const CustomBotWithoutSettingsAccordion = () => {
 const CustomBotWithoutSettingsAccordion = () => {
   const { t } = useTranslation('admin');
   const { t } = useTranslation('admin');
@@ -59,18 +65,18 @@ const CustomBotWithoutSettingsAccordion = () => {
         </div>
         </div>
         <Collapse isOpen={currentlyOpenAccordionIndex === 1}>
         <Collapse isOpen={currentlyOpenAccordionIndex === 1}>
           <div className="card-body px-3 py-4">
           <div className="card-body px-3 py-4">
-            <div className="container">
+            <div className="container w-75">
               <p className="text-dark">1. Install your app をクリックします。</p>
               <p className="text-dark">1. Install your app をクリックします。</p>
-              <img src="../../../../../../public/images/slack-integration/slack-bot-install-your-app-introduction.png" className="border border-light mb-4" />
+              <img src={installYourAppIntroductionImage} className="border border-light img-fluid mb-4" />
               <p className="text-dark">2. Install to Workspace をクリックします。</p>
               <p className="text-dark">2. Install to Workspace をクリックします。</p>
-              <img src="../../../../../../public/images/slack-integration/slack-bot-install-your-app-introduction.png" className="border border-light mb-4" />
+              <img src={installToWorkspaceImage} className="border border-light img-fluid mb-4" />
               <p className="text-dark">3. 遷移先の画面にて、Allowをクリックします。</p>
               <p className="text-dark">3. 遷移先の画面にて、Allowをクリックします。</p>
-              <img src="../../../../../../public/images/slack-integration/slack-bot-install-your-app-introduction.png" className="border border-light mb-4" />
+              <img src={installYourAppTransitionDestinationImage} className="border border-light img-fluid mb-4" />
               <p className="text-dark">4. Install your app の右側に 緑色のチェックがつけばワークスペースへのインストール完了です。</p>
               <p className="text-dark">4. Install your app の右側に 緑色のチェックがつけばワークスペースへのインストール完了です。</p>
-              <img src="../../../../../../public/images/slack-integration/slack-bot-install-your-app-introduction.png" className="border border-light mb-4" />
+              <img src={installYourAppCompleteImage} className="border border-light img-fluid mb-4" />
               <p className="text-dark">5. GROWI bot を使いたいチャンネルに @example を使用して招待します。</p>
               <p className="text-dark">5. GROWI bot を使いたいチャンネルに @example を使用して招待します。</p>
-              <img src="../../../../../../public/images/slack-integration/slack-bot-install-your-app-introduction.png" className="border border-light" />
-
+              <img src={workspaceJoinedBotImage} className="border border-light img-fluid" />
+              <img src={introductionToChannelImage} className="border border-light img-fluid" />
             </div>
             </div>
           </div>
           </div>
         </Collapse>
         </Collapse>