-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"; font-feature-settings: "liga";
text-align: center; 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> <i class="icon material-icons if-md">more</i>
</a> </a>
</div> </div>
<div class="title sliding">Administración de app</div> <div class="title sliding">
De LeenAuto
</div>
<div class="right"> <div class="right">
<a class="link icon-only"> <a class="link">
<i class="icon material-icons color-teal">notifications <i class="icon material-icons color-teal">car_rental</i>
<span class="badge color-red">5</span> <!-- Aanbod -->
</i>
</a> </a>
<a class="link icon-only"> <a class="link icon-only">
<i class="icon material-icons color-orange">task <i class="icon material-symbols-outlined color-orange">swap_driving_apps</i>
<span class="badge color-red">3</span> <!-- Uitlenen -->
</i> </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>
<a href="/panel-right/" class="link icon-only"> <a href="/panel-right/" class="link icon-only">
<i class="icon material-icons">more_vert</i> <i class="icon material-icons">more_vert</i>
</a> </a>
</div> </div>
<div class="title-large"> <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> </div>
</div> </div>
<!-- Scrollable page content--> <!-- Scrollable page content-->
<div class="page-content"> <div class="page-content">
<div class="block block-strong"> <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>
<div class="block-title">Navegación</div>
<div class="block block-outline inset list"> <div class="block block-outline inset list">
<ul> <ul>
<li> <li>
<a href="/about/" class="item-content item-link"> <a href="/about/" class="item-content item-link">
<div class="item-inner"> <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> </div>
</a> </a>
</li> </li>
@ -59,3 +98,9 @@ export default (props, { $, $f7, $on }) => {
return $render; return $render;
}; };
</script> </script>
<style>
.cont{
display: flex;
flex-wrap: wrap;
}
</style>

View File

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