From 065466864e6b89f7262d9f7f3d9e6b82fe0a7bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Sverre=20Lien=20Sell=C3=A6g?= Date: Wed, 3 Jun 2020 14:08:38 +0200 Subject: [PATCH] update style for mobile --- src/Events.js | 10 +++++----- src/style.css | 28 ++++++++++++++++++++++++++++ src/style.js | 22 ---------------------- 3 files changed, 33 insertions(+), 27 deletions(-) delete mode 100644 src/style.js diff --git a/src/Events.js b/src/Events.js index f52cf29..ff80a3a 100644 --- a/src/Events.js +++ b/src/Events.js @@ -1,7 +1,7 @@ import { useEffect, useState } from 'preact/hooks' -import style from './style.js' const endpoint = 'https://kultar.sout.no/events/' + const fetch_options = {} function Link(props) { @@ -80,7 +80,7 @@ function EventImage({ images }) { const { square = null } = images return ( ) @@ -90,7 +90,7 @@ function EventCard({ event }) { const { name, location, date, ticket_url, event_id } = event const { start: start_date } = date return ( - +

{name}