import { ref } from 'vue' import { useMainStore } from '../store/main' export const AboutDialog = ({ visible }: { visible: boolean }) => { vineEmits([ 'close' ]) const mainStore = useMainStore(), gitUrl = ref(import.meta.env.VITE_GIT_URL), build = ref(''), buildDate = ref('') return vine`

{ insert logo here }

{{ gitUrl }}

Licensed under the AGPLv3 license.

Build: {{ build }}
Build date: {{ buildDate }}
Server name: {{ mainStore.serverInfo.name }}
Server version: {{ mainStore.serverInfo.version }}
Server URL: {{ mainStore.serverUrl }}
OpenSubsonic extensions: {{ mainStore.serverInfo.extensions.join(', ') }}
` }