feat: add alpha preview brand badge
This commit is contained in:
@@ -254,9 +254,21 @@
|
||||
to="/"
|
||||
>
|
||||
<span class="brand-mark">S</span>
|
||||
<div v-if="isExpanded">
|
||||
<div class="brand-name">Socialize</div>
|
||||
<div class="brand-caption">{{ t('nav.brandCaption') }}</div>
|
||||
<div
|
||||
v-if="isExpanded"
|
||||
class="brand-copy"
|
||||
>
|
||||
<div class="brand-heading">
|
||||
<span class="brand-name-wrap">
|
||||
<span class="brand-name">Socialize</span>
|
||||
<span
|
||||
class="brand-stage-badge"
|
||||
:aria-label="t('nav.brandStageLabel')"
|
||||
>
|
||||
<span>{{ t('nav.brandStage') }}</span>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</router-link>
|
||||
</div>
|
||||
@@ -635,7 +647,7 @@
|
||||
}
|
||||
|
||||
.brand-link {
|
||||
@apply flex min-w-0 items-center gap-3 no-underline;
|
||||
@apply flex min-w-0 items-start gap-3 no-underline;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@@ -643,20 +655,38 @@
|
||||
@apply w-full justify-center;
|
||||
}
|
||||
|
||||
.brand-copy {
|
||||
@apply min-w-0;
|
||||
}
|
||||
|
||||
.brand-heading {
|
||||
@apply flex min-w-0 items-center;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
@apply flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-[1.1rem] text-xl font-black;
|
||||
background: linear-gradient(135deg, #ff8a3d 0%, #ef4444 100%);
|
||||
color: #fffaf2;
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
@apply text-lg font-black uppercase tracking-[0.18em];
|
||||
color: #172033;
|
||||
.brand-name-wrap {
|
||||
@apply relative inline-flex min-w-0 items-center;
|
||||
}
|
||||
|
||||
.brand-caption {
|
||||
@apply text-xs uppercase tracking-[0.24em];
|
||||
color: #5d6b82;
|
||||
.brand-name {
|
||||
@apply min-w-0 text-lg font-black uppercase tracking-[0.18em];
|
||||
color: #172033;
|
||||
line-height: 2.75rem;
|
||||
}
|
||||
|
||||
.brand-stage-badge {
|
||||
@apply absolute inline-flex h-4 items-center rounded-sm border px-1.5 text-[0.55rem] font-black uppercase tracking-[0.08em];
|
||||
background: rgba(255, 231, 199, 0.46);
|
||||
border-color: rgba(242, 179, 107, 0.38);
|
||||
color: #925000;
|
||||
left: 0;
|
||||
line-height: 1;
|
||||
top: calc(100% - 0.45rem);
|
||||
}
|
||||
|
||||
.side-menu {
|
||||
|
||||
Reference in New Issue
Block a user