aqa-test-tools
aqa-test-tools copied to clipboard
Add Netlify attribution to TRSS client page
The Adoptium hosted TRSS should provide attribution to Netlify for hosting it.
This can be through adding a footer to the index page. e.g.
diff --git a/test-result-summary-client/src/App.jsx b/test-result-summary-client/src/App.jsx
index 0519def..ac56b67 100644
--- a/test-result-summary-client/src/App.jsx
+++ b/test-result-summary-client/src/App.jsx
@@ -252,6 +252,11 @@ export default class App extends Component {
</ErrorBoundary>
</Layout>
</Layout>
+ <Layout>
+ <footer className="py-3 mt-auto" style={{ background: '#14003c', margin: '20px 0'}}>
+ <a href="https://www.netlify.com" style={{ height: '100%', display: 'flex' }}><img src="https://www.netlify.com/v3/img/components/netlify-light.svg" alt="Deploys by Netlify" /></a>
+ </footer>
+ </Layout>
</Layout>
</ConfigProvider>
);
(I don't have a TRSS developer installation to test this change)