Webapp: cosmetic changes: title, favicon, added crude header
This commit is contained in:
parent
b93941e294
commit
062b6ca99d
|
|
@ -2,9 +2,9 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="node_modules/bootstrap-icons/icons/diagram-2-fill.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Vite App</title>
|
<title>GuessNN - Semantic word guesser</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,18 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<header class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<h1>GuessNN</h1>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
<section class="row">
|
||||||
<loading-indicator :loaded="!isLoading" :error="hasErrors" :class="{'loading': isLoading}">
|
<loading-indicator :loaded="!isLoading" :error="hasErrors" :class="{'loading': isLoading}">
|
||||||
<main-component :entities="entities" :concepts="concepts" :target="targetEntity??''"></main-component>
|
<main-component :entities="entities" :concepts="concepts" :target="targetEntity??''"></main-component>
|
||||||
<template #error-message>
|
<template #error-message>
|
||||||
<span>{{ entitiesError }} {{ conceptsError }}</span>
|
<span>{{ entitiesError }} {{ conceptsError }}</span>
|
||||||
</template>
|
</template>
|
||||||
</loading-indicator>
|
</loading-indicator>
|
||||||
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -74,6 +81,12 @@ export default defineComponent({
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "bootstrap/scss/bootstrap";
|
@import "bootstrap/scss/bootstrap";
|
||||||
|
|
||||||
|
header{
|
||||||
|
background-color: #ff6c005e;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
.loading {
|
.loading {
|
||||||
@extend .position-absolute, .top-50, .start-50, .translate-middle;
|
@extend .position-absolute, .top-50, .start-50, .translate-middle;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue