Skip to content

Commit

Permalink
Merge pull request #185 from felixicaza/navbar
Browse files Browse the repository at this point in the history
chore: add link to Ana Cards in navbar (#175)
  • Loading branch information
odracirdev authored Aug 11, 2024
2 parents fc3f72d + 72045c7 commit 2e684ca
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ const LINKS = t('navbar', {
</>
))
}
<li class="list-item">
<a
href="https://uxcorprangel.github.io/ana-cards-web/"
target="_blank"
rel="noopener noreferrer"
>
<span class="symbol">×</span>
<span class="cards">CARDS</span>
</a>
</li>
<li class="toggle-container">
<LanguageToggle />
</li>
Expand Down Expand Up @@ -194,7 +204,7 @@ const LINKS = t('navbar', {
}

@media (width >= 50rem) {
span,
.burger span,
.burger {
display: none;
}
Expand Down Expand Up @@ -255,6 +265,10 @@ const LINKS = t('navbar', {
rgba(153, 153, 153, 0) 100%
);
color: white;

& a > span.cards {
color: #fa86ce;
}
}

.list-item {
Expand All @@ -265,6 +279,18 @@ const LINKS = t('navbar', {
color: #b1b3d0;
}

a:has(span.cards) {
display: inline-flex;
align-items: center;
gap: 0.3rem;
}

a > span.symbol {
font-size: 1.2rem;
line-height: 12px;
translate: 0 -0.8px;
}

.dots {
display: flex;

Expand Down

0 comments on commit 2e684ca

Please sign in to comment.