Skip to content

Commit

Permalink
fix: breadcrumb, login icon and notices section (#368)
Browse files Browse the repository at this point in the history
* fixed breadcrumb, login and notices section

* comment function

* removed comment

Co-authored-by: emnlpstr <[email protected]>
  • Loading branch information
2 people authored and sebbalex committed Apr 4, 2022
1 parent 403c71f commit 5783c67
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 18 deletions.
19 changes: 1 addition & 18 deletions src/components/carousel/NoticesCarousel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,23 +153,6 @@ export const NoticesCarousel = ({ content, title }) => {
return date.toLocaleDateString('it-IT');
};

const setName = (currentName, type) => {
console.log(type);
const pagoPaString = '1.4.3 pagoPA';
const appIoString = '1.4.3 app IO';
if (type) {
switch (type) {
case 'PagoPA':
return pagoPaString;
case 'AppIO':
return appIoString;
default:
return currentName;
}
}
return currentName;
};

const slides = records.map((element) => (
<>
<Card key={element.codiceBando} className={classes.heroCards} spacing noWrapper>
Expand All @@ -182,7 +165,7 @@ export const NoticesCarousel = ({ content, title }) => {
SCADENZA AVVISO <span className={classes.dueDateDigit}>{formatDate(element.dataFineBando)}</span>
</span>
<CardTitle tag="h4" className={classes.noticeLabel}>
{setName(element.nomeDellaMisura, element.pagoPAappIO)}
{element.nomeDellaMisura}
</CardTitle>
<p className={classes.noticeInfo}>{element.titolo}</p>
</CardBody>
Expand Down
1 change: 1 addition & 0 deletions src/layouts/AssistenzaPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ const useStyles = createUseStyles({
pointerEvents: 'none',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/CandidaPaPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const useStyles = createUseStyles({
fontSize: '18px',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/ComeFunzionaPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const useStyles = createUseStyles({
pointerEvents: 'none',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/CreaProfiloPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const useStyles = createUseStyles({
fontSize: '18px',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down
3 changes: 3 additions & 0 deletions src/layouts/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ const useStyle = createUseStyles({
backgroundColor: 'transparent',
padding: '0',
},
'@media (min-width: 359px) and (max-width: 360px)': {
marginLeft: 'auto',
},
'&:hover': {
'& span': {
textDecoration: 'underline',
Expand Down
1 change: 1 addition & 0 deletions src/layouts/RiceviAssistenzaPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const useStyles = createUseStyles({
fontSize: '18px',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/SolutionProjects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const useStyles = createUseStyles({
fontSize: '18px',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/SolutionStandard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const useStyles = createUseStyles({
fontSize: '18px',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/support/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const useStyle = createUseStyles({
fontSize: '18px',
},
'&::before': {
fontSize: '18px',
fontWeight: '600',
color: '#33485C',
},
Expand Down

0 comments on commit 5783c67

Please sign in to comment.