Skip to content

Commit

Permalink
fix experience projects layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Ciminieri committed Oct 16, 2024
1 parent 2c7eead commit df49185
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/lib/components/ExperienceProject.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@
<div class="row">
<div class="col-md-3 offset-md-3 col-sm-12">
<div>
<h5 class="text-uppercase">{project.titolo}</h5>
<h6 style="font-weight: 500;" class="text-uppercase mb-1">{project.titolo}</h6>
{#if project.studenti && project.studenti.length > 1}
<p class="fs-5 mb-2">Progetto collettivo</p>
<p style="margin-bottom: 10px;" class="fs-6">Progetto collettivo</p>
{:else if project.studenti}
{#each project.studenti as student}
<p class="fs-5 mb-2">{student.nome} {student.cognome}</p>
<p style="margin-bottom: 10px;" class="fs-6">{student.nome} {student.cognome}</p>
{/each}
{/if}
</div>
<p class="fs-5 text-secondary mt-0">{project.tipologia}</p>
<p class="fs-6 text-secondary mt-0">{project.tipologia}</p>
</div>
<div class="col-md-6 col-sm-12">
<div class="d-flex flex-column align-items-start h-100">
<p class="fs-5">
<p class="fs-6">
{project.descrizione}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/corsi/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
<div class="container-fluid mt-4 flex-grow-1">
<div class="row">
<div class="col-md-7 col-sm-12">
<div class="col-md-6 col-sm-12">
<p class="fs-4 fw-semibold">{data.corso.descrizione}</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/gruppi/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
onClick={goToPrevGroup}
--btn-color={'#' + data.gruppo.corso.colore}
/>
<span class="fs-5 ms-3">PRogetto precedente</span>
<span class="fs-5 ms-3">Progetto precedente</span>
{/if}
</div>
<div class="d-flex align-items-center">
Expand Down

0 comments on commit df49185

Please sign in to comment.