From 67ebf92ffb5b0c3d58d1b58ac6c9d399594f347a Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 12 Feb 2024 15:09:38 +0200 Subject: [PATCH] [master]: Home fix buttons to portals --- src/app/home/home.component.html | 26 +++++++++++++++++--------- src/app/home/home.component.less | 19 +++++++++++-------- src/app/openaireLibrary | 2 +- 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index 1ef2528..d972645 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -77,8 +77,10 @@
Research Performing Organisations Monitors
@@ -87,8 +89,10 @@
Researchers monitors
@@ -97,8 +101,10 @@
Research Funding Organisations Monitors
@@ -107,8 +113,10 @@
Repositories Monitors
@@ -132,7 +140,7 @@
Add to ORCID
- Sync and enhanced your ORCID record. + Sync and enhance your ORCID record.
diff --git a/src/app/home/home.component.less b/src/app/home/home.component.less index 6af7e34..bbe759e 100644 --- a/src/app/home/home.component.less +++ b/src/app/home/home.component.less @@ -1,5 +1,11 @@ @import (reference) "~src/assets/extend-theme/less/_import-variables"; +@title-width: 350px; +@dot-size: 45px; +@card-border-radius: 14px; +@curator-image-size: 80px; +@curator-border-radius: 18px; + .hero { background-image: url("~/src/assets/irish-assets/home/logo-shadow.png"); background-position: center -100%; @@ -31,21 +37,21 @@ } .title { - width: 350px; + width: @title-width; &::after { content: ''; background-image: url("~/src/assets/irish-assets/home/dot.svg"); background-size: contain; - width: 45px; - height: 45px; + width: @dot-size; + height: @dot-size; display: inline-flex; transform: translateY(50%); } } .uk-card { - border-radius: 14px; + border-radius: @card-border-radius; } .country:not(:hover) .uk-button-primary { @@ -73,16 +79,13 @@ color: @global-inverse-color; } - -@curator-image-size: 80px; - .curators { img { width: @curator-image-size; height: @curator-image-size; object-fit: cover; - border-radius: 18px; + border-radius: @curator-border-radius; &:nth-child(2) { transform: rotate(-10deg); diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index d2aa282..6e2cf28 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit d2aa28225a816fd2773f7a502b0f38272285ccc7 +Subproject commit 6e2cf28aeeefd724aa441ed337b269c892db9ca2