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 { .loader {
width: 48px; width: 48px;
height: 48px; height: 48px;

View File

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

View File

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