Link best practices, and removed font for faster loading time

This commit is contained in:
2020-05-06 11:48:51 +02:00
parent 705e35e971
commit cc6519c302
3 changed files with 4 additions and 9 deletions

View File

@@ -54,6 +54,7 @@ Element makeShareLink(Element icon, String url) {
..append(Element.a()
..attributes['href'] = url
..attributes['target'] = '_blank'
..attributes['rel'] = 'noreferrer'
..append(icon));
}

View File

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