mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 03:50:30 +00:00
fix: link dataforest cloud with /en again
The 5.1.0 popup, the sponsor panel in Settings > About and the README had switched to https://cloud.dataforest.net/?mtm_campaign=trek. The link stays https://cloud.dataforest.net/en?mtm_campaign=trek everywhere.
This commit is contained in:
@@ -134,7 +134,7 @@ describe('AboutTab', () => {
|
||||
|
||||
it('FE-COMP-ABOUT-018: the sponsor panel links dataforest cloud wherever it is named, with both logos bundled', () => {
|
||||
render(<AboutTab appVersion="1.0.0" />);
|
||||
const links = document.querySelectorAll('a[href="https://cloud.dataforest.net/?mtm_campaign=trek"]');
|
||||
const links = document.querySelectorAll('a[href="https://cloud.dataforest.net/en?mtm_campaign=trek"]');
|
||||
// The logo tile, the call to action, and the brand name in the title and in the body.
|
||||
expect(links).toHaveLength(4);
|
||||
for (const link of links) {
|
||||
|
||||
@@ -93,7 +93,7 @@ function LinkTile({
|
||||
);
|
||||
}
|
||||
|
||||
const DATAFOREST_HREF = 'https://cloud.dataforest.net/?mtm_campaign=trek';
|
||||
const DATAFOREST_HREF = 'https://cloud.dataforest.net/en?mtm_campaign=trek';
|
||||
const DATAFOREST_NAME = 'dataforest cloud';
|
||||
const DATAFOREST = '#02C382'; // theme-lint-disable: brand colour (dataforest cloud)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user