diff --git a/buildspec.prod.yml b/buildspec.prod.yml
index 9e216fc..ce3c7b5 100644
--- a/buildspec.prod.yml
+++ b/buildspec.prod.yml
@@ -3,20 +3,10 @@ version: 0.2
phases:
install:
runtime-versions:
- nodejs: 18
- commands:
- - npm install -g yarn
- - echo yarn -v
- - yarn -v
- pre_build:
- commands:
- - yarn install
+ nodejs: 20
build:
commands:
- - yarn extract
- - yarn compile
- - mkdir -pv public/loaded-files
- - yarn build:prod
+ - npm install && npm run build:prod
artifacts:
files:
- '**/*'
diff --git a/environments/prod/prod.env b/environments/prod/prod.env
index 0793630..26fd054 100644
--- a/environments/prod/prod.env
+++ b/environments/prod/prod.env
@@ -1,3 +1,3 @@
REACT_APP_TAB_TITLE=Gepafin
-REACT_APP_API_EXECUTION_ADDRESS=
+REACT_APP_API_EXECUTION_ADDRESS=https://api-dev-gepafin.memento.credit/v1
REACT_APP_LOGO_FILENAME=logo.svg
\ No newline at end of file
diff --git a/src/assets/scss/components/appPage.scss b/src/assets/scss/components/appPage.scss
index f5e3ca4..a7c67c7 100644
--- a/src/assets/scss/components/appPage.scss
+++ b/src/assets/scss/components/appPage.scss
@@ -10,7 +10,12 @@
font-style: normal;
font-weight: 600;
line-height: normal;
- text-align: center;
+ }
+
+ .appPageLogin__wrapper {
+ h1 {
+ text-align: center;
+ }
}
}
@@ -223,4 +228,32 @@
gap: 24px;
padding: 24px 0 48px;
flex-wrap: wrap;
+}
+
+.appPageSection__tableActions {
+ display: flex;
+ gap: 24px;
+ padding: 0;
+ flex-wrap: wrap;
+}
+
+.appPageSection__addToFavourites {
+ width: 28px;
+ height: 28px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border-radius: 50%;
+ border: none;
+ background-color: var(--message-info-color);
+ color: white;
+ padding: 0;
+
+ &:hover {
+ cursor: pointer;
+ }
+
+ &[disabled] {
+ background-color: var(--message-info-background);
+ }
}
\ No newline at end of file
diff --git a/src/layouts/DefaultLayout/components/AppSidebar/index.js b/src/layouts/DefaultLayout/components/AppSidebar/index.js
index 8fd2d7f..3d60b5d 100644
--- a/src/layouts/DefaultLayout/components/AppSidebar/index.js
+++ b/src/layouts/DefaultLayout/components/AppSidebar/index.js
@@ -21,7 +21,7 @@ const AppSidebar = () => {
enable: true
},
{
- label: __('Gestione Bandi', 'gepafin'),
+ label: __('Gestione bandi', 'gepafin'),
icon: 'pi pi-file',
href: '/bandi',
id: 2,
@@ -34,6 +34,13 @@ const AppSidebar = () => {
id: 11,
enable: intersection(permissions, ['APPLY_CALLS']).length
},
+ {
+ label: __('Bandi disponibili', 'gepafin'),
+ icon: 'pi pi-bookmark',
+ href: '/bandi',
+ id: 12,
+ enable: intersection(permissions, ['VIEW_CALLS']).length
+ },
{
label: __('Gestione Utenti', 'gepafin'),
icon: 'pi pi-users',
diff --git a/src/pages/Applications/index.js b/src/pages/Applications/index.js
index b3da524..da855d3 100644
--- a/src/pages/Applications/index.js
+++ b/src/pages/Applications/index.js
@@ -10,7 +10,7 @@ const Applications = () => {
const navigate = useNavigate();
const gotToBandiDisponibili = () => {
- navigate('')
+ navigate('/bandi')
}
return(
@@ -34,7 +34,6 @@ const Applications = () => {