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

Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
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

View file

@ -1,5 +1,6 @@
<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>
<div>
Elk <sup text-sm italic op50 mt-1>alpha</sup>