Updated navigation links for local testing with io
This commit is contained in:
parent
9b50f0fde3
commit
f46c4753a9
3 changed files with 5 additions and 4 deletions
|
@ -40,7 +40,7 @@ export default state => {
|
|||
<div class="inner-wrap">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="//lbry.io" title="Rediscover content freedom">← LBRY.io</a> |
|
||||
<a href="//${process.env.NODE_ENV === "development" ? "localhost:8000" : "lbry.io"}" title="Rediscover content freedom">← LBRY.io</a> |
|
||||
${editLink(state.href)}
|
||||
</li>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ export default currentUrl => {
|
|||
{
|
||||
name: "LBRY.io",
|
||||
title: "Escape the techno scene",
|
||||
url: "https://lbry.io"
|
||||
url: process.env.NODE_ENV === "development" ? "http://localhost:8000" : "https://lbry.io"
|
||||
},
|
||||
{
|
||||
name: "Overview",
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
top: 0.5rem;
|
||||
}
|
||||
|
||||
&:not(:first-of-type):not([href="https://lbry.io"]) {
|
||||
&:not(:first-of-type):not([href="http://localhost:8000"]):not([href="https://lbry.io"]) {
|
||||
&::after {
|
||||
width: 100%; height: 3px;
|
||||
|
||||
|
@ -95,11 +95,12 @@
|
|||
line-height: 4rem;
|
||||
}
|
||||
|
||||
&:not([href="https://lbry.io"]) {
|
||||
&:not([href="http://localhost:8000"]):not([href="https://lbry.io"]) {
|
||||
padding-right: 0.5rem;
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
&[href="http://localhost:8000"],
|
||||
&[href="https://lbry.io"] {
|
||||
color: $white;
|
||||
margin-right: 0.5rem;
|
||||
|
|
Loading…
Reference in a new issue