jusrhee 5 лет назад
Родитель
Сommit
dcc4f55fe9
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      dashboard/src/main/home/templates/expanded-template/TemplateInfo.tsx

+ 17 - 0
dashboard/src/main/home/templates/expanded-template/TemplateInfo.tsx

@@ -99,6 +99,22 @@ export default class TemplateInfo extends Component<PropsType, StateType> {
           </Banner>
         </>
       );
+    } else if (this.props.currentTemplate.name.toLowerCase() === 'https-issuer') {
+      return (
+        <>
+          <Br />
+          <Banner>
+            <i className="material-icons-outlined">info</i>
+            To use this template you must first follow
+            <Link 
+              target="_blank"
+              href="https://docs.getporter.dev/docs/https-and-custom-domains"
+            >
+              Porter's HTTPS setup guide
+            </Link> (5 minutes).
+          </Banner>
+        </>
+      );
     }
   }
 
@@ -145,6 +161,7 @@ TemplateInfo.contextType = Context;
 
 const Link = styled.a`
   color: #8590ff;
+  margin-right: 5px;
   cursor: pointer;
   margin-left: 5px;
 `;