Webapp: cosmetic changes: title, favicon, added crude header
This commit is contained in:
parent
b93941e294
commit
062b6ca99d
|
|
@ -2,9 +2,9 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<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" />
|
||||
<title>Vite App</title>
|
||||
<title>GuessNN - Semantic word guesser</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
<template>
|
||||
<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}">
|
||||
<main-component :entities="entities" :concepts="concepts" :target="targetEntity??''"></main-component>
|
||||
<template #error-message>
|
||||
<span>{{ entitiesError }} {{ conceptsError }}</span>
|
||||
</template>
|
||||
</loading-indicator>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -74,6 +81,12 @@ export default defineComponent({
|
|||
|
||||
<style scoped lang="scss">
|
||||
@import "bootstrap/scss/bootstrap";
|
||||
|
||||
header{
|
||||
background-color: #ff6c005e;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.loading {
|
||||
@extend .position-absolute, .top-50, .start-50, .translate-middle;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue