Skip to content

Commit

Permalink
Merge pull request #220 from georgetown-cset/211-add-dataset-disclaimer
Browse files Browse the repository at this point in the history
Add usage disclaimer
  • Loading branch information
jmelot authored Feb 29, 2024
2 parents c71aaaf + 1c8ce54 commit e36cfa5
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 12 deletions.
14 changes: 7 additions & 7 deletions web/gui-v2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/gui-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@eto/eto-ui-components": "^1.6.4",
"@eto/eto-ui-components": "^1.6.5",
"@mdx-js/react": "^2.3.0",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.13.5",
Expand Down
2 changes: 2 additions & 0 deletions web/gui-v2/src/components/DetailView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ const styles = {
padding: 1rem;
`,
infocard: css`
margin-bottom: 0;
margin-top: 1rem;
${breakpoints.tablet_regular} {
margin-bottom: 0;
margin-top: 1rem;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { graphql } from 'gatsby';

import { AppWrapper } from '@eto/eto-ui-components';
import { AppWrapper, UsageDisclaimer } from '@eto/eto-ui-components';

import DetailView from '../../components/DetailView';
import { company_data as allCompanies } from '../../static_data/data';
Expand All @@ -17,6 +17,9 @@ const CompanyPage = ({ data }) => {
companyData={companyData}
companyId={companyId}
/>
<UsageDisclaimer
toolName="PARAT"
/>
</AppWrapper>
);
};
Expand Down
14 changes: 11 additions & 3 deletions web/gui-v2/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import React from 'react';
import { css } from '@emotion/react';
import { graphql, useStaticQuery } from 'gatsby';

import { AppWrapper, InfoCard, breakpoints } from '@eto/eto-ui-components';
import {
AppWrapper,
InfoCard,
UsageDisclaimer,
breakpoints,
} from '@eto/eto-ui-components';

import ListView from '../components/ListView';

Expand All @@ -18,10 +23,10 @@ const styles = {
color: var(--grey);
`,
listView: css`
margin: 35px 15px;
margin: 35px 15px 0;
${breakpoints.tablet_regular} {
margin: 50px 65px;
margin: 50px 65px 0;
}
`,
};
Expand Down Expand Up @@ -54,6 +59,9 @@ const IndexPage = () => {
</div>
</InfoCard>
<ListView css={styles.listView} />
<UsageDisclaimer
toolName="PARAT"
/>
</AppWrapper>
);
}
Expand Down

0 comments on commit e36cfa5

Please sign in to comment.