diff --git a/data.json b/data.json index 7e057bc..03d79a0 100644 --- a/data.json +++ b/data.json @@ -237,6 +237,10 @@ ] }, { + "name": "Lavora con noi", + "url": "/pages/ateneo/lavora-con-noi.html" + }, + { "name": "Area personale", "url": "#" }, @@ -1884,6 +1888,290 @@ } } ] + }, + { + "title": "Ateneo", + "url": "#", + "blocks": [] + }, + { + "title": "Lavora con noi", + "url": "/pages/ateneo/lavora-con-noi.html", + "blocks": [ + { + "key": "breadcrumbs", + "post_type": "pages", + "parents": [8] + }, + { + "key": "composition/composition", + "classes": "", + "inner_blocks": [ + { + "key": "title", + "classes": "block-title--sm block-title--divider", + "tag": "h2", + "content": { + "title": "Albo online", + "link": null + } + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col", + "content": "

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nec felis sed mauris maximus dictum. Quisque rutrum odio at lacinia pellentesque. Integer in sapien purus.

" + }, + { + "key": "links-list", + "classes": "block-links-list--1col", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Vai all'albo online", + "url": "https://www.google.com", + "external_name": "PAT" + } + ] + } + } + ] + }, + { + "key": "composition/composition", + "classes": "", + "inner_blocks": [ + { + "key": "title", + "classes": "block-title--sm block-title--divider", + "tag": "h2", + "content": { + "title": "Gare e appalti", + "link": null + } + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col", + "content": "

Nulla pharetra leo at orci dignissim, a auctor orci venenatis. In tempor ac metus vel interdum. Aliquam commodo eleifend dolor, vitae condimentum lectus.

" + }, + { + "key": "links-list", + "classes": "block-links-list--1col", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Bandi di gara e contratti", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Opere pubbliche", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Bandi di gara della Fondazione universitaria Iuav", + "url": "#" + }, + { + "name": "Informazioni su pagamenti e fatturazione", + "url": "#" + } + ] + } + }, + { + "key": "files-list", + "classes": "", + "content": { + "items": [ + { + "name": "Albo dei traduttori", + "url": "#" + }, + { + "name": "Guida operativa ai contratti attivi", + "url": "#" + } + ] + } + } + ] + }, + { + "key": "composition/composition", + "classes": "", + "inner_blocks": [ + { + "key": "title", + "classes": "block-title--sm block-title--divider", + "tag": "h2", + "content": { + "title": "Concorsi", + "link": null + } + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col", + "content": "

Aliquam erat volutpat. Quisque sed ex vulputate, mattis eros sed, condimentum neque. Phasellus vitae sollicitudin odio. Donec pharetra blandit mi vitae hendrerit.

" + }, + { + "key": "links-list", + "classes": "block-links-list--1col", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Concorsi per personale docente e ricercatore", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Concorsi per personale tecnico e amministrativo", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Attribuzione dell'incarico di direttore generale", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Selezione del personale della Fondazione universitaria Iuav", + "url": "#" + }, + { + "name": "Informazioni sull'abilitazione scientifica nazionale per docenti di I e II fascia", + "url": "#" + } + ] + } + } + ] + }, + { + "key": "composition/composition", + "classes": "", + "inner_blocks": [ + { + "key": "title", + "classes": "block-title--sm block-title--divider", + "tag": "h2", + "content": { + "title": "Contratti, incarichi, assegni e borse di ricerca", + "link": null + } + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col", + "content": "

Nunc in arcu sed dolor finibus cursus. Duis magna elit, ultrices a viverra sit amet, eleifend sit amet tellus. Phasellus ac commodo dui. Etiam congue molestie faucibus.

" + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col spacing-1", + "content": "

Didattica

" + }, + { + "key": "links-list", + "classes": "block-links-list--1col", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Affidamenti / supplenze di insegnamento", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Contratti di insegnamento", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Contratti per attività didattiche integrative", + "url": "https://www.google.com", + "external_name": "PAT" + } + ] + } + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col spacing-1", + "content": "

Ricerca

" + }, + { + "key": "links-list", + "classes": "block-links-list--1col", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Assegni di ricerca", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Borse di ricerca", + "url": "https://www.google.com", + "external_name": "PAT" + }, + { + "name": "Incarichi individuali di collaborazione (ricerca)", + "url": "https://www.google.com", + "external_name": "PAT" + } + ] + } + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col spacing-1", + "content": "

Studenti

