Header image now easier to change, no need to modify source code

This commit is contained in:
Lucien Cartier-Tilet 2020-05-21 08:29:59 +02:00
parent 9725e24b38
commit 08b8116f6f
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -2,8 +2,7 @@ import 'dart:html';
import './navbar.dart' show makeNavbar; import './navbar.dart' show makeNavbar;
const image_header = const image_header = '/img/icon.png';
'https://phundrak.fra1.cdn.digitaloceanspaces.com/img/mahakala-monochrome.png';
Future<Element> makeHeader() async { Future<Element> makeHeader() async {
var header = Element.tag('header'); var header = Element.tag('header');