Add explicit size to header image, bump last update date

This commit is contained in:
Lucien Cartier-Tilet 2020-12-21 20:38:24 +01:00
parent 9632b008ac
commit f9e0ffa0eb
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,9 @@ Future<Element> makeHeader() async {
header
..append(Element.img()
..attributes['src'] = image_header
..attributes['alt'] = 'Logo')
..attributes['alt'] = 'Logo'
..attributes['height'] = '150px'
..attributes['width'] = '150px')
..append(querySelector('h1'));
final subt = header.querySelector('.subtitle');
if (subt != null) {
@ -40,7 +42,7 @@ Future<void> linkifyImg() async {
Future<void> reorganizeHtml() async {
final ls = window.localStorage;
final lastUpdate = '20200828';
final lastUpdate = '20201221';
if (ls['last-update'] != lastUpdate) {
ls['last-update'] = lastUpdate;
window.location.reload();