Something went wrong. Try again.
Turning knowledge into answers — a self-hosted RAG-powered AMA platform that turns internal knowledge into accurate, context-aware conversa… ama.inovuslabs.org
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100<template> <header class="glass-effect px-4 sm:px-6 py-3 sm:py-4 flex-shrink-0 shadow-sm"> <div class="max-w-7xl mx-auto flex items-center justify-between"> <div class="flex items-center space-x-3"> <div class="w-7 h-7 sm:w-8 sm:h-8 bg-gradient-to-br from-blue-600 to-indigo-600 rounded-full flex items-center justify-center shadow-lg shadow-blue-500/25"> <Icon name="lucide:sparkles" class="w-3 h-3 sm:w-4 sm:h-4 text-white" /> </div> <div> <div class="flex items-center space-x-2"> <h1 class="text-base sm:text-lg font-semibold bg-gradient-to-r from-slate-900 to-slate-700 bg-clip-text text-transparent"> InoBot </h1> <div class="flex items-center space-x-1 bg-gradient-to-r from-blue-50 to-indigo-50 border border-blue-100/60 rounded-full px-2 py-0.5"> <div class="w-1.5 h-1.5 bg-gradient-to-r from-blue-500 to-indigo-500 rounded-full animate-pulse"></div> <span class="text-xs font-medium bg-gradient-to-r from-blue-600 to-indigo-600 bg-clip-text text-transparent"> v2.1.0 </span> </div> </div> <p class="text-xs text-slate-500 -mt-0.5 hidden sm:block">by Inovus Labs</p> </div> </div>
<div class="flex items-center space-x-3 sm:space-x-6"> <!-- Desktop Navigation --> <nav class="hidden lg:flex items-center space-x-6"> <button class="text-sm text-slate-600 hover:text-slate-900 transition-colors" @click="openLink('https://blog.inovuslabs.org')"> Blog </button> <button class="text-sm text-slate-600 hover:text-slate-900 transition-colors" @click="openLink('https://inovuslabs.org/inora')"> Podcast </button> <button class="text-sm text-slate-600 hover:text-slate-900 transition-colors" @click="openLink('https://github.com/inovus-labs')"> Projects </button> <button class="text-sm border border-slate-200 hover:border-blue-300 hover:bg-blue-50 text-slate-700 hover:text-blue-700 transition-all px-3 py-1.5 rounded flex items-center space-x-1" @click="openLink('https://inovuslabs.org')"> <span>Inovus Labs</span> <Icon name="lucide:arrow-up-right" class="w-3 h-3" /> </button> </nav>
<!-- Status and Mobile Menu --> <div class="flex items-center space-x-3"> <div :class="[ 'flex items-center space-x-2 rounded-full px-2 sm:px-3 py-1 transition-all duration-300', status.isOnline ? 'bg-gradient-to-r from-emerald-50 to-green-50 border border-emerald-200/60' : 'bg-gradient-to-r from-red-50 to-rose-50 border border-red-200/60' ]" > <div :class="[ 'w-1.5 h-1.5 sm:w-2 sm:h-2 rounded-full', status.isOnline ? 'bg-emerald-500 animate-pulse' : 'bg-red-500', status.isChecking && 'animate-spin' ]" ></div> <span :class="[ 'text-xs font-medium', status.isOnline ? 'text-emerald-700' : 'text-red-700' ]" > {{ status.isOnline ? 'Online' : 'Offline' }} </span> </div>
<!-- Mobile Menu Button --> <button class="lg:hidden hover:bg-blue-50 p-2 rounded-md transition-colors" @click="$emit('toggle-sidebar')" > <Icon name="lucide:menu" class="w-4 h-4" /> </button> </div> </div> </div> </header></template>
<script setup lang="ts">import { useHealthCheck } from '~/composables/useHealthCheck'
const { status } = useHealthCheck()
defineEmits<{ 'toggle-sidebar': []}>()
const openLink = (url: string) => { window.open(`${url}?utm_source=ama.inovuslabs.org`, '_blank');}</script>