feat: added tags on upload and view tweaked navbar

This commit is contained in:
Barf-Vader
2025-06-05 23:10:55 +01:00
committed by Gleb Koval
parent 022d9089e0
commit e625afd3b4
8 changed files with 196 additions and 15 deletions

View File

@@ -29,11 +29,21 @@
<div class="nameContainer">
{space.location}
</div>
<p class="descContainer">
{space.description}
</p>
{#if space.description != null && space.description.length > 0}
<p class="descContainer">
{space.description}
</p>
<hr />
{/if}
<div class="tagContainer">
{#each space.tags as tag}
<span class="tag">
{tag}
</span>
{/each}
</div>
<hr />
<div class="whereSubtitle">Where it is:</div>
<div class="subtitle">Where it is:</div>
<p class="addrContainer">
{space.building_location}
</p>
@@ -87,7 +97,7 @@
font-size: 1.2rem;
}
.whereSubtitle {
.subtitle {
font-size: 1.2rem;
font-weight: bold;
color: #ffffff;
@@ -98,4 +108,24 @@
font-size: 1.2rem;
padding: 0rem 1.4rem;
}
.tagContainer {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
padding: 1.4rem;
border-radius: 0.5rem;
background: none;
}
.tag {
display: flex;
align-items: center;
border-radius: 0.25rem;
background-color: #2e4653;
color: #eaffeb;
font-size: 1.1rem;
cursor: pointer;
padding: 0.2rem 0.6rem;
}
</style>