Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: node version in description and add nvmrc #163

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/iron
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ In questo repository è possibile trovare alcune pagine statiche esemplificative

## 📖 Come usare i template

Per l'esecuzione del repository, è necessario avere installato una versione di node >= `14.18.0` o comunque non superiore alle `16.x.x`
Per l'esecuzione del repository, è necessario avere installato una versione di node >= `18.0.0`, consigliata la `v20`


Come _templating language_ è stato usato Handlebars, insieme a fogli di stile in SCSS e Javascript. Il progetto viene compilato tramite Webpack.

### Installazione e Sviluppo

Per iniziare, è necessario `utilizzare una versione di Node uguale o superiore a 18` e installare le dipendenze del progetto:
Per iniziare installa le dipendenze del progetto:

```node

Expand Down
18 changes: 9 additions & 9 deletions src/components/cmp-header/cmp-header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -213,22 +213,22 @@
<nav aria-label="Principale">
<ul class="navbar-nav" data-element="main-navigation">
<li class="nav-item">
<a class="nav-link{{#if active1}} active{{/if}}" href="amministrazione.html" data-element="management">
<a class="nav-link{{#if active1}} active{{/if}}" href="../sito/amministrazione.html" data-element="management">
<span>Amministrazione</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link{{#if active2}} active{{/if}}" href="novita.html" data-element="news">
<a class="nav-link{{#if active2}} active{{/if}}" href="../sito/novita.html" data-element="news">
<span>Novità</span>
</a>
</li>
<li class="nav-item ">
<a class="nav-link{{#if active3}} active{{/if}}" href="servizi.html" data-element="all-services">
<a class="nav-link{{#if active3}} active{{/if}}" href="../sito/servizi.html" data-element="all-services">
<span>Servizi</span>
</a>
</li>
<li class="nav-item ">
<a class="nav-link{{#if active4}} active{{/if}}" href="eventi.html" data-element="live">
<a class="nav-link{{#if active4}} active{{/if}}" href="../sito/eventi.html" data-element="live">
<span>Vivere il Comune</span>
</a>
</li>
Expand All @@ -237,16 +237,16 @@
<nav aria-label="Secondaria">
<ul class="navbar-nav navbar-secondary">
<li class="nav-item">
<a class="nav-link" href="argomento.html">Iscrizioni</a>
<a class="nav-link" href="../sito/argomento.html">Iscrizioni</a>
</li>
<li class="nav-item">
<a class="nav-link" href="argomento.html">Estate in città</a>
<a class="nav-link" href="../sito/argomento.html">Estate in città</a>
</li>
<li class="nav-item">
<a class="nav-link" href="argomento.html">Polizia locale</a>
<a class="nav-link" href="../sito/argomento.html">Polizia locale</a>
</li>
<li class="nav-item">
<a class="nav-link" href="argomenti.html" data-element="all-topics">
<a class="nav-link" href="../sito/argomenti.html" data-element="all-topics">
<span class="fw-bold">Tutti gli argomenti</span>
</a>
</li>
Expand Down Expand Up @@ -307,4 +307,4 @@
</div>
</div>
</div>
</header>
</header>
Loading