diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-11 15:28:22 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-16 10:06:50 +0100 |
commit | 71d4a992b83b41c2b4fa6dc8456584ee8c3324ef (patch) | |
tree | eaae8256e0d9fdf47dbd7d16fc67add1ece4683c /server/sonar-web/src/main/js/apps/about/components/AboutCleanCode.js | |
parent | 9774527d9e469c6590beb4cc4042e48a41f51b81 (diff) | |
download | sonarqube-71d4a992b83b41c2b4fa6dc8456584ee8c3324ef.tar.gz sonarqube-71d4a992b83b41c2b4fa6dc8456584ee8c3324ef.zip |
SONAR-8382 Create landing page for anonymous users
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about/components/AboutCleanCode.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/AboutCleanCode.js | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutCleanCode.js b/server/sonar-web/src/main/js/apps/about/components/AboutCleanCode.js new file mode 100644 index 00000000000..1da76b6945e --- /dev/null +++ b/server/sonar-web/src/main/js/apps/about/components/AboutCleanCode.js @@ -0,0 +1,42 @@ +/* + * SonarQube + * Copyright (C) 2009-2016 SonarSource SA + * mailto:contact 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 DropImage from './DropImage'; + +export default class AboutCleanCode extends React.Component { + render () { + return ( + <div className="about-page-section"> + <div className="about-page-center-container"> + <h2 className="about-page-header">Keep your code clean by fixing the leak</h2> + <p className="about-page-text about-page-text-center"> + By fixing new issues as they appear in code, you create and maintain a clean code base. + <br/> + Even on legacy projects, focusing on keeping new code clean will eventually yield a code base you can be + proud of. + </p> + <div className="about-page-section-image"> + <DropImage/> + </div> + </div> + </div> + ); + } +} |