feat: added tags on upload and view tweaked navbar
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user