Skip to content

Commit

Permalink
fix: added page list templates (#113)
Browse files Browse the repository at this point in the history
* Renamed file

* Renamed file

* Updated content

* Removed template

* Removed space

* Changed content

* Added pagination

* Updated index

* Fixed wrong paths

* Fixed content
  • Loading branch information
zetareticoli authored Mar 17, 2023
1 parent d6a2136 commit 3e49246
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 194 deletions.
2 changes: 1 addition & 1 deletion src/components/cmp-list-card-img/cmp-list-card-img.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>
</div>
{{/if}}
<div class="card-body ">
<div class="card-body">
<div class="category-top cmp-list-card-img__body">
<a class="text-decoration-none fw-bold" href="#">{{card.category}}</a>
{{#if card.category-date}}
Expand Down
30 changes: 30 additions & 0 deletions src/pages/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,36 @@
</div>
</a>
</li>
<li>
<a href="sito/lista-risorse.html" target="_blank" class="list-item" data-focus-mouse="false">
<div class="it-right-zone">
<span class="text">Lista contenuti/risorse
<em>Il template di una pagina lista di secondo o terzo livello</em>
</span>
<span class="it-multiple"><span class="metadata">lista-risorse.html</span></span>
</div>
</a>
</li>
<li>
<a href="sito/lista-categorie.html" target="_blank" class="list-item" data-focus-mouse="false">
<div class="it-right-zone">
<span class="text">Lista categorie
<em>Il template di una pagina lista categorie di secondo o terzo livello</em>
</span>
<span class="it-multiple"><span class="metadata">lista-categorie.html</span></span>
</div>
</a>
</li>
<li>
<a href="sito/lista-risorse-categorie.html" target="_blank" class="list-item" data-focus-mouse="false">
<div class="it-right-zone">
<span class="text">Lista risorse e categorie
<em>Il template di una pagina lista di secondo o terzo livello che riunisce sia risorse che categorie</em>
</span>
<span class="it-multiple"><span class="metadata">lista-risorse-categorie.html</span></span>
</div>
</a>
</li>
</ul>
</section>
<section id="amministrazione" class="it-page-section">
Expand Down
30 changes: 30 additions & 0 deletions src/pages/sito/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,36 @@
</div>
</a>
</li>
<li>
<a href="lista-risorse.html" target="_blank" class="list-item" data-focus-mouse="false">
<div class="it-right-zone">
<span class="text">Lista contenuti/risorse
<em>Il template di una pagina lista di secondo o terzo livello</em>
</span>
<span class="it-multiple"><span class="metadata">lista-risorse.html</span></span>
</div>
</a>
</li>
<li>
<a href="argomento.html" target="_blank" class="list-item" data-focus-mouse="false">
<div class="it-right-zone">
<span class="text">Lista categorie
<em>Il template di una pagina lista categorie di secondo o terzo livello</em>
</span>
<span class="it-multiple"><span class="metadata">lista-categorie.html</span></span>
</div>
</a>
</li>
<li>
<a href="argomento.html" target="_blank" class="list-item" data-focus-mouse="false">
<div class="it-right-zone">
<span class="text">Lista risorse e categorie
<em>Il template di una pagina lista di secondo o terzo livello che riunisce sia risorse che categorie</em>
</span>
<span class="it-multiple"><span class="metadata">lista-risorse-categorie.html</span></span>
</div>
</a>
</li>
</ul>
</section>

Expand Down
240 changes: 56 additions & 184 deletions src/pages/sito/lista-categorie.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,241 +12,113 @@
<div class="row justify-content-center row-shadow">
<div class="col-12 col-lg-10">
{{>cmp-hero/cmp-hero
hero-title="Notizie"
hero-text="Tutte le novità comunali per i cittadini per restare aggiornati."
hero-title="Titolo della pagina lista con risorse in evidenza e categorie"
hero-text="Breve sommario dei contenuti presenti in questa pagina, generalmene intesa con la descrizione della tipologia di
contenuti"
wrapper-class="pt-0 ps-0 pb-4 pb-lg-60"}}
</div>
</div>
</div>

<div class="container py-5">
<h2 class="title-xxlarge mb-4">Notizie in evidenza</h2>
<h2 class="title-xxlarge mb-4">In evidenza</h2>
{{>cmp-list-card-img/cmp-list-card-img-hr cards=cards.card-news}}
</div>

<div class="container py-5" id="argomento">
<h2 class="title-xxlarge mb-4">Esplora per argomento</h2>
<h2 class="title-xxlarge mb-4">Esplora per categoria</h2>
<div class="row g-4">

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Agricoltura"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Animale domestico"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Assistenza sociale"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Associazioni"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Concorsi"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Formazione professionale"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Imposte"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Imprese"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Inquinamento"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Integrazione sociale"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Istruzione"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Lavoro"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Parcheggi"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Patrimonio culturale"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Piano di sviluppo "
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Pista ciclabile"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Patrimonio culturale"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Piano di sviluppo"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Trasporto pubblico "
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

<div class="col-md-6 col-xl-4">
{{>cmp-card/cmp-card-simple
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="Zone pedonali"
card-text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vehicula fermentum eros a elementum.
Donec."
}}
borderlight=true
classTitle="title-xlarge"
classText="description"
card-title="{Nome categoria}"
card-text="Descrizione della categoria"
}}
</div>

</div>
</div>

Expand Down
Loading

1 comment on commit 3e49246

@vercel
Copy link

@vercel vercel bot commented on 3e49246 Mar 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.