feat: jump to top after clicking logo (#86)

Co-authored-by: Daniel Roe <daniel@roe.dev>
zio/stable
Shinigami 2022-11-25 12:24:40 +01:00 committed by GitHub
parent 3f382bdad0
commit fed9849016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<template> <template>
<NuxtLink flex items-center text-2xl gap-2 to="/"> <!-- Use external to force refresh page and jump to top of timeline -->
<NuxtLink flex items-center text-2xl gap-2 to="/" external>
<img aria-label="Elk Logo" src="/logo.svg" w-10 h-10> <img aria-label="Elk Logo" src="/logo.svg" w-10 h-10>
<div> <div>
Elk <sup text-sm italic op50 mt-1>alpha</sup> Elk <sup text-sm italic op50 mt-1>alpha</sup>