-Change some strings on home page route
-Change home layout
-Add Material Symbols font
-Add brand logo
This commit is contained in:
Juan Carlos Ruvalcaba 2023-12-05 17:29:58 -07:00
parent 18b78cdfd7
commit 622a815680
5 changed files with 84 additions and 15 deletions

View File

@ -59,3 +59,27 @@
font-feature-settings: "liga";
text-align: center;
}
/* fallback */
@font-face {
font-family: 'Material Symbols Outlined';
font-style: normal;
font-weight: 400;
src: url(../fonts/MaterialSymbols-Outlined.woff2) format('woff2');
}
.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}

Binary file not shown.

View File

@ -10,39 +10,78 @@
<i class="icon material-icons if-md">more</i>
</a>
</div>
<div class="title sliding">Administración de app</div>
<div class="title sliding">
De LeenAuto
</div>
<div class="right">
<a class="link icon-only">
<i class="icon material-icons color-teal">notifications
<span class="badge color-red">5</span>
</i>
<a class="link">
<i class="icon material-icons color-teal">car_rental</i>
<!-- Aanbod -->
</a>
<a class="link icon-only">
<i class="icon material-icons color-orange">task
<span class="badge color-red">3</span>
</i>
<i class="icon material-symbols-outlined color-orange">swap_driving_apps</i>
<!-- Uitlenen -->
</a>
<a class="link icon-only">
<i class="icon material-symbols-outlined color-blue">person_raised_hand</i>
<!-- Hoe het werkt -->
</a>
<a class="link icon-only">
<i class="icon material-symbols-outlined color-red">contact_mail</i>
<!-- Hoe het werkt -->
</a>
<a href="/panel-right/" class="link icon-only">
<i class="icon material-icons">more_vert</i>
</a>
</div>
<div class="title-large">
<div class="title-large-text">Administración de App</div>
<div class="title-large-text">De LeenAuto</div>
</div>
</div>
</div>
<!-- Scrollable page content-->
<div class="page-content">
<div class="block block-strong">
<p>Elija una opción</p>
<img src="./static/brand-logo.jpg" height="67" width="267"/>
<div class="text-align-center">
<p>
<h1>Leen een auto</h1>
Samen maken we de wereld duurzamer.
</p>
</div>
</div>
<div class="block-title">Welke auto's zijn er beschikbaar?</div>
<div class="list block block-outline inset color-yellow" style="background-color: #fcb900;">
<ul>
<li class="item-content item-input">
<div class="item-inner">
<div class="item-input-wrap">
<input type="text" placeholder="Locatie" />
<span class="input-clear-button"></span>
</div>
</div>
</li>
<li class="item-content item-input">
<div class="item-inner">
<div class="item-input-wrap">
<input type="text" placeholder="Datum" />
<span class="input-clear-button"></span>
</div>
</div>
</li>
</ul>
<div class="block">
<p class="grid grid-cols-1 grid-gap">
<a href="#" class="button button-small button-fill color-yellow">Bekijk Beschikbaarheid</a>
</p>
</div>
</div>
<div class="block-title">Navegación</div>
<div class="block block-outline inset list">
<ul>
<li>
<a href="/about/" class="item-content item-link">
<div class="item-inner">
<div class="item-title"><i class="icon f7-icons color-lime">info_circle</i> Acerca de ...</div>
<div class="item-title"><i class="icon f7-icons color-lime">info_circle</i> About ...</div>
</div>
</a>
</li>
@ -58,4 +97,10 @@ export default (props, { $, $f7, $on }) => {
})
return $render;
};
</script>
</script>
<style>
.cont{
display: flex;
flex-wrap: wrap;
}
</style>

View File

@ -14,7 +14,7 @@
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Usuario</div>
<div class="item-title item-label">User</div>
<div class="item-input-wrap">
<i class="icon f7-icons color-blue">person</i>
<span id="menu-username">${displayName}</span>
@ -25,7 +25,7 @@
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Tema claro</div>
<div class="item-title">Light theme</div>
<div class="item-after">
<label class="toggle toggle-init">
<input type="checkbox" id="light-theme" @click=${setTheme} /><i class="toggle-icon"></i>

BIN
src/static/brand-logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB