feat: Add banner to announce Lysand 3.0

This commit is contained in:
Jesse Wierzbinski 2024-05-01 18:21:10 -10:00
parent 94e5ac67f7
commit 2039582edd
No known key found for this signature in database
7 changed files with 39 additions and 2 deletions

19
components/Banner.vue Normal file
View file

@ -0,0 +1,19 @@
<script setup lang="ts">
const currentNews = {
id: "lysand3",
title: "Lysand 3.0",
description: "Lysand 3.0 is now available!",
};
</script>
<template>
<div
class="fixed inset-x-0 top-0 flex items-center h-10 gap-x-6 overflow-hidden bg-black px-4 py-2.5 sm:px-3.5 sm:before:flex-1 z-50">
<div class="flex flex-wrap justify-center gap-x-4 gap-y-2 w-full">
<p class="text-sm text-gray-50">
<strong class="font-semibold">{{
currentNews.title
}}</strong>&nbsp;&nbsp;{{ currentNews.description }}
</p>
</div>
</div>
</template>

View file

@ -26,7 +26,6 @@
</template>
<script setup>
import "iconify-icon";
const features = [
{
name: "JSON-based APIs",