forked from elk-zone/elk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72d40ed
commit 75aaf85
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
<script setup> | ||
const sub = import.meta.env.DEV ? 'dev' : window.location.hostname.includes('deploy-preview') ? 'preview' : 'alpha' | ||
</script> | ||
|
||
<template> | ||
<!-- Use external to force refresh page and jump to top of timeline --> | ||
<NuxtLink flex px3 py2 items-center text-2xl gap-2 hover:bg-active focus-visible:ring="2 current" rounded-full to="/" external> | ||
<img aria-label="Elk Logo" src="/logo.svg" w-10 h-10> | ||
<div> | ||
Elk <sup text-sm italic text-secondary mt-1>alpha</sup> | ||
Elk <sup text-sm italic text-secondary mt-1>{{ sub }}</sup> | ||
</div> | ||
</NuxtLink> | ||
</template> |