From: Thibaud Eberwein Date: Thu, 26 Jul 2018 09:10:33 +0000 (+0200) Subject: WWWSC-81 Rectify design & Text of new About Page (#551) X-Git-Tag: 7.5~720 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6ea1216241a0d4e475a9fea3e29c6eb5f03e48fc;p=sonarqube.git WWWSC-81 Rectify design & Text of new About Page (#551) --- diff --git a/server/sonar-web/public/images/sonarcloud/bitbucket-white.svg b/server/sonar-web/public/images/sonarcloud/bitbucket-white.svg deleted file mode 100644 index fd609b590c5..00000000000 --- a/server/sonar-web/public/images/sonarcloud/bitbucket-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/server/sonar-web/public/images/sonarcloud/bitbucket.svg b/server/sonar-web/public/images/sonarcloud/bitbucket.svg new file mode 100644 index 00000000000..984afdaa426 --- /dev/null +++ b/server/sonar-web/public/images/sonarcloud/bitbucket.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/server/sonar-web/public/images/sonarcloud/github-white.svg b/server/sonar-web/public/images/sonarcloud/github-white.svg deleted file mode 100644 index ec49a934800..00000000000 --- a/server/sonar-web/public/images/sonarcloud/github-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/server/sonar-web/public/images/sonarcloud/github.svg b/server/sonar-web/public/images/sonarcloud/github.svg new file mode 100644 index 00000000000..97c8f324e50 --- /dev/null +++ b/server/sonar-web/public/images/sonarcloud/github.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/server/sonar-web/public/images/sonarcloud/windows-white.svg b/server/sonar-web/public/images/sonarcloud/windows-white.svg deleted file mode 100644 index ccd03f62a41..00000000000 --- a/server/sonar-web/public/images/sonarcloud/windows-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/server/sonar-web/src/main/js/app/components/__tests__/GlobalFooter-test.tsx b/server/sonar-web/src/main/js/app/components/__tests__/GlobalFooter-test.tsx index dad1ed27cab..5d493f1c3c6 100644 --- a/server/sonar-web/src/main/js/app/components/__tests__/GlobalFooter-test.tsx +++ b/server/sonar-web/src/main/js/app/components/__tests__/GlobalFooter-test.tsx @@ -51,5 +51,7 @@ it('should render SonarCloud footer', () => { function getWrapper(props = {}, onSonarCloud = false) { (isSonarCloud as jest.Mock).mockImplementation(() => onSonarCloud); - return shallow(); + return shallow( + + ); } diff --git a/server/sonar-web/src/main/js/app/theme.js b/server/sonar-web/src/main/js/app/theme.js index b9e4c9670cc..91ba51aa4c3 100644 --- a/server/sonar-web/src/main/js/app/theme.js +++ b/server/sonar-web/src/main/js/app/theme.js @@ -80,6 +80,7 @@ module.exports = { // different baseFontFamily: "'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif", + systemFontFamily: "-apple-system,'BlinkMacSystemFont','Segoe UI','Helvetica','Arial',sans-serif", defaultShadow: '0 6px 12px rgba(0, 0, 0, 0.175)', // z-index @@ -111,8 +112,10 @@ module.exports = { // sonarcloud sonarcloudOrange: '#f60', sonarcloudOrangeDark: '#e65c00', + sonarcloudBlack100: '#ffffff', sonarcloudBlack200: '#f9f9fb', sonarcloudBlack300: '#cfd3d7', + sonarcloudBlack500: '#8a8c8f', sonarcloudBlack700: '#434447', sonarcloudBlack800: '#2d3032', sonarcloudBlack900: '#070706', diff --git a/server/sonar-web/src/main/js/apps/about/sonarcloud/Pricing.tsx b/server/sonar-web/src/main/js/apps/about/sonarcloud/Pricing.tsx index b6055d50309..3943b5eced5 100644 --- a/server/sonar-web/src/main/js/apps/about/sonarcloud/Pricing.tsx +++ b/server/sonar-web/src/main/js/apps/about/sonarcloud/Pricing.tsx @@ -35,7 +35,7 @@ export default function Pricing() { From 10€/mo - + see prices diff --git a/server/sonar-web/src/main/js/apps/about/sonarcloud/SQHome.tsx b/server/sonar-web/src/main/js/apps/about/sonarcloud/SQHome.tsx index bce6f46f94d..7d9067e3a0d 100644 --- a/server/sonar-web/src/main/js/apps/about/sonarcloud/SQHome.tsx +++ b/server/sonar-web/src/main/js/apps/about/sonarcloud/SQHome.tsx @@ -61,21 +61,21 @@ function Jumbotron() {
- + GitHub - + Bitbucket - + VSTS
@@ -94,10 +94,7 @@ function Jumbotron() { function Features() { return ( <> -

- The right solution for developers - • -

+

The right solution for developers