nuke some leftover traces of googlefonts

pull/144/head
Lukas F. Hartmann 2020-11-24 20:15:13 +01:00
parent 0e97945b95
commit 16e926b76a
No known key found for this signature in database
GPG Key ID: 376511EB67AD7BAF
2 changed files with 5 additions and 10 deletions

View File

@ -103,7 +103,7 @@ function render_space_as_html(space, artifacts) {
walk(dom("#space")[0],0);
//console.log("compiled template: \n"+compiled_js);
}
// --------
var mouse_state = "idle";
var active_tool = "pointer";
@ -136,14 +136,13 @@ function render_space_as_html(space, artifacts) {
} catch (e) {
console.error("error rendering space "+space._id+" as html: "+e);
}
var style="html, body, #space { overflow: visible !important; }\n";
style+=".wrapper { border: none !important; }\n";
h='<html>\n<head>\n<link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,700,600,800,300|Montserrat:400,700|EB+Garamond|Vollkorn|Fire+Sans|Lato|Roboto|Source+Code+Pro|Ubuntu|Raleway|Playfair+Display|Crimson+Text" rel="stylesheet" type="text/css">\n<link type="text/css" rel="stylesheet" href="https://fast.fonts.net/cssapi/ee1a3484-4d98-4f9f-9f55-020a7b37f3c5.css"/>\n<link rel="stylesheet" href="/stylesheets/style.css"><style>'+style+'</style>\n</head>\n<body id="main">\n'+h+"\n</html>\n";
h='<html>\n<head>\n<link rel="stylesheet" href="/stylesheets/style.css"><style>'+style+'</style>\n</head>\n<body id="main">\n'+h+"\n</html>\n";
return h;
}
exports.render_space_as_html = render_space_as_html;

View File

@ -7,15 +7,11 @@
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link href="/images/favicon.png" rel="icon" type="image/x-icon" />
<link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/stylesheets/style.css">
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
<script>
//window.browser_lang = '< %= locale %>';
var ENV = {
name: 'development',
webHost: location.host,
@ -59,7 +55,7 @@
<script src="/javascripts/spacedeck_whiteboard.js"></script>
<script src="/javascripts/spacedeck_directives.js"></script>
<script src="/javascripts/spacedeck_vue.js"></script>
<script>if (window.module) module = window.module;</script>
</head>
@ -86,6 +82,6 @@
window.locales.de.translation = <%- include("./../locales/de.js") %>;
window.locales.fr.translation = <%- include("./../locales/fr.js") %>;
window.locales.oc.translation = <%- include("./../locales/oc.js") %>;
window.locales.es.translation = <%- include("./../locales/es.js") %>;
window.locales.es.translation = <%- include("./../locales/es.js") %>;
</script>
</html>