diff --git a/components/statsCard/statsCard.jsx b/components/statsCard/statsCard.jsx index b22d37bba..32a98e40d 100644 --- a/components/statsCard/statsCard.jsx +++ b/components/statsCard/statsCard.jsx @@ -55,36 +55,35 @@ const StatsCard = ({ {description} - {tempDisabled ? ( -
{tempDisabled}
- ) : ( - <> -
- {loading ? ( -
-
-
- ) : ( -
-

- {formatNumber(count || 0)} -

-
- )} -
-
- {showAction && !checkBillingType && ( - - )} -
- - )} + <> +
+ {loading ? ( +
+
+
+ ) : ( +
+

+ {formatNumber(count || 0)} +

+
+ )} +
+
+ {showAction && !checkBillingType && ( + + )} +
+ ) diff --git a/templates/das/index.jsx b/templates/das/index.jsx index 93f43bef7..c529f4eb1 100644 --- a/templates/das/index.jsx +++ b/templates/das/index.jsx @@ -84,7 +84,7 @@ const DasPageTemplate = observer( actionHref="#dasTable" showInfo infoText={dasText.reviewCard.info} - countClassName={styles.inputCount} + countClassName={styles.inputDark} /> (
-
+
{title}
- {description} -
- +
+ email
+ {description} +
+ +
+
diff --git a/templates/research-software/components/styles.module.css b/templates/research-software/components/styles.module.css index 94dfd05f6..a2e9c2464 100644 --- a/templates/research-software/components/styles.module.css +++ b/templates/research-software/components/styles.module.css @@ -35,9 +35,22 @@ letter-spacing: 0.01px; } -.end-button { +.img-wrapper { + display: flex; + align-items: center; + justify-content: center; +} + +.img-wrapper img { + width: 128px; + height: auto; +} + +.button-group { display: flex; align-items: flex-end; justify-content: flex-end; width: 100%; + gap: 10px; + margin-top: 24px; } diff --git a/templates/research-software/index.jsx b/templates/research-software/index.jsx index 81bae50b6..d78078e6c 100644 --- a/templates/research-software/index.jsx +++ b/templates/research-software/index.jsx @@ -1,7 +1,6 @@ import React, { useContext, useEffect, useState } from 'react' import { classNames } from '@oacore/design/lib/utils' import { observer } from 'mobx-react-lite' -import { Button } from '@oacore/design' import styles from './styles.module.css' import texts from '../../texts/sw/sw.yml' @@ -219,29 +218,12 @@ const SwPageTemplate = observer( wholeWidthCard actionHref="#sendSwTable" onActionClick={() => handleStatsCardClick('sent')} - countClassName={styles.inputCount} - tempDisabled={ -
- -
-
- Your repository is not configured to support the automatic - notification of software mentions, please go to{' '} - {' '} - to activate it. -
-
-
- } + countClassName={styles.sendCount} + tempDisabled /> handleStatsCardClick('responded')} - tempDisabled={ -
- -
-
- Your repository is not configured to support the automatic - notification of software mentions, please go to{' '} - {' '} - to activate it. -
-
-
- } + countClassName={styles.respondedCount} + tempDisabled />
diff --git a/templates/research-software/styles.module.css b/templates/research-software/styles.module.css index 99928dc2f..96ab174b6 100644 --- a/templates/research-software/styles.module.css +++ b/templates/research-software/styles.module.css @@ -352,3 +352,11 @@ width: 10%; max-width: 5rem; } + +.send-count { + color: #c6a700; +} + +.responded-count { + color: #424242; +} diff --git a/templates/rrs-policy/index.jsx b/templates/rrs-policy/index.jsx index 1663947ec..005189ffa 100644 --- a/templates/rrs-policy/index.jsx +++ b/templates/rrs-policy/index.jsx @@ -78,7 +78,7 @@ const RrsPageTemplate = ({ actionHref="#rrsTable" showInfo infoText={rrs.reviewCard.info} - countClassName={styles.inputCount} + countClassName={styles.inputDark} />