added page for API documentation,

added content for page About
This commit is contained in:
2025-04-13 16:52:19 +02:00
parent 345e70a402
commit 9f9cb76740
10 changed files with 139 additions and 17 deletions

19
webapp/src/views/API.vue Normal file
View File

@ -0,0 +1,19 @@
<template>
<div id="api">
<h1>API</h1>
<p>
API prípojny bod je dostupná na adrese
<a href="{{ api_endpoint }}">{{ api_endpoint }}</a
>.
</p>
</div>
</template>
<script>
export default {
data() {
return {
api_endpoint: window.location.origin + __SUBPATH__ + "api.php",
};
},
};
</script>

View File

@ -1,6 +1,40 @@
<template>
<div>
<h1>O aplikácii</h1>
<router-link to="/">Späť domov</router-link>
<div id="about">
<div>
<h1>O aplikácii</h1>
<img src="public/bugreport.svg" height="100" alt="" />
<h2>Bug Report</h2>
<p>Verzia aplikácie: {{ version }} &nbsp;|&nbsp; Zostavené: {{ build }}</p>
<p>Autor: <a href="mailto:mino@tpsoft.org">Ing. Igor Miňo</a></p>
<p>
Backend:
<a href="https://www.php.net" target="_blank"
><img src="public/php-power-micro.png" alt="" /> PHP 8.2</a
>
&nbsp;|&nbsp; Databaza:
<a href="https://www.sqlite.org" target="_blank"
><img src="public/SQLite370.svg" height="20" alt="" /> SQLite</a
>
&nbsp;|&nbsp; Frontend:
<a href="https://vuejs.org" target="_blank"><img src="public/vue.svg" height="20" alt="" /> Vue 3</a>
</p>
<p>
Zdrojové kódy:
<a href="https://git.tpsoft.org/bugreport" target="_blank"
>https://git.tpsoft.org/bugreport</a
>
</p>
</div>
</div>
</template>
<script>
export default {
data() {
return {
version: __APP_VERSION__,
build: __BUILD_DATE__,
};
},
};
</script>