" + }, + { + "key": "links-list", + "classes": "block-links-list--1col", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Collaborazioni studentesche ordinarie (150 ore) e mirate (per la disabilità)", + "url": "#" + }, + { + "name": "Informazioni sulle attività di tutorato e didattico-integrative", + "url": "#" + } + ] + } + }, + { + "key": "paragraph", + "classes": "block-paragraph--sm block-paragraph--1col spacing-1", + "content": "

Personale tecnico amministrativo

" + }, + { + "key": "links-list", + "classes": "block-links-list--1col", + "links_size": "sm", + "content": { + "list": [ + { + "name": "Collaborazioni per amministrazione, archivi e biblioteche, didattica, infrastrutture", + "url": "https://www.google.com", + "external_name": "PAT" + } + ] + } + } + ] + } + ] } ], "news": { diff --git a/src/assets/css/base/spacing.css b/src/assets/css/base/spacing.css index ab389b5..b40e6e5 100644 --- a/src/assets/css/base/spacing.css +++ b/src/assets/css/base/spacing.css @@ -1,2 +1,14 @@ :root{ +} + +.spacing-0{ + @apply mb-0; +} + +.spacing-1{ + @apply mb-xs; +} + +.spacing-2{ + @apply mb-sm; } \ No newline at end of file diff --git a/src/assets/css/blocks/link.css b/src/assets/css/blocks/link.css index 8346fb5..b37e1d5 100644 --- a/src/assets/css/blocks/link.css +++ b/src/assets/css/blocks/link.css @@ -46,7 +46,7 @@ } span{ span{ - @apply inline-block text-size-sm text-grey-300 /*self-start*/ ml-3 -translate-y-1.5; + @apply inline-block text-size-sm text-grey-300 /*self-start*/ ml-1 -translate-y-1.5; } } &:hover{ diff --git a/src/assets/css/blocks/links-list.css b/src/assets/css/blocks/links-list.css index 7360c35..dfeb8e2 100644 --- a/src/assets/css/blocks/links-list.css +++ b/src/assets/css/blocks/links-list.css @@ -1,5 +1,5 @@ .block-links-list{ - @apply mb-16; + @apply mb-base; &__label{ @apply font-bold mb-xs; } diff --git a/src/assets/css/blocks/paragraph.css b/src/assets/css/blocks/paragraph.css index 3981ce7..021bf0b 100644 --- a/src/assets/css/blocks/paragraph.css +++ b/src/assets/css/blocks/paragraph.css @@ -1,7 +1,7 @@ .block-paragraph{ container: paragraph / inline-size; &:not([class*="spacing-"]){ - @apply mb-md; + @apply mb-base; } p{ @apply text-size-base; diff --git a/src/assets/css/components/breadcrumbs.css b/src/assets/css/components/breadcrumbs.css index 81c5e6c..ea03ad0 100644 --- a/src/assets/css/components/breadcrumbs.css +++ b/src/assets/css/components/breadcrumbs.css @@ -1,5 +1,11 @@ .breadcrumbs{ - @apply grid-container mt-sm mb-base md:mt-12.5 md:mb-lg xl:mt-25 xl:mb-base; + @apply grid-container mt-sm md:mt-12.5 xl:mt-25; + + * { + @apply mt-base md:mt-lg xl:mt-25; + &.block-page-title-banner{ + @apply md:mt-lg lg:mt-base; + } + } ul{ @apply flex flex-wrap; li{ diff --git a/src/blocks/composition/composition.twig b/src/blocks/composition/composition.twig new file mode 100644 index 0000000..e234a06 --- /dev/null +++ b/src/blocks/composition/composition.twig @@ -0,0 +1,10 @@ +
+ + {% if block.inner_blocks %} + {% for sub_block in block.inner_blocks %} + {% include '../../blocks/'~sub_block.key~'.twig' with {'block': sub_block } %} + {% endfor %} + {% endif %} + + +
\ No newline at end of file diff --git a/src/pages/ateneo/lavora-con-noi.twig b/src/pages/ateneo/lavora-con-noi.twig new file mode 100644 index 0000000..6f52087 --- /dev/null +++ b/src/pages/ateneo/lavora-con-noi.twig @@ -0,0 +1,8 @@ +{% set currentPage = 9 %} + +{% set paths_base = '../..' %} + +{% set bodyClasses = 'page' %} + +{% extends "../../layout/page.twig" %} + diff --git a/tailwind.config.js b/tailwind.config.js index 57ba739..0ab739d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -58,7 +58,7 @@ '25': '6.25rem', 'xs': '1.125rem', 'sm': '1.5625rem', - 'base': '2.1875rem', + 'base': '2.5rem', 'md': '3.125rem', 'lg': '4.5rem', 'xl': '7.5rem'