radames commited on
Commit
09c29e4
β€’
1 Parent(s): 0361319
frontend/src/app.html CHANGED
@@ -7,7 +7,7 @@
7
  <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
8
  %sveltekit.head%
9
  </head>
10
- <body>
11
  <div>%sveltekit.body%</div>
12
  </body>
13
  </html>
 
7
  <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
8
  %sveltekit.head%
9
  </head>
10
+ <body class="dark:bg-slate-800">
11
  <div>%sveltekit.body%</div>
12
  </body>
13
  </html>
frontend/src/lib/Result.svelte CHANGED
@@ -25,7 +25,7 @@
25
  copyState = true;
26
  setTimeout(() => (copyState = false), 1000);
27
  console.log('Fetched image copied.');
28
- } catch (err: DomToImageError) {
29
  console.log(err.name, err.message);
30
  }
31
  }
 
25
  copyState = true;
26
  setTimeout(() => (copyState = false), 1000);
27
  console.log('Fetched image copied.');
28
+ } catch (err) {
29
  console.log(err.name, err.message);
30
  }
31
  }
frontend/src/lib/assets/image1.jpg DELETED
Binary file (38.5 kB)
 
frontend/svelte.config.js CHANGED
@@ -14,7 +14,7 @@ const config = {
14
 
15
  kit: {
16
  paths: {
17
- base: dev ? '/static' : '/embed/huggingface-projects/wordalle/static',
18
  },
19
  adapter: adapter({
20
  pages: 'build',
 
14
 
15
  kit: {
16
  paths: {
17
+ base: dev ? '/static' : '/embed/huggingface-projects/wordalle/static'
18
  },
19
  adapter: adapter({
20
  pages: 'build',