feat: (unusable) version selector
This commit is contained in:
parent
63ef3c0b5e
commit
b5e22cca62
@ -17,7 +17,7 @@ const entry_title = entry.title
|
|||||||
!entry.children && (
|
!entry.children && (
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
class="inline-block rounded-2xl w-full hover:bg-neutral-200 dark:hover:bg-neutral-800 transition-colors px-3 py-2"
|
class="inline-block rounded-lg w-full hover:bg-neutral-200 dark:hover:bg-neutral-800 transition-colors px-3 py-1"
|
||||||
href={post_url}
|
href={post_url}
|
||||||
>
|
>
|
||||||
{entry.title}
|
{entry.title}
|
||||||
|
@ -123,6 +123,18 @@ function sort_posts(p1, p2) {
|
|||||||
border-c-border-1 -translate-x-64 lg:translate-x-0 transition-transform"
|
border-c-border-1 -translate-x-64 lg:translate-x-0 transition-transform"
|
||||||
>
|
>
|
||||||
<nav class="py-4 pr-2 overflow-x-scroll h-[calc(100vh-3rem)]">
|
<nav class="py-4 pr-2 overflow-x-scroll h-[calc(100vh-3rem)]">
|
||||||
|
|
||||||
|
<form class="pb-8 px-1">
|
||||||
|
<label for="version-select">THP version:</label>
|
||||||
|
<select
|
||||||
|
id="version-select"
|
||||||
|
class="bg-c-bg text-c-on-bg border border-pink-700 rounded px-3 p-1 w-full font-mono"
|
||||||
|
>
|
||||||
|
<option selected>latest</option>
|
||||||
|
<option>v0.0.1</option>
|
||||||
|
</select>
|
||||||
|
</form>
|
||||||
|
|
||||||
{
|
{
|
||||||
entries.map((entry) => (
|
entries.map((entry) => (
|
||||||
<Sidebar entry={entry} />
|
<Sidebar entry={entry} />
|
||||||
|
Loading…
Reference in New Issue
Block a user