File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import { IndexeddbPersistence } from "y-indexeddb";
77
88import MiniSearch from " minisearch" ;
99
10+ import logoImg from " url:../../assets/logo.png" ;
11+
1012function waitForSync(provider ) {
1113 return new Promise <void >((resolve ) => {
1214 if (provider .synced ) {
@@ -49,6 +51,7 @@ export default {
4951 });
5052
5153 return {
54+ logoImg ,
5255 database ,
5356 search ,
5457 results: [],
@@ -175,7 +178,7 @@ export default {
175178 <nav class =" navbar navbar-expand-lg navbar-light bg-light" >
176179 <div class =" container-fluid" >
177180 <a class =" navbar-brand" >
178- <img src =" ../../assets/logo.png " alt =" LiaScript" height =" 28" />
181+ <img : src =" logoImg " alt =" LiaScript" height =" 28" />
179182 LiaEdit
180183 </a >
181184
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ import NostrModal from "./Export/Nostr.vue";
2828import EditorWorker from " url:monaco-editor/esm/vs/editor/editor.worker.js" ;
2929import { editor } from " monaco-editor" ;
3030
31+ import logoImg from " url:../../assets/logo.png" ;
32+
3133// @ts-ignore
3234window .MonacoEnvironment = {
3335 getWorkerUrl : function (moduleId , label ) {
@@ -81,6 +83,7 @@ export default {
8183 }
8284
8385 return {
86+ logoImg ,
8487 preview: undefined ,
8588 horizontal:
8689 document .documentElement .clientWidth < document .documentElement .clientHeight ,
@@ -440,11 +443,11 @@ export default {
440443 <nav class =" navbar navbar-expand-lg bg-light" >
441444 <div class =" container-fluid" >
442445 <a v-if =" !embed" class =" navbar-brand" href =" ./" data-link =" true" >
443- <img src =" ../../assets/logo.png " alt =" LiaScript" height =" 28" />
446+ <img : src =" logoImg " alt =" LiaScript" height =" 28" />
444447 <span id =" lia-edit" >LiaEdit</span >
445448 </a >
446449 <span v-else class =" navbar-brand" >
447- <img src =" ../../assets/logo.png " alt =" LiaScript" height =" 28" />
450+ <img : src =" logoImg " alt =" LiaScript" height =" 28" />
448451 <span id =" lia-edit" >LiaDemo</span >
449452 </span >
450453
You can’t perform that action at this time.
0 commit comments