favicon, tg channel, res design, tags
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<script>
|
||||
export let tags = [];
|
||||
</script>
|
||||
|
||||
<div class="break-all">
|
||||
{#each tags as tag}
|
||||
<a class="text-blue-700 mr-5 text-sm" href="?filter={tag}">#{tag.toLowerCase()}</a>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -46,17 +46,31 @@
|
||||
a {
|
||||
text-decoration: none;
|
||||
padding: 1em 0.5em;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a class="block" aria-current="{(segment === undefined || segment === 'discussion') ? 'page' : undefined}" href=".">UniDiscuss</a></li>
|
||||
</ul>
|
||||
<Space/>
|
||||
<ul>
|
||||
<li><a aria-current="{(segment === undefined || segment === 'discussion') ? 'page' : undefined}" href=".">UniDiscuss</a></li>
|
||||
</ul>
|
||||
<Space/>
|
||||
<ul>
|
||||
<!-- <li><a aria-current="{segment === 'ask' ? 'page' : undefined}" href="ask">Ask</a></li> -->
|
||||
<li><a aria-current="{segment === 'profile' ? 'page' : undefined}" href="profile">Профиль</a></li>
|
||||
</ul>
|
||||
<li>
|
||||
<a class="flex items-center" href="https://t.me/unidiscuss" target="_blank">
|
||||
<img
|
||||
alt="File:Telegram logo.svg"
|
||||
class="mr-1"
|
||||
src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Telegram_alternative_logo.svg/50px-Telegram_alternative_logo.svg.png"
|
||||
decoding="async"
|
||||
width="25"
|
||||
height="25"
|
||||
srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Telegram_alternative_logo.svg/50px-Telegram_alternative_logo.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Telegram_logo.svg/1024px-Telegram_logo.svg.png 2x"
|
||||
data-file-width="25"
|
||||
data-file-height="25"
|
||||
>
|
||||
<span>Канал</span>
|
||||
</a>
|
||||
</li>
|
||||
<li><a class="block" aria-current="{segment === 'profile' ? 'page' : undefined}" href="profile">Войти</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<button class="root bg-blue-600 hover:bg-blue-900 text-white font-bold py-2 px-4 rounded inline-flex items-center float-right">
|
||||
<button class="root bg-blue-700 hover:bg-blue-900 text-white font-bold py-2 px-4 rounded inline-flex items-center float-right">
|
||||
<AddComment20 class="fill-current w-4 h-4 mr-2" />
|
||||
<a href="/ask">Спросить</a>
|
||||
</button>
|
||||
@@ -22,6 +22,7 @@
|
||||
<style>
|
||||
.sidebar-root {
|
||||
width: 250px;
|
||||
min-width: 250px;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
@@ -39,7 +40,7 @@
|
||||
height="20"
|
||||
alt="@jamesmosier"
|
||||
>
|
||||
<span class="hover:text-blue-600 hover:underline">{contributor.name}</span>
|
||||
<span class="hover:text-blue-700 hover:underline">{contributor.name}</span>
|
||||
</a>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 56px;
|
||||
width: 56px;
|
||||
min-width: 25px;
|
||||
width: 25px;
|
||||
justify-content: center;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user