diff --git a/data.json b/data.json index 25d12dd..f7eae18 100644 --- a/data.json +++ b/data.json @@ -7753,19 +7753,23 @@ "logos": [ { "filename": "logo-iuav", - "path": "/post_type/bandi" + "path": "/post_type/bandi", + "url": "https://www.iuav.it/homepage/" }, { "filename": "logo-unibo", - "path": "/post_type/bandi" + "path": "/post_type/bandi", + "url": "https://www.unibo.it/it/" }, { "filename": "logo-regione-er", - "path": "/post_type/bandi" + "path": "/post_type/bandi", + "url": "https://www.regione.emilia-romagna.it/" }, { "filename": "logo-comune-bo", - "path": "/post_type/bandi" + "path": "/post_type/bandi", + "url": "https://www.comune.bologna.it/home/" }, { "filename": "logo-soffitta", @@ -7777,7 +7781,8 @@ }, { "filename": "logo-coop", - "path": "/post_type/bandi" + "path": "/post_type/bandi", + "url": "https://www.coop.it/" }, { "filename": "logo-dams", diff --git a/src/assets/css/components/tease.css b/src/assets/css/components/tease.css index 101d2b2..4c9b0c0 100644 --- a/src/assets/css/components/tease.css +++ b/src/assets/css/components/tease.css @@ -16,17 +16,15 @@ @apply aspect-square overflow-hidden relative; .tease__img{ transition: height .2s ease; - @apply absolute top-0 left-0 w-full bg-grey-100 overflow-hidden; + @apply absolute top-0 left-0 w-full overflow-hidden bg-gradient-to-t from-grey-400 to-grey-200; img{ @apply w-full h-full object-cover; } - &:not(:has(*)){ - &::after{ - content: ''; - /* background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 160'%3E%3Cpath d='M16.313 18.92v-2.29h4.622V2.29h-4.622V0h12.376v2.29h-4.622v14.34h4.622v2.29H16.312ZM8.977 31.57H0v2.816h8.977v-2.817ZM26.97 31.57h-8.978v2.816h8.977v-2.817ZM45 31.57h-9.016v2.816H45v-2.817ZM22.507 66.221c-4.431 0-5.921-1.614-5.921-5.781V47.038h3.132v13.815c0 2.252 1.032 2.928 2.789 2.928 1.604 0 2.788-.6 2.788-2.928V47.038h3.133V60.44c0 4.017-1.834 5.781-5.883 5.781h-.038ZM8.977 78.61H0v2.816h8.977v-2.817ZM26.97 78.61h-8.978v2.816h8.977v-2.817ZM45 78.61h-9.016v2.816H45v-2.817ZM26.695 112.96l-.955-3.942h-6.494l-.955 3.942H14.93l5.5-18.883h4.126l5.5 18.883h-3.36Zm-4.202-17.156-2.635 10.699h5.271l-2.636-10.7ZM8.977 125.612H0v2.817h8.977v-2.817ZM26.97 125.612h-8.978v2.817h8.977v-2.817ZM45 125.612h-9.016v2.817H45v-2.817ZM24.44 160h-3.858l-6.035-18.921h3.552l4.432 16.931 4.43-16.931h3.515L24.441 160Z' fill='%23000'/%3E%3C/svg%3E"); */ - @apply block absolute position-center-vertical w-full h-[60%] bg-contain bg-no-repeat bg-center; - } - } + /* &:not(:has(*)){ + background:url( + data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAD9JREFUKFOF0EkKADAMAkD9/6MtKbR0SaLnQUFKEkxIgg4Giq4WLhSDJTxRCV+Uwgx9sEIX7NCGDk0IxE32cwyfdD/mA174iAAAAABJRU5ErkJggg== + ) repeat; + } */ } .tease__main{ .tease-main-header{ @@ -41,7 +39,7 @@ @apply text-size-md font-bold; } } - &:hover{ + &:hover:not(.tease--test){ .tease__img{ @apply h-full !important; } @@ -77,6 +75,22 @@ } } } + &.tease--test{ + .tease__img{ + &:not(:has(*)){ + background:url( + data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAD9JREFUKFOF0EkKADAMAkD9/6MtKbR0SaLnQUFKEkxIgg4Giq4WLhSDJTxRCV+Uwgx9sEIX7NCGDk0IxE32cwyfdD/mA174iAAAAABJRU5ErkJggg== + ) repeat; + } + } + &:hover{ + .tease__main{ + .tease-main-title{ + @apply text-grey-300; + } + } + } + } } .tease-event{ diff --git a/src/assets/css/page/tender.css b/src/assets/css/page/tender.css index d863ad2..ad85667 100644 --- a/src/assets/css/page/tender.css +++ b/src/assets/css/page/tender.css @@ -12,7 +12,7 @@ .tender-logos{ @apply grid grid-cols-2 md:grid-cols-3 xl:grid-cols-6 gap-[calc(var(--grid-gutter)*2)] mb-base; - > div{ + > *{ @apply h-32 relative; img{ /* height: max(72px, 60%); */ diff --git a/src/layout/single-tender.twig b/src/layout/single-tender.twig index 53846c1..311d12d 100644 --- a/src/layout/single-tender.twig +++ b/src/layout/single-tender.twig @@ -97,9 +97,17 @@
Partnership
{{post.title}}
+