aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-09-20 11:44:42 +0200
committerSonarTech <sonartech@sonarsource.com>2018-09-21 20:20:55 +0200
commitd5fbab940ffbdc45df0c5a078a340caaf9fea956 (patch)
tree81006b1bdd9eb9dd301a55caa220c2710e327cc1 /server/sonar-web/src/main/js/apps/about/components/AboutScanners.js
parentfbf80ad4a51f1c3c267c0267345a14881bfc614f (diff)
downloadsonarqube-d5fbab940ffbdc45df0c5a078a340caaf9fea956.tar.gz
sonarqube-d5fbab940ffbdc45df0c5a078a340caaf9fea956.zip
rewrite about app in ts
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about/components/AboutScanners.js')
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/AboutScanners.js70
1 files changed, 0 insertions, 70 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js b/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js
deleted file mode 100644
index 42ad663a7ad..00000000000
--- a/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-import React from 'react';
-import { translate } from '../../../helpers/l10n';
-
-const scanners = [
- {
- key: 'sonarqube',
- link: 'https://redirect.sonarsource.com/doc/install-configure-scanner.html'
- },
- {
- key: 'msbuild',
- link: 'https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html'
- },
- {
- key: 'maven',
- link: 'https://redirect.sonarsource.com/doc/install-configure-scanner-maven.html'
- },
- {
- key: 'gradle',
- link: 'https://redirect.sonarsource.com/doc/gradle.html'
- },
- {
- key: 'jenkins',
- link: 'https://redirect.sonarsource.com/plugins/jenkins.html'
- },
- {
- key: 'ant',
- link: 'https://redirect.sonarsource.com/doc/install-configure-scanner-ant.html'
- }
-];
-
-export default function AboutScanners() {
- return (
- <div className="boxed-group">
- <h2>{translate('about_page.scanners')}</h2>
- <div className="boxed-group-inner">
- <p className="about-page-text">{translate('about_page.scanners.text')}</p>
- <div className="about-page-analyzers">
- {scanners.map(scanner => (
- <a className="about-page-analyzer-box" href={scanner.link} key={scanner.key}>
- <img
- alt={translate('about_page.scanners', scanner.key)}
- height={60}
- src={`${window.baseUrl}/images/scanner-logos/${scanner.key}.svg`}
- />
- </a>
- ))}
- </div>
- </div>
- </div>
- );
-}