add netlify logo

master
JFH 2020-12-06 19:17:24 +01:00
parent c992c511bd
commit 12a52208f1
2 changed files with 7 additions and 50 deletions

View File

@ -52,7 +52,7 @@ export class SeMenu extends HTMLElement {
* @returns {void}
*/
attributeChangedCallback (name, oldValue, newValue) {
var image = new Image();
const image = new Image();
if (oldValue === newValue) return;
switch (name) {
case 'src':

View File

@ -84,56 +84,13 @@
<se-menu-item id="tool_docprops" label="Document Properties" shortcut="D" src="./images/docprop.svg"></se-menu-item>
<se-menu-item id="tool_editor_prefs" label="Editor Preferences" src="./images/editPref.svg"></se-menu-item>
<se-menu-item id="tool_editor_homepage" label="SVG-Edit Home Page" src="./images/svg-edit-home.svg"></se-menu-item>
</se-menu>
<!-- <div id="main_button">
<div id="main_icon" class="tool_button" title="Main Menu">
<span>SVG-Edit</span>
<div id="logo"></div>
<div class="dropdown"></div>
<div style="width:50%;margin:auto;">
<a href="https://www.netlify.com">
<img style="height:25px;" src="https://www.netlify.com/img/global/badges/netlify-dark.svg"
alt="Deploys by Netlify" />
</a>
</div>
<div id="main_menu">
<ul>
<li id="tool_clear">
<div></div>
New Image (N)
</li>
<li id="tool_open" style="display:none;">
<div></div>
Open SVG
</li>
<li id="tool_import" style="display:none;">
<div></div>
Import Image
</li>
<li id="tool_save">
<div></div>
Save Image (S)
</li>
<li id="tool_export">
<div></div>
Export
</li>
<li id="tool_docprops">
<div></div>
Document Properties (D)
</li>
<li id="tool_editor_prefs">
<div></div>
Editor Preferences
</li>
<li id="tool_editor_homepage">
<div></div>
SVG-Edit Home Page
</li>
<li style="width:50%;margin:auto;">
<a href="https://www.netlify.com">
<img style="height:25px;" src="https://www.netlify.com/img/global/badges/netlify-dark.svg"
alt="Deploys by Netlify" />
</a>
</li>
</ul>
</div>
</div> -->
</se-menu>
<div id="tools_top">
<div id="editor_panel">