This commit is contained in:
Pablo Ferreiro 2024-10-17 20:26:00 +02:00
parent d6fe70b38e
commit 7468d74b92
3 changed files with 14 additions and 22 deletions

View File

@ -1,3 +1,5 @@
/** Spinner */
.loader {
width: 48px;
height: 48px;

View File

@ -1,6 +1,6 @@
import { createSignal, onCleanup, onMount } from "solid-js";
import { useNavigate } from "@solidjs/router";
import L, { Icon } from 'leaflet';
import L from 'leaflet';
import { FaSolidLocationPin } from "solid-icons/fa";
import Navbar from "../partials/Navbar";
import Api from "../helpers/Api";

View File

@ -17,27 +17,17 @@ function Home() {
<div class="columns is-centered">
<div class="column is-half">
<div class="box">
<div class="columns is-centered is-vcentered is-mobile">
<div class="column is-4">
<figure class="image is-128x128">
{/* TODO: Agregar icono */}
<img src="https://bulma.io/assets/images/placeholders/128x128.png" />
</figure>
</div>
<div class="column is-8">
<p class="title">
<span class="icon-text">
<span class="icon">
<FaSolidGlassWaterDroplet />
</span>
<span>Malackathon</span>
</span>
</p>
<div class="buttons">
<A class="button is-primary" href="/embalses">Todos los embalses</A>
<A class="button is-primary" href="/embalses/nearby">Buscar</A>
</div>
</div>
<p class="title">
<span class="icon-text">
<span class="icon">
<FaSolidGlassWaterDroplet />
</span>
<span>Malackathon</span>
</span>
</p>
<div class="buttons">
<A class="button is-primary" href="/embalses">Todos los embalses</A>
<A class="button is-primary" href="/embalses/nearby">Buscar</A>
</div>
</div>
</div>