You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
<template>
|
|
<div
|
|
class="space-y-2 bg-white rounded-xl mx-auto max-w-sm py-8 px-8 shadow-md sm:space-y-0 sm:space-x-6 sm:flex sm:py-4 sm:items-center"
|
|
>
|
|
<img alt="Vue logo" src="@/assets/logo.png" width="150" />
|
|
LIBRANOU
|
|
<div class="space-y-2 text-center sm:text-left">
|
|
<div class="space-y-0.5">
|
|
<p class="font-semibold text-lg text-black">
|
|
{{ title }}
|
|
</p>
|
|
<p class="font-medium text-gray-500">
|
|
{{ subtitle }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="space-y-2 bg-white rounded-xl m-1 mx-auto max-w-sm py-8 px-8 shadow-md sm:space-y-0 sm:space-x-6 sm:flex sm:py-4 sm:items-center"
|
|
>
|
|
<Basket msg="basket" />
|
|
</div>
|
|
<footer style="margin-top: 2em">
|
|
{{ license }} :
|
|
<a :href="repository" alt="repository">
|
|
<span class="bg-gray-200 hover:(bg-gray-100 text-red-300)">
|
|
{{ version }}
|
|
</span>
|
|
</a>
|
|
</footer>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue'
|
|
import Basket from './Basket.vue'
|
|
declare const APP_TITLE: string,
|
|
APP_VERSION: string,
|
|
APP_REPOSITORY: string,
|
|
APP_LICENSE: string
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
Basket
|
|
},
|
|
setup() {
|
|
return {
|
|
title: APP_TITLE,
|
|
version: APP_VERSION,
|
|
repository: APP_REPOSITORY,
|
|
license: APP_LICENSE,
|
|
subtitle: 'proof of concept'
|
|
}
|
|
}
|
|
})
|
|
</script>
|