Add basic hame page styling

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2023-11-10 21:19:45 -07:00
parent 2ed5adb454
commit 7e502fe1ab
3 changed files with 22 additions and 10 deletions

View File

@@ -72,6 +72,11 @@
iosOverlaysWebView: true,
androidOverlaysWebView: false,
},
// Navbar settings
navbar: {
mdCenterTitle: true,
iosCenterTitle: true,
}
};
onMounted(() => {
f7ready(() => {

View File

@@ -3,7 +3,7 @@
<f7-navbar title="Not found" back-link="Back"></f7-navbar>
<f7-block strong inset>
<p>Sorry</p>
<p>Requested content not found.</p>
<p>A.L.V.I.N.N. can find many things, but not the page you've requested.</p>
</f7-block>
</f7-page>
</template>

View File

@@ -1,12 +1,11 @@
<template>
<f7-page name="home">
<!-- Top Navbar -->
<f7-navbar large :sliding="false">
<f7-navbar>
<f7-nav-left>
<f7-link icon-ios="f7:menu" icon-md="material:menu" panel-open="left"></f7-link>
</f7-nav-left>
<f7-nav-title sliding>ALVINN</f7-nav-title>
<f7-nav-title-large>A.L.V.I.N.N.</f7-nav-title-large>
<f7-nav-title sliding>A.L.V.I.N.N.</f7-nav-title>
</f7-navbar>
<!-- Toolbar-->
<f7-toolbar bottom>
@@ -18,12 +17,20 @@
<h2>Anatomy Lab Visual Identification Neural Network</h2>
<h4>Veterinary Anatomy Edition</h4>
<p>Select a region to begin</p>
<f7-row style="display: flex;">
<f7-button text="thorax"></f7-button>
<f7-button text="abdomen"></f7-button>
<f7-button text="limbs"></f7-button>
<f7-button text="head and neck"></f7-button>
</f7-row>
<f7-segmented raised style="flex-wrap: wrap;">
<f7-button style="height: auto; width: auto;">
<img src="../assets/regions/thorax.svg" />
</f7-button>
<f7-button style="height: auto; width: auto;">
<img src="../assets/regions/abdpel.svg" />
</f7-button>
<f7-button style="height: auto; width: auto;">
<img src="../assets/regions/limb.svg" />
</f7-button>
<f7-button style="height: auto; width: auto;">
<img src="../assets/regions/headneck.svg" />
</f7-button>
</f7-segmented>
</div>
<f7-block-title>Navigation</f7-block-title>
<f7-list strong inset dividersIos>