Switcher: Add a link to homepage
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
</script>
|
||||
|
||||
<div class="switcher {type}">
|
||||
<a href="/choose">
|
||||
<div class="switcher__text" class:empty={!location}>
|
||||
<div class="switcher__text" class:empty={!location}>
|
||||
<a href="/">
|
||||
{#if !location}
|
||||
<span class="top">Houses</span>
|
||||
<span class="bottom">
|
||||
@@ -32,9 +32,11 @@
|
||||
<span class="top">Houses <em>{locationOf}</em></span>
|
||||
<span class="bottom">{locationName}</span>
|
||||
{/if}
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="button-control button-control--dashed switcher__icon">
|
||||
<div class="button-control button-control--dashed switcher__icon">
|
||||
<a href="/choose">
|
||||
<IconGlobe
|
||||
color={type.includes('side') ? '#333' : '#fff'}
|
||||
width={type.includes('side') ? 18 : 24}
|
||||
@@ -42,8 +44,8 @@
|
||||
<svg>
|
||||
<circle cx="50%" cy="50%" r="{type.includes('side') ? 24 : radius}px"></circle>
|
||||
</svg>
|
||||
</div>
|
||||
</a>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div class="switcher switcher--side">
|
||||
|
||||
Reference in New Issue
Block a